Repository navigation
test(planning): wait for the delivery before the queued-note check in ui_journey 13 - #8575
Conversation
… ui_journey 13 Phase 13 slept 300 ms after delivering the first note, then expected the second note's toast to say "Queued, Claude is busy". The toast reads the page's own state (an unhandled event marked delivered), so when the page had not yet applied the delivered state the toast had no suffix and the check failed. Wait until #workLine reads "Claude is working on", which the page renders from the same condition queued() checks. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WyWcv2NwzrPQ4dChfwFjM7
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-security-review reviewed No security findings. The PR changes two files: a changelog fragment ( |
|
claude-review reviewed No findings on PR #8575; I posted no inline comments. Wait condition: the replacement for Helper: Fragment: Closing issue: none is linked. The body states Verification: I did not run the test. The local runs (3/3 passes, 239 checks) and |
No related issue: a test flake found in merge-queue run 39378456368, which ejected an unrelated PR (#8110) from the queue.
Summary
ui_journey phase 13 ("a save while a wake is in flight says queued, Claude is busy") failed in the merge queue with an empty toast (
FAIL: ui_journey.13 … []) and passed elsewhere. It slept a fixed 300 ms and hoped the page had applied the delivered state by then.Fix
plugins/planning/surface/tests/ui_journey.js:621: thewaitForTimeout(300)is replaced by a bounded wait (5 s, the test's existinguntilhelper) for#workLineto readClaude is working on. The page renders that line from the same conditionqueued()reads for the "Queued, Claude is busy" suffix (S.online && !stalled() && pending().some(delivered);index.html:632,:881-889,:921-922). The page keepsSin a closure, so#workLineis where that state shows. The assertion is unchanged..changes/planning/fix-planning-ui-journey-13-wait-1f3f108c.md: abump: nonefragment (the fragment gate counts every file underplugins/<name>/).Verification
surface-journey.test.sh: 3/3 local runs passed, 239 checks each, toast "Sent. Claude's reply lands here. Queued, Claude is busy."scripts/check-affected.sh --tests: 11 passed, 3 skipped.untilreturns quietly at its limit and the unchanged assertion then decides.Related
🤖 Generated with Claude Code
https://claude.ai/code/session_01WyWcv2NwzrPQ4dChfwFjM7