Repository navigation
test(prototype): wait for the frame's Esc to reach the host - #16692
Conversation
The frame relays Esc to the host page by postMessage, so the host clears pick mode one task later. The harness read aria-pressed at once and failed when the message had not landed yet (main run 44005379679, attempt 1; attempt 2 passed). Wait up to 5 s for the attribute instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review Summary: ✅ CompletedThis 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 Security review: no security issues foundI read both changed files in full:
The change touches no trust control, workflow, token, secret, manifest or standing instruction, and matches none of the trusted paths. No new spend. critical-findings: 0 |
|
claude-review reviewed Code review: PR #16692 (head 96a94f5)No findings. I read both changed files in full. What changed. Correctness checks
Changelog fragment. Closing issue. None. The PR only says Verification. The 10-of-10 local runs in the PR description are the author's claim, and I haven't checked them. I ran no tests. Verifier dropped 0 of 0 candidates. |
|
The pr-verify verifier failed head This pull request leaves the merge queue, and ci-status holds it out while it carries |
Post-merge mutation testingKilled 1, survived 1, timeout 0, no coverage 0, invalid 0, not run 0.
Surviving mutants
The run's summary has the full report. |
No related issue: a test-only fix for one flaky check that turned main red (run 44005379679 attempt 1); the incident the monitoring lane filed for it, #16690, carries no spec text and closes itself once main stays green.
Summary
harness-browser.test.shfailed once on main ("FAIL Esc in the frame ends pick mode"); attempt 2 of the same run passed on the same commit. This PR removes the race behind that failure. Nothing else is in scope.Fix
The frame relays Esc to the host page by postMessage (
plugins/prototype/notes-bridge/host.htmlmessage listener), so the host clears pick mode one task later. The harness readaria-pressedat once. It now waits up to 5 s for#pick[aria-pressed="false"]and records a FAIL if it never comes, so the check still fails when Esc does not end pick mode.Verification
Related
🤖 Generated with Claude Code