Repository navigation
fix(ci): provision Chromium for A-K live validation - #163178
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. Reviewed October 1, 2026, 10:45 PM ET / October 2, 2026, 02:45 UTC. ClawSweeper reviewWhat this changesThe PR installs Chromium and its Linux dependencies before browser-backed A–K plugin live tests and adds a workflow selection-and-ordering assertion. Merge readiness✅ Ready for maintainer review Keep open: this focused repair remains necessary on current main, and no introduced correctness or security defect was found. The member-authored PR is also protected from automatic cleanup. Priority: P2 Review scores
Verification
How this fits togetherFull Release Validation selects plugin live-test groups and prepares isolated Linux jobs before running them. The A–K group includes browser tests that need a locally installed Chromium executable. flowchart TD
A[Release validation inputs] --> B[Select live test group]
B --> C[Set up Node and dependencies]
C --> D{A–K group selected?}
D -->|Yes| E[Install Chromium and Linux dependencies]
D -->|No| F[Hydrate live credentials]
E --> F
F --> G[Run selected live tests]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests +16, Config +4. Total +20 across 2 files. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Use the existing pinned Playwright installer in the isolated A–K job so browser prerequisites are ready before live tests begin. Do we have a high-confidence way to reproduce the issue? Yes, source establishes the prerequisite gap: A–K selects tests that launch Chromium, while its clean media container and current-main job do not install it. This review did not execute the failing path. Is this the best way to solve the issue? Yes, the patch follows the existing browser-installation pattern and places it in the separate job that needs it, with matching selection and ordering. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 949f3f52121b. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
* ci(release): install Chromium for A-K live tests (#163178) (cherry picked from commit 9ce1498) * ci(release): pin reachable live provider models (#163177) (cherry picked from commit 0fa2ddd) * test(opencode): refresh free live tool model (#163470) Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: vincentkoc <[email protected]> (cherry picked from commit cd7c2d2) * test: synchronize Telegram recorder failure admission Gate the synthetic control timeline on the recorder's durable failure receipt so slow filesystem publication cannot overtake the intended failure precondition. Preserve every assertion and align the touched fixture with the existing lint rules. (cherry picked from commit 0dfb96f) * fix(ui): reconcile end after layout correction (#166261) (cherry picked from commit 51f772a) * fix(ci): forward live video provider credentials (#164317) Co-authored-by: Peter Steinberger <[email protected]> (cherry picked from commit d0ce76b) * fix(security): backport MCP dependency advisory fix (cherry picked from commit c39d9b0) * fix(test): make live qualification waits event driven * fix(test): Gateway e2e connect fails with 1006 when another fixture takes the instance port (#163003) gateway-cold-agent-abort intermittently failed with `gateway closed during connect (1006)` about 260 ms into the test, too early for its own cold Gateway child to have answered readiness. OpenClawTestInstance claims its port block and releases its reservation listener right before spawning the child. In-process Gateway fixtures picked ports with getGatewayE2ePortBlock(), a probe that released its claim before returning, and then started a Gateway whose listener retries EADDRINUSE every 500 ms. A fixture that probed the same candidate just before the instance claimed it won the port at the handoff, and the instance's /readyz was answered by that foreign Gateway (1006 while it closed, token mismatch while alive). getGatewayE2ePortBlock is removed. acquireGatewayE2ePortBlock (beside startClaimedGateway) returns a held claim, and every caller keeps it until the Gateway or server bound to that port has closed, including same-port restarts, unstarted-claim guards, and listener-specific release in the MCP App conformance fixture. Kernel-assigned port-0 binders stay out of scope (the Linux pool excludes the ephemeral range). The test instance gains bounded post-start diagnostics (diagnose(), responder uptime vs child age, Linux listener owners, handshake stage in the close error). Regression: an instance whose first candidate is an in-process Gateway E2E port must allocate a different port (fails on the probe-only helper). (cherry picked from commit 8095d77) --------- Co-authored-by: RoboClaw <[email protected]> Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: vincentkoc <[email protected]> Co-authored-by: Peter Steinberger <[email protected]> Co-authored-by: Patrick Erichsen <[email protected]>
* ci(release): install Chromium for A-K live tests (#163178) (cherry picked from commit 9ce1498) * ci(release): pin reachable live provider models (#163177) (cherry picked from commit 0fa2ddd) * test(opencode): refresh free live tool model (#163470) Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: vincentkoc <[email protected]> (cherry picked from commit cd7c2d2) * test: synchronize Telegram recorder failure admission Gate the synthetic control timeline on the recorder's durable failure receipt so slow filesystem publication cannot overtake the intended failure precondition. Preserve every assertion and align the touched fixture with the existing lint rules. (cherry picked from commit 0dfb96f) * fix(ui): reconcile end after layout correction (#166261) (cherry picked from commit 51f772a) * fix(ci): forward live video provider credentials (#164317) Co-authored-by: Peter Steinberger <[email protected]> (cherry picked from commit d0ce76b) * fix(security): backport MCP dependency advisory fix (cherry picked from commit c39d9b0) * fix(test): make live qualification waits event driven * fix(test): Gateway e2e connect fails with 1006 when another fixture takes the instance port (#163003) gateway-cold-agent-abort intermittently failed with `gateway closed during connect (1006)` about 260 ms into the test, too early for its own cold Gateway child to have answered readiness. OpenClawTestInstance claims its port block and releases its reservation listener right before spawning the child. In-process Gateway fixtures picked ports with getGatewayE2ePortBlock(), a probe that released its claim before returning, and then started a Gateway whose listener retries EADDRINUSE every 500 ms. A fixture that probed the same candidate just before the instance claimed it won the port at the handoff, and the instance's /readyz was answered by that foreign Gateway (1006 while it closed, token mismatch while alive). getGatewayE2ePortBlock is removed. acquireGatewayE2ePortBlock (beside startClaimedGateway) returns a held claim, and every caller keeps it until the Gateway or server bound to that port has closed, including same-port restarts, unstarted-claim guards, and listener-specific release in the MCP App conformance fixture. Kernel-assigned port-0 binders stay out of scope (the Linux pool excludes the ephemeral range). The test instance gains bounded post-start diagnostics (diagnose(), responder uptime vs child age, Linux listener owners, handshake stage in the close error). Regression: an instance whose first candidate is an in-process Gateway E2E port must allocate a different port (fails on the probe-only helper). (cherry picked from commit 8095d77) --------- Co-authored-by: RoboClaw <[email protected]> Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: vincentkoc <[email protected]> Co-authored-by: Peter Steinberger <[email protected]> Co-authored-by: Patrick Erichsen <[email protected]> (cherry picked from commit 8aa6d7c) Release adaptation: Select only live-shard evidence handling for disabled llama.cpp, Meta, and Mistral URL/key prerequisites. Re-home regression cases in the stable evidence helper; no workflow credentials, dependencies, or fixture ownership changes. Companion audit: Historical release bundle is not on pinned main and #166341 has no pinned-main PR mentions. Recorded backports for Chromium, provider routes, workflow secrets, MCP versions, UI and Gateway fixtures are unrelated to the evidence slice; no additional commit. Co-authored-by: RomneyDa <[email protected]>
What Problem This Solves
Fixes: the A–K extension live lane starts browser-backed tests without installing Chromium, so the browser launch fails before the live assertions run.
User Impact
User impact: Full Release Validation can execute browser-backed A–K live tests on its clean Linux runner.
Why This Change Was Made
The media-provider job now installs Playwright Chromium and its system dependencies only when the selected matrix row is
native-live-extensions-a-k, after Node and harness setup and before live credential hydration.Evidence
package-acceptance-workflow.test.ts).pnpm check:workflowsandgit diff --checkpassed on currentmain.No live workflow was redispatched; the proof covers the workflow selection and ordering contract.