Repository navigation
test(browser): let render-crash's phone case wait for the drawer's history entry to clear - #4162
Conversation
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.
|
No actionable comments were generated in the recent review. Summary
Merge Risk:
|
|
Merged through 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. |
… 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.
Summary
render-crash-demo-regression(quarantined until 2026-12-18) failed its first attempt in CI on the phone case: Retrycrashed again. The case removed
?crash=panewhile the drawer's history entry was still being popped, and the pendingBack 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) andgjc-status-browser-regression(cause not captured; itstimeout diagnostic from #4154 will name it on the next failure).
Validation
herdr-ci-runner:localon hosthatch,BROWSER_RETRY=0), 10 passes: 10/10.bun run check fast: green.