Repository navigation
Search connected tasks by keyword from Cmd+J - #28617
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Priority: ➖ Normal Merge Risk: ⚪ Minimal · up to
|
…anges The full sharded E2E run on main fails these specs on every run because they still expect the product's old behavior: - Cmd+J placeholder now names tasks (stablyai#28617) - toaster base z-index is 47, above the floating workspace (stablyai#28068) - the profile-delay warning has the app toaster's close button (stablyai#28900) - the worktree meta dialog is titled "Workspace details" - an editable CSV renders as an ARIA grid, not a table - a host whose search is off sends the vault box to title-only (stablyai#22453) Co-Authored-By: Claude Opus 5.5 <[email protected]>
ELI5
Type a few words of an issue title in Cmd+J to find connected Jira, Linear, GitHub, and GitLab tasks. Open a linked workspace or its task details with Enter; use Cmd+Enter on macOS or Ctrl+Enter elsewhere to start a workspace from the selected task.
What Changed
Previously, keyword searches only found local palette targets, so an unlinked issue required a detour through Tasks. A separate Tasks group now uses the existing provider search APIs after a short debounce, while local results remain immediately available. Results arrive independently, keep their host/site/account identity, ignore obsolete responses, and retain successful sources when another source fails. Repository and host filters apply to searches; Jira for SSH repositories stays on the desktop credential host, while runtime-owned Jira stays remote. Account searches receive the host already captured by the palette and use explicit target entry points in the existing clients, so changing the default host cannot redirect an in-flight search.
Task selection reuses existing workspace activation, Tasks detail, and workspace composer flows. A linked folder workspace can also be activated. A late task result replaces the default create action only while the user has not moved the selection.
Why
This keeps task discovery in the existing navigation flow. Reusing provider clients and workspace actions preserves authentication, remote ownership, and task-link behavior without adding another search backend or creation dialog. Limited request concurrency and result counts keep large repository lists bounded.
Linked Issue
Fixes #24154
Visual Proof
Hidden macOS Electron renderer with example Jira fixtures; no live provider authentication is implied. Same keyword query before and after:
Testing
The latest focused runs pass 66 tests across eight suites, covering debounce, incremental results, stale/closed requests, failure/retry, provider routing, account/site collisions, linked folder activation, and exact composer task identity. Captured-host regressions keep both Jira and Linear on their original account host if the default host changes during status loading, and reject late results after the palette owner changes. Selecting several SSH hosts still produces one desktop Jira query, while runtime Jira remains remote.
Task selection now lives in a focused hook so the existing selection module stays within the file-size limit. The five new English messages and updated search hints are included in the canonical catalog; the runtime catalog, extraction, and coverage gates pass. Changed-code quality passes across all 24 changed source files, including type-aware checks, React Doctor, and design-system checks. The focus-read gate passes without raising its baseline. Formatting, staged lint checks, and
git diff --checkpass.The branch includes the audited main snapshot
9c0420fa9ab3, which contains the former clock prerequisite #28593. Node and renderer typechecks pass for the exact published head; source hashes match before and after both checks. New GitHub checks are pending; no CI pass is claimed.For manual verification, open Cmd+J, search at least two plain-text characters from an issue title, and confirm local matches appear while provider searches run. Enter should open the linked workspace or the task detail. Cmd/Ctrl+Enter should open the existing composer with that task attached. Hidden CDP checks exercised Jira keyword results, Enter detail opening, and real Meta+Enter composer opening on macOS with fixtures. Live-provider, Linux, Windows, and remote-host end-to-end checks were not performed.
Review
Self-reviewed query lifetime, keyboard/platform handling, source ownership, account/site collisions, folder workspaces, and bounded searches. Separate request, activation, and selection-lifecycle review found no remaining code defect after the SSH correction. Exact-head node/renderer typechecks pass. GitHub CI remains pending. Merge risk: Low, with asynchronous selection and owner identity covered by scoped regressions and the existing rendered flow. This change adapts existing Orca flows and copies no external contributor PR or upstream implementation.
Agent skill upstream boundary
Notes
No IPC or remote wire change. Existing runtime APIs preserve compatibility with older hosts. Merge risk is the added asynchronous selection path; local selection and existing activation actions are retained, with request-lifetime and identity regressions covering the new behavior.
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)