You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test(web): take upstream's fix for the flaky OpenInPicker announcement test - #1150
apps/web/src/components/chat/OpenInPicker.browser.test.tsx flakes in J5 CI: "speaks only after the shortcut opened the editor, from the picker or the fallback" fails with expected 'Opened in VS Code' to be ''. It failed on j5/main at 6149e83 and on #1148, and both passed on rerun. The test before it opens an editor successfully, which schedules a real 250 ms announce() that fires during the next test.
Fix
This cherry-picks upstream's own fix, pingdotgg#33139 (920ffcdd04, merged 2026-11-09). It's two test-only lines: the preceding test's openUrl resolves false, so nothing is announced. The commit keeps its upstream author, and -x records the source.
There's no FORK.md entry: this is upstream's own commit, and the next advance brings it in unchanged. Upstream's separate vi.advanceTimersByTime(250) change (pingdotgg#31676) is deliberately not taken.
Checklist
One concern
Tests: test-only change; the file passes locally (3/3)
UI changes: none
Live testing: not applicable (test-only)
Upstream-owned files: the file is upstream's. The change is upstream's own commit, so it arrives again at the next advance and needs no FORK.md entry.
Upstream product: unchanged
Surfaces: none
Docs: none
Cherry-picked by Claude Opus 5.5 in Claude Code (J5 Code).
This test-only change stabilizes a flaky browser test by preventing a stray announcement timer from firing during a later test. It has no production impact and is low risk to merge.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title names a test-only change to the OpenInPicker browser test, which matches the raw summary (first openUrl call resolves false). It is specific, but it says 'take upstream's fix' rather than de…
Description check
The description follows the template's Problem, What changed, Live testing, Upstream impact and Checklist sections. The Problem section explains the flake and links the failing test. The Fix section d…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title names a test-only change to the OpenInPicker browser test, which matches the raw summary (first openUrl call resolves false). It is specific, but it says 'take upstream's fix' rather than describing the fix itself, so it only partly states the change. It is not generic and does not describe unrelated work.
Full details: Description check
Explanation
The description follows the template's Problem, What changed, Live testing, Upstream impact and Checklist sections. The Problem section explains the flake and links the failing test. The Fix section describes the two-line test change and the upstream cherry-pick. The UI changes section is omitted, which the template allows because it applies only to UI changes. The Live testing section says it is not applicable. The Upstream impact section explains why no FORK.md entry is needed. The Problem section does not include a 'Closes #123' issue link, but the template requires one only for a tracking issue, and the PR links #1148 and upstream #33139 instead. The description has no 'Live testing' or 'Upstream impact' headings with exact template names, and it uses a Fix heading in place of What changed. These are minor deviations.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Included review availability: This review used your included allowance. 2 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 3 reviews per hour.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
size:XS0-9 effective changed lines (test files excluded in mixed PRs).vouch:trustedAuthor is trusted by repo permissions or the VOUCHED list.
2 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
apps/web/src/components/chat/OpenInPicker.browser.test.tsxflakes in J5 CI: "speaks only after the shortcut opened the editor, from the picker or the fallback" fails withexpected 'Opened in VS Code' to be ''. It failed on j5/main at 6149e83 and on #1148, and both passed on rerun. The test before it opens an editor successfully, which schedules a real 250 msannounce()that fires during the next test.Fix
This cherry-picks upstream's own fix, pingdotgg#33139 (
920ffcdd04, merged 2026-11-09). It's two test-only lines: the preceding test'sopenUrlresolvesfalse, so nothing is announced. The commit keeps its upstream author, and-xrecords the source.There's no FORK.md entry: this is upstream's own commit, and the next advance brings it in unchanged. Upstream's separate
vi.advanceTimersByTime(250)change (pingdotgg#31676) is deliberately not taken.Checklist
Cherry-picked by Claude Opus 5.5 in Claude Code (J5 Code).
🤖 Generated with Claude Code