Prevent unscoped GitHub task queries for SSH repos (#2506)

* fix: prevent unscoped ssh github task queries

Co-authored-by: Orca <help@stably.ai>

* test: update worktree card context menu mock

Co-authored-by: Orca <help@stably.ai>

---------

Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
Jinwoo Hong
2026-05-21 04:23:59 -04:00
committed by GitHub
co-authored by Orca
parent 9adf9058e9
commit fbf53aa4cc
3 changed files with 80 additions and 28 deletions
@@ -57,6 +57,7 @@ vi.mock('./SshDisconnectedDialog', () => ({
vi.mock('./WorktreeContextMenu', () => ({
default: ({ children }: { children: ReactNode }) => <>{children}</>,
CLOSE_ALL_CONTEXT_MENUS_EVENT: 'orca:test-close-context-menus',
WORKTREE_NATIVE_CONTEXT_MENU_ATTR: 'data-worktree-native-context-menu',
WORKTREE_CONTEXT_MENU_SCOPE_ATTR: 'data-orca-context-menu-scope'
}))