Repository navigation
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
✅ Deterministic PR hygiene checks passed. |
✅ READY
UI screenshot waived by a maintainer comment. Hygiene✅ Deterministic PR hygiene checks passed. |
|
No GUI changes: only the target-switch test harness is changed, with no rendered component or production UI change. Verified the single-file diff at 87a04ca. Apply the repository-supported OWNER screenshot false-positive override; no CI requirement is waived. Upstream review is lidge-jun#8592. This is the isolated repair for the account-pool target-switch timing failure in #817. |
|
No description provided. |
Summary
The account-pool target-switch regression test can inspect the old render before React commits the requested target. Fork CI observed two reads instead of three in the in-flight-count case, and the same failure reproduced locally.
Wait for the probe's layout-effect callback before taking the post-switch observation. The old response is still released inside that layout effect, preserving the race before passive effects that the test is meant to cover. No production UI, account behavior, timeout or assertion changes.
Verification
bun test tests/codex-account-pool-target-switch.test.tsxingui/: 13 pass, 0 fail, 86 assertions, Bun 1.4.4.bun run buildingui/: passed (TypeScript and standard/classic Vite bundles).git diff --check: passed.Checklist