Skip to content

fix(ci): recover WebKit downloads in release E2E - #201313

Merged
RomneyDa merged 2 commits into
mainfrom
openclaw/land-frv11-lifecycle-ordering
Nov 18, 2026
Merged

RomneyDa merged 2 commits into
mainfrom
openclaw/land-frv11-lifecycle-ordering

Conversation

@RomneyDa

Copy link
Copy Markdown
Member

What Problem This Solves

Release E2E jobs still install WebKit through the unbounded system-package path even though regular CI already handles a slow first archive mirror. A trickling mirror can stall the release job before its browser tests start.

User Impact

Release E2E operators get the same bounded download and alternate-mirror recovery used by CI. The package installation itself remains outside the download deadline. No application behavior, dependency version, release identity, or user configuration changes.

Why This Change Was Made

Extract the existing installer unchanged into one composite action and route both CI callers and the reusable release E2E workflow through it. The frozen trusted workflow checkout supplies the action; the selected target still supplies its Playwright executable. Restore the original apt configuration after success or failure. This removes the duplicate installer path without adding a second recovery owner.

Evidence

  • Against main 0aafe6691b818c24ac00a2172e57819b21632554, all nine browser-dependency tests pass (4.48s test duration, 5.34s wrapper). They execute the routed shell installer with synthetic external commands and relocated apt files, including recovery and fallback failure.
  • Restoring only the old FRV workflow routing makes both new cases fail with exit 86, rather than the expected success / preserved fallback error. Restoring the reviewed routing recovers the passing source snapshot.
  • The changed package-acceptance contract and both existing workflow-helper consumer tests pass individually (1.49s, 2.78s, 4.11s wrappers). No broad release row was repeated or omitted from its plan.
  • Canonical format, focused lint, tooling/scripts typechecks, and workflow checks pass. The first workflow audit rejected an inherited empty GitHub-token variable; rerunning with that empty variable unset passed actionlint, zizmor, Git owner, and composite interpolation checks.
  • Fresh independent canonical autoreview (OpenClaw engine, P0–P3), complete six-file diff against 0aafe6691b818c24ac00a2172e57819b21632554: scoped-clean, no actionable findings.
  • This is local routing/recovery proof, not a successful hosted FRV or real mirror-download qualification. Exact-head PR CI remains the landing gate.

RomneyDa and others added 2 commits November 18, 2026 15:39
Share the existing bounded mirror-recovery installer across both CI callers and the frozen workflow harness. Keep the selected target responsible for its Playwright version.

Co-authored-by: RomneyDa <[email protected]>
OpenClaw-Publication: 37bf183c-c8ee-43c0-bbf1-fd0f5264b9f1
@clawsweeper

clawsweeper Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@RomneyDa
RomneyDa enabled auto-merge (squash) November 18, 2026 15:43
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 18, 2026
@RomneyDa
RomneyDa disabled auto-merge November 18, 2026 15:57
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 18, 2026
@RomneyDa
RomneyDa enabled auto-merge (squash) November 18, 2026 15:57
@clawsweeper

clawsweeper Bot commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR shares CI’s existing WebKit download recovery with release E2E jobs through one composite action.

Example: A release UI E2E job encounters a trickling first Ubuntu archive mirror.

  • Before: WebKit system-package downloads can stall until the job deadline.
  • After: The download gets a 120-second deadline, followed by a 300-second attempt using the remaining configured mirrors.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) A focused, correct consolidation with useful regression coverage; this PR’s recovery execution uses synthetic external commands rather than a hosted release run.
Proof confidence 🦐 gold shrimp (3/6) This CI-only change requires no application-entry-point proof; supplied routing and cleanup coverage uses synthetic commands, and the unchanged installer’s real apt qualification is documented in the merged predecessor.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Release operators can lose an E2E job to slow WebKit package downloads before browser tests begin.
Reason: The maintainer-authored direction fixes a documented CI failure mode while consolidating installation policy and preserving existing test coverage.

Merge readiness

✅ Ready for maintainer review

Keep open: this maintainer-authored PR addresses a real release-CI gap with a focused shared installer, and no actionable defect was found.

Priority: P2
Reviewed head: 07df75937462662a35b9c0249d89ab932353da95

Before merge

None.

Findings

None.

Agent review details

How this fits together

GitHub Actions provisions browser dependencies before UI tests, taking installer code from the trusted workflow checkout and Playwright from the selected target.

flowchart TD
  A[CI UI jobs] --> C[Shared WebKit action]
  B[Release E2E workflow] --> C
  D[Trusted workflow checkout] --> C
  E[Selected target Playwright] --> C
  C --> F[Download recovery and package installation]
  F --> G[WebKit browser and UI tests]
Loading

Technical review

Best possible solution:

Use one shared installer that preserves bounded download recovery, trusted workflow ownership, and the selected target’s Playwright version.

Do we have a high-confidence way to reproduce the issue?

Current-main source exposes the unbounded release installation path, and the merged CI predecessor documents the same mirror failure; no target code was executed during this read-only review.

Is this the best way to solve the issue?

The extraction is the smallest coherent repair: it reuses the established recovery owner, removes the inline duplicate, and preserves caller selection and dependency ownership.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 0aafe6691b81.

Provenance checked

  • CI WebKit recovery installer keeps the original intent (34fea95: Bound slow mirror downloads without interrupting dpkg, propagate timeout signals through the root process tree, and keep pnpm in the runner-user environment.)
  • Release E2E WebKit provisioning keeps the original intent (a57e5be: Release UI suites require WebKit alongside Chromium; the earlier workflow had reached browser tests without installing it.)
  • Workflow execution test helper keeps the original intent (fc0e45a: Exercise separated E2E selection, dependency preparation, runtime preparation, and execution phases with their existing failure boundaries.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Dallin Romney: Raw commit a57e5be adds .github/workflows/openclaw-repo-e2e-reusable.yml:164 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: a57e5beb1266; files: .github/workflows/openclaw-repo-e2e-reusable.yml)
  • Peter Steinberger: Raw commit fc0e45a adds test/scripts/ci-workflow.test-support.ts:426 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: fc0e45a02d5e; files: test/scripts/ci-workflow.test-support.ts)

PR surface

Tests +137, Config +9. Total +146 across 6 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 3 140 3 +137
Docs 0 0 0 0
Config 3 63 54 +9
Generated 0 0 0 0
Other 0 0 0 0
Total 6 203 57 +146

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

  • add P2: A focused CI reliability repair prevents slow archive mirrors from consuming release E2E jobs without changing application behavior.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P2: A focused CI reliability repair prevents slow archive mirrors from consuming release E2E jobs without changing application behavior.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 18, 2026, 10:56 AM ET / 15:56 UTC.

@RomneyDa
RomneyDa disabled auto-merge November 18, 2026 15:59
@RomneyDa
RomneyDa merged commit 6fd31f8 into main Nov 18, 2026
124 of 125 checks passed
@RomneyDa
RomneyDa deleted the openclaw/land-frv11-lifecycle-ordering branch November 18, 2026 15:59
@RomneyDa

Copy link
Copy Markdown
Member Author

Merged via squash auto-merge.

RomneyDa added a commit that referenced this pull request Nov 18, 2026
Route both existing CI consumers and frozen release E2E through the shared
installer, retaining selected-target Playwright and release workflow context.
Include the #200992 fixture prerequisite; its installer is already present
in the shared action. Node/Bun selected recovery and sibling checks pass.

(cherry picked from commit 6fd31f8)
Prerequisite: 34fea95 (#200992)

Co-authored-by: Free Wortley <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 19, 2026
* fix(ci): recover WebKit downloads in release E2E

Share the existing bounded mirror-recovery installer across both CI callers and the frozen workflow harness. Keep the selected target responsible for its Playwright version.

Co-authored-by: RomneyDa <[email protected]>

* fix(ci): recover WebKit downloads in release E2E

OpenClaw-Publication: 37bf183c-c8ee-43c0-bbf1-fd0f5264b9f1

---------

Co-authored-by: RomneyDa <[email protected]>
RomneyDa added a commit that referenced this pull request Nov 19, 2026
* chore: retire June upgrade baselines from release validation

Advance the shared automatic qualification floor to 2026.7.1 and align existing baseline fixtures. Preserve explicit historical baseline selection.

Co-authored-by: RomneyDa <[email protected]>

* chore: retire June upgrade baselines from release validation

OpenClaw-Publication: 30a4a362-5ccc-4ac7-b2cf-b340fdb0e66a

* chore: remove pinned oldest upgrade baseline

Co-authored-by: RomneyDa <[email protected]>

* Publish openclaw/remove-outdated-release-upgrade-scenarios

OpenClaw-Publication: 69a19a1c-7527-4f9e-a1ba-62c34bd25bd0

---------

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 142e499)

Companion audit: #201313, #200527, #200386, #200562 touch workflow/test neighbors but are independent and assigned separately. Explicit historical baseline selectors remain supported.

(cherry picked from commit 9fc44690ad196164e038afe931c81c113d79e87f)
RomneyDa added a commit that referenced this pull request Nov 19, 2026
* improve(ci): avoid recompressing candidate registry artifacts

* fix(ci): classify recovery browser test server ownership (#200402)

(cherry picked from commit a62e4e1)

---------

Co-authored-by: Vincent Koc <[email protected]>
(cherry picked from commit 27a5de4)
Co-authored-by: RomneyDa <[email protected]>
Backport review: Later #201313 modifies WebKit download recovery, independent of artifact compression. #200379 is selected separately; no required dependency for upload compression.:
(cherry picked from commit 90e3710c5d97b66059893d69f7a6a9631971380c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: M status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant