Repository navigation
test: refresh paired palette host-qualified row locators - #19175
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 5 remain after this review. 📝 WalkthroughWalkthroughThe end-to-end test imports Merge Risk: ⚪ Minimal · up to The paired Cmd+J test now selects host-qualified browser and simulator rows using encoded identities, preserving coverage for local and remote entries without a remaining concrete merge risk. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Description checkExplanation The description explains the failure, the fix, preserved assertions, and validation evidence. However, it does not follow the required template and omits the ELI5, What Changed, Why, Linked Issue, Visual Proof, Testing checklist, Review, boundary, Notes, and Checklist sections. It also does not provide a linked issue in the required format. Resolution Rewrite the description using all required template sections. Add an ELI5 summary, explicit change and rationale sections, a valid linked issue such as
✨ Finishing Touches📝 Generate docstrings
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
- Host-qualified palette row locators — the paired Cmd-J scenario now computes the four browser/simulator row identities via
encodePaletteIdentityand uses them in the[cmdk-item][data-value=…]locators, replacing the stale barebrowser-page:${pageId}/simulator-tab:${tabId}format.
I verified each encoded identity against production: the browser parts/order (browser-page, host, worktree, workspace, page) match browser-palette-search.ts baseResult, and the simulator parts/order (simulator-tab, host, worktree, tab) match simulator-palette-search.ts. The local host id ('local') lines up with LOCAL_EXECUTION_HOST_ID, and the remote host (runtime:…) is the same remoteHostId the test already asserts as each tab's executionHostId. Same-ID collision checks, exact row counts, group/tab routing assertions, and screenshots are all preserved, and the assertions remain exact (toHaveCount(1) on the fully-qualified data-value), so the test still fails loudly rather than passing if the identity encoding drifts.
DeepSeek Pro (free via Pullfrog for OSS) | 𝕏
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
- Merge of current main (
1f24b7c) — the only new commit since the prior review. Relative to its parent, it removes a duplicateunifiedTabsByWorktreefrom the browser-page entries argument list and dependency array insrc/renderer/src/components/use-worktree-jump-palette-open-tabs.ts, a main-side memoization cleanup that does not change what the palette renders. The reviewed test file is unchanged (identical diff), so the prior review's conclusions stand.
DeepSeek Pro (free via Pullfrog for OSS) | 𝕏

The paired Cmd-J scenario still selects rows using bare browser-page and simulator-tab IDs. Current palette rows encode the execution host, worktree, and page/tab identity, so the original test fails to find a visible browser result on merged main.
Use the existing identity encoder for all four local/remote browser and simulator rows. Preserve the same-ID collision checks, exact row counts, selected group/tab assertions, and rendered evidence.
Validation: lint passed. Baseline failure: https://github.com/stablyai/orca/actions/runs/34073273965. The original scenario with corrected locators passed: https://github.com/stablyai/orca/actions/runs/34073581600. Three executions passed with zero skips and retries (downloaded JSON independently verified) at https://github.com/stablyai/orca/actions/runs/34073877276; current PR CI is https://github.com/stablyai/orca/actions/runs/34073853970.