Repository navigation
test(ui): await MCP cancellation network evidence - #131690
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Land-ready proof for Exact-head CI 33158538181 and its required openclaw/ci-gate passed. Real Linux Node 24.19.0 / Chromium 144 proof used Testbox run 33156274663, lease Results: conformance 2/2 in original order; all five scenarios recorded one failed POST, one cancellation notification, and zero late replies; history completed and cleanup was empty. Siblings passed 91/91; runtime cancellation passed 3/3 (102 unrelated cases filtered out); full changed gate passed. Terminal command logs and inspected artifacts establish these results, not the lease-cleanup workflow conclusion. The delayed genuine-event control failed before/pass after; dropped-cancellation control still failed. Both controls were removed. The natural intermittent race was not reproduced on demand; the original CI failure is linked in the PR body. Limits: no screenshots because no product UI/runtime behavior changes. Optional recording lacked Playwright ffmpeg. This is real Gateway/browser/stdio/official App proof with a source-mounted component, not full-dashboard or BFCache proof; ordinary history is not BFCache. ClawSweeper remains at review_started, with no actual findings or Rank-up moves published. The maintainer explicitly approved landing with the verified gates above; the pending publisher is not an independent approval requirement. Live rules require CI and no independent review approval. No enforced rule or approval bypass is being used. |
|
Merged via squash.
|
What Problem This Solves
Resolves a release-verification failure where the real MCP App browser conformance test reports no cancelled HTTP request even though cancellation has reached the MCP server. Full Release Validation exposed the failure in the real-Gateway UI job.
Why This Change Was Made
The fixture's stdio records and Playwright's browser network events arrive on independent channels. Completing the upstream fixture is not a delivery barrier for the browser's
requestfailedcallback. Await the existing per-scenario failed-POST observation with the suite's existing polling defaults, retaining the exact count of one.There is no production, fixture, timeout, retry, dependency, configuration, or storage change. Cancellation notification correlation, late-reply suppression, subsequent connection reuse, composed operation budgets, and browser-history assertions remain intact. The synchronous assertion originated in PR #119388 — own standalone MCP App request lifetimes, authored by @tzy-17 and merged by @steipete on August 28.
User Impact
No product behavior changes. Release CI now waits for the browser evidence it is asserting instead of treating unrelated fixture progress as synchronous network-event delivery.
Evidence
setImmediate: the old assertion failed with zero versus one, while the fix passed both tests and all five cancellation scenarios. Fetch, HTTP, SDK, and producer results were not mocked.tbx_01m13re1xw8ewv18rzpmjef5pw. Wrapper terminal results, not the lease-cleanup workflow conclusion, establish test outcomes.The full changed gate passed, including core-test typechecking, lint, format, and guards; exact-head hosted CI remains required before landing. The proof lease was stopped and cleanup verified. Optional recording was unavailable because the Testbox lacked Playwright's ffmpeg bundle; no screenshots/video or full-dashboard proof is claimed. The real Gateway, browser, stdio server, and official MCP App are exercised. Ordinary history is not BFCache proof.
Production LOC: +0/-0. Tests: +8/-5 (net +3). AI-assisted maintainer-requested CI repair; no changelog change.