Skip to content

test(browser): let render-crash's phone case wait for the drawer's history entry to clear - #4162

Merged
devswha merged 1 commit into
mainfrom
fix/q1218-group-c
Nov 18, 2026
Merged

devswha merged 1 commit into
mainfrom
fix/q1218-group-c

Conversation

@devswha

@devswha devswha commented Nov 18, 2026

Copy link
Copy Markdown
Owner

Summary

render-crash-demo-regression (quarantined until 2026-12-18) failed its first attempt in CI on the phone case: Retry
crashed again. The case removed ?crash=pane while the drawer's history entry was still being popped, and the pending
Back restored the URL with the flag, so the next render crashed again. The phone case now waits for the drawer's
history entry to clear before it removes the flag. Test-only; the entry leaves the browser quarantine.

Two other scripts in the same cause group (pane activation and status propagation) stay quarantined, and the lead has
them: phone-worktree-sheet-regression (a likely app race between a pending sheet Back and the new pane URL,
src/lib/sheetHistory.ts, src/lib/useAddressBar.ts) and gjc-status-browser-regression (cause not captured; its
timeout diagnostic from #4154 will name it on the next failure).

Validation

  • CI runner image (herdr-ci-runner:local on hosthatch, BROWSER_RETRY=0), 10 passes: 10/10.
  • bun run check fast: green.
  • Not run: the other browser scripts (CI runs them on this PR).

render-crash-demo-regression: November 15-17 CI first attempts timed out
waiting 30000 ms for .pane-frame.is-current, a selector shared by
several scenes. In the phone Retry scene, closing the drawer removes
.is-open before sheetHistory's asynchronous Back lands. That Back can
restore ?crash=pane after the script clears it, and Retry then throws
again. Wait for the drawer's history entry before tapping outside and
for it to be gone before clearing the probe. Remove its quarantine.

gjc-status-browser-regression: November 13-18 CI timed out at line 36
waiting for browser idle after the native ask's tool result and final
answer. WS and HTTP already reported DONE. The browser marks DONE as
read only after the current chat content is presented; the failed
artifacts do not identify which part of that path failed. Leave it in
quarantine without changing the assertion.

phone-worktree-sheet-regression: November 16-17 recovered first
attempts timed out after 10000 ms waiting for the created pane's URL
(line 73) after passing the agent-list stroke. The app can publish the
new address as the roster arrives during a pending sheet Back, then
ignore the Back that restores the old address. Leave the existing test
and quarantine in place for app-side investigation.
@coderabbitai

coderabbitai Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • Bug Fixes
    • Improved the phone pane-recovery test by waiting for workspace history to clear before retrying the pane.
  • Chores
    • Removed the regression script from the browser-test quarantine list.

The phone pane-crash regression test now checks drawer history state before retrying the pane. The script’s browser quarantine entry was removed.

Changes: Phone pane-crash regression

Layer / File(s) Summary
Drawer history waits and quarantine removal
scripts/render-crash-demo-regression.ts, scripts/ci-browser-quarantine.ts
The test waits for SHEET_HISTORY_KEY to become a string after opening the workspace list, then waits for it to become undefined after closing the drawer. The script’s quarantine entry was removed.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other · Severity of issue fixed: Low

Possibly related issues

Possibly related PRs

  • devswha/ovis#4110 — It changes how browser-lane retry passes are handled when a script has no active quarantine entry.
Merge Risk: Minimal · up to 8d9a5

This only makes a browser regression test wait for the drawer's history entry to clear before retrying, and it re-enables the test in CI. It has no production impact and I found no concrete merge risk.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: the phone case in render-crash's browser test now waits for the drawer's history entry to clear. It is specific and matches the raw summary and objectives. Test-only c…
Description check Passed The description states the problem (the phone case removed ?crash=pane while the drawer's history entry was still being popped, so a pending Back restored the flag and Retry crashed). It explains the …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: the phone case in render-crash's browser test now waits for the drawer's history entry to clear. It is specific and matches the raw summary and objectives. Test-only change, scoped to one script.

Full details: Description check

Explanation

The description states the problem (the phone case removed ?crash=pane while the drawer's history entry was still being popped, so a pending Back restored the flag and Retry crashed). It explains the fix, the quarantine change, and the two remaining quarantined scripts. Validation lists the runner image, 10/10 passes, and bun run check fast. It follows the template's Change and Validation sections, though it does not reference CONTRIBUTING.md or a changelog.d/ entry, and the Change section does not link an issue.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
Fix failing CI checks

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 9bc69ae and 8d9a570.

Files selected for processing: 2

  • scripts/ci-browser-quarantine.ts
  • scripts/render-crash-demo-regression.ts
Files with no reviewable changes: 1

  • scripts/ci-browser-quarantine.ts

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 6 remain after this review.

@devswha
devswha merged commit 9e2945e into main Nov 18, 2026
25 of 27 checks passed
@devswha

devswha commented Nov 18, 2026

Copy link
Copy Markdown
Owner Author

Merged through pr-merge at head 8d9a57034. Seen before the merge was asked for: required checks green, no unresolved thread, no conflict, no hold, main not red, no release in progress. CodeRabbit reviewed this head.

Test-only: render-crash's phone case waits for the drawer's history entry to clear before removing ?crash=pane; its quarantine entry is removed. Reviews: dori review CLEAR at 8d9a570; CodeRabbit on this PR. Merged by the lane on the lead's standing word (t10k). Evidence: 10/10 in the CI runner image, check fast green; the CI flake on its first run was touch-burst-history, fixed separately.

@devswha
devswha deleted the fix/q1218-group-c branch November 18, 2026 19:02
devswha added a commit that referenced this pull request Nov 18, 2026
… at a detach is lost (#4174) (#4175)

## Summary

`terminal-touch-burst-history-regression` goes back into the browser
quarantine until 2026-12-18, citing #4174. It flaked in CI (#4162's run
44370618553): of 6 wheel reports sent before a voluntary detach, the
application received 1. That is a server bug, not a test race: input the
server already accepted is lost when the last viewer detaches, and typed
keys are lost the same way (#4174). A test-side wait (#4173, closed)
would have hidden it. The server fix comes in its own PR and removes
this entry again once verified.

## Validation

- `bun test scripts/ci-browser-parallel.test.ts -t quarantine`: 4/4.
- `bun run check fast`: green.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant