Repository navigation
perf(ci): shard full release repository E2E - #127142
vincentkoc wants to merge 3 commits into
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: blocked before merge. Reviewed September 4, 2026, 1:48 AM ET / 05:48 UTC. ClawSweeper reviewWhat this changesThe branch changes release repository-E2E validation from one serial job to capability-gated parallel Gateway and UI lanes using validated shared runtime and sandbox artifacts plus a legacy fallback. Merge readiness⛔ Blocked before merge - 5 items remain Keep open for release-owner review: this protected maintainer draft is dirty against current main, while merged #134746 already covers the shared-artifact direction but may not intentionally retain this draft’s frozen-target capability fallback. Priority: P2 Review scores
Verification
How this fits togetherRelease qualification builds OpenClaw artifacts, runs repository E2E suites, and aggregates their outcomes before a release can proceed. This change alters the scheduling and artifact handoff between build producers, E2E consumers, and the aggregate gate. flowchart LR
A[Selected release ref] --> B[Capability validation]
B --> C[Runtime and sandbox producers]
C --> D[Gateway E2E shards]
C --> E[Agent and UI E2E lanes]
D --> F[Aggregate release gate]
E --> F
Decision needed
Why: The related merged PR explicitly incorporated the shared-artifact direction, but the local partial checkout cannot read current-main blobs to establish whether this draft’s distinct compatibility contract remains necessary. Before merge
Agent review detailsSecurityNone. PR surfaceTests +469, Config +763, Other +117. Total +1349 across 9 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Use the merged reusable artifact workflow as the baseline, then retain only a narrowly demonstrated frozen-target compatibility requirement in a rebased follow-up with exact-head hosted validation. Do we have a high-confidence way to reproduce the issue? Not applicable: this is CI orchestration, and the relevant behavior is the supplied exact-head hosted workflow evidence rather than a user-reported reproduction. Is this the best way to solve the issue? Unclear: the shared-artifact approach is covered by merged current-main work, but only a source comparison after rebase can establish whether this draft’s capability and legacy paths remain the best solution. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 74569a1ff1e4. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (8 earlier review cycles)
|
1bdf315 to
b646fb4
Compare
|
@clawsweeper re-review Exact head |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
b646fb4 to
a190f4d
Compare
|
@clawsweeper re-review Please review exact head |
|
🦞🧹 I asked ClawSweeper to review this item again. |
* perf(release): shorten full verification critical paths Share profile-specific repo E2E builds, balance package/update lanes, and route serial control jobs through the existing hybrid runner pool. Build sharing follows the approach explored in #127142. Co-authored-by: Vincent Koc <[email protected]> * test(release): align control job runner assertions * test(release): include control routing in candidate workflow coverage --------- Co-authored-by: Vincent Koc <[email protected]>
) * perf(release): shorten full verification critical paths Share profile-specific repo E2E builds, balance package/update lanes, and route serial control jobs through the existing hybrid runner pool. Build sharing follows the approach explored in openclaw#127142. Co-authored-by: Vincent Koc <[email protected]> * test(release): align control job runner assertions * test(release): include control routing in candidate workflow coverage --------- Co-authored-by: Vincent Koc <[email protected]>
|
ClawSweeper status: applying reviewed decision. I am applying the reviewed decision for this pull request: perf(ci): shard full release repository E2E This is item 1/1 in the current shard. Shard 1/1. This transient lease prevents a newer review from overlapping label, comment, or close mutations. Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted. |
Related: #127014
What Problem This Solves
Resolves a problem where release repository E2E built once and then ran Gateway, agent-plugin Gateway, and UI coverage serially in one job. A late Gateway failure could consume nearly an hour and prevent the other suites from running.
Why This Change Was Made
The workflow now builds one private-QA runtime artifact, runs four Gateway shards, agent-plugin Gateway, four UI shards, and real-Gateway UI independently, then preserves the existing
validate_repo_e2eaggregate gate. A versioned target capability manifest enables the sharded contract for mixed frozen target/tooling SHAs; older or invalid targets use the legacy path.Artifact producers and consumers bind exact IDs, digests, run attempts, target/tooling SHAs, safe extraction, and trusted harness validation. The six repository-E2E Node setup callers are restore-only under the current cache-authority contract; Playwright remains restore-only and the aggregate gate owns no cache.
The shared repository-E2E runtime now uses the canonical split declaration build (
tsdown-ai,tsdown-packages, andtsdown-unified) plus the plugin-SDK declaration/export gates. This preserves package compatibility proofs without falling back to the slow singulartsdowngraph.User Impact
Release qualification should collect complete repository E2E failures in one pass and reduce this lane from roughly 55 minutes toward 15-25 minutes without removing coverage.
Evidence
a190f4d5c247a2d55aa6d947e65c08a1998feca8, based onmainate66d7c5cac65fa9391904648eb81861276bc5725.git diff --check, privacy scan, and local structured autoreview passed.Hosted Proof
gateway=failure.225aa5a1782325a9ad4e543947b1ff7659a60cce: https://github.com/openclaw/openclaw/actions/runs/32484152197legacy=failure.@openclaw/aipacked-package install/typecheck passed in Gateway shard 3, clearing the PR-owned missing-declaration failure.gateway=failure; runtime, sandbox, agent-plugin, UI, and real-Gateway UI weresuccess, while legacy wasskipped.Exact-head ClawSweeper found no actionable source-level defect. The PR remains draft for maintainer review because current-target Gateway regressions are outside this workflow-performance branch.