Skip to content

fix(ci): keep full release validation within measured budgets - #166774

Merged
RomneyDa merged 6 commits into
mainfrom
fix/frv-main-budgets-20261007
Oct 7, 2026
Merged

RomneyDa merged 6 commits into
mainfrom
fix/frv-main-budgets-20261007

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Full Release Validation repeats a full Docker package build on a slow serial hosted runner, times out measured long-running release lanes, and hits a config-test fixture failure before its warning assertions.

User Impact

No production behavior changes. Maintainers get the four fixes already present on the 2026.10.2 candidate on main, without release version or changelog changes.

Why This Change Was Made

  • Seed the config warning-deduplication fixture with an existing file so literal rewrites do not discard first-write catalog defaults. Related: test(config): authorize intentional warning reset write #166284 (an alternative fix for this test).
  • Size update-restart-auth from measured hosted runs: 3420-second inner timeout, 3720-second lane budget, and a 75-minute targeted job cap.
  • Use the existing Blacksmith 16-class, smoke package, and existing serial weighted admission for canonical Full Release Validation children. Keep all six seed lanes, ordinary manual dispatch behavior, the GitHub outage override, and hosted retry recovery. Explicit release runner groups retain their existing routing.
  • Give only the three measured long, unfitted hosted rows a 90-minute cap, preserving coverage and manifest size. Complete timing observations retain the planner's normal splitting policy.

This forwards release commits 7ce4f852445, 79434dbfb0d, 390d50e9fce, and e4c6c8714da. The running release candidate remains unchanged. The seed runner change is intended to bring the job below 30 minutes; actual timing is not yet verified on this candidate.

Evidence

  • Prior release-head evidence: 833 planner/guard/manifest tests and 113 config-write tests passed. This is prior-head evidence, not current-main proof.
  • Current-main focused planner, workflow guard/evidence, Docker selection, and budget suites: 838 passed, 10 skipped; 529.26s wall time with one worker.
  • Corrected runner fallback/retry/group guard: passed (2.95s command wall, 14ms test time).
  • ClawSweeper findings addressed: preserve hosted recovery precedence and remove ineffective parallelism rather than broaden weighted/resource budgets.
  • Workflow lint (including zizmor), formatting, whitespace, and line-cap ratchet: passed.
  • Current-head config-write suite: 113/113 passed, 87.56s command wall (84.03s Vitest duration); existing worker-backed integration fixture retained. An initial linked-install attempt lacked quickjs-wasi; a private frozen-lockfile install restored the prerequisite.
  • Current-head changed-file ratchets/guards and all core-test, script, and root-test type checks passed up to the dead-export scan. That scan fails on inherited scripts/publish-model-catalog.mts:readRecommendedModels; the file is byte-identical to the main base (a452032b9dd, Git blob 2a1d4aacda88ab892ab31ac8286ac21e94f5cec8) and the PR changes none of its consumers. Its only production use is inside the same module. This unrelated baseline failure is not repaired here.
  • Focused changed-file lint passed separately. All exact-head GitHub checks passed on 350fba4677e662ab34ae373e4a9dee3473f345dd; GitHub reports MERGEABLE/CLEAN. Fresh ClawSweeper review is ready on that same head.
  • Hosted changed-Node jobs completed in 301s, 342s, 364s, and 126s including setup (CI run). Added assertions extend the existing routing test and pure planner tests, with no new process/Gateway fixture.
  • No added Docker lanes, runner registrations, production state mutations, or release artifacts.

The first write of a missing config seeds native session catalog opt-outs, so rewriting the same literal config was rejected as a size drop before the warning assertions ran.

(cherry picked from commit 2f8b92b)
Hosted release checks passed this lane in 1678-2290s and were killed at the 2280s inner cap during recovery-update-restart. Derive a 3420s inner cap and 3720s lane budget from the slowest measured pass, and raise the targeted job timeout to 75 minutes so the job cap stays above the lane.

(cherry picked from commit cf73218)
Release validation children ran docker-seed-e2e on a hosted 4-vCPU runner with a full build-all and serial lanes (~91m, FRV 37607411898). Use the hourly-main Blacksmith 16-vCPU row, the existing smoke package step, and three parallel lanes for those children only; manual dispatches keep the hosted path.
core-runtime-config was cancelled at the 60-minute hosted cap with 5544 of ~5554 tests passed (FRV 37623751955); cli-process and agent-chat ran 41-52 minutes. Splitting them exceeds the full manual manifest output budget, so extend their job timeout instead.
@clawsweeper

clawsweeper Bot commented Oct 7, 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 marked this pull request as ready for review October 7, 2026 22:19
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation scripts Repository scripts docker Docker and sandbox tooling size: S labels Oct 7, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Oct 7, 2026
@clawsweeper

clawsweeper Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed October 7, 2026, 6:38 PM ET / 22:38 UTC (Revision 2).

ClawSweeper review

What this changes

This PR adjusts release-validation timeouts, reuses the existing Blacksmith runner and smoke package for release Docker checks, and repairs a config-warning test fixture.

Merge readiness

✅ Ready for maintainer review

Both prior findings are resolved, and no new blocking defect was found. The release-validation changes remain useful because fetched main still retains the older budgets and Docker preparation path.

Priority: P2
Reviewed head: 350fba4677e662ab34ae373e4a9dee3473f345dd

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, coherent repair with both previous findings addressed and no remaining blocking correctness concern.
Proof confidence 🌊 off-meta tidepool Not applicable: The MEMBER-authored PR is exempt from contributor runtime proof. Reported focused tests support routing and budget correctness; the release-child speed improvement remains explicitly unmeasured. No stored-data contract changes.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The MEMBER-authored PR is exempt from contributor runtime proof. Reported focused tests support routing and budget correctness; the release-child speed improvement remains explicitly unmeasured. No stored-data contract changes.
Evidence reviewed 9 items Introduced patch reviewed: Reviewed the pinned merge-base-to-head delta, including workflow routing, all budget changes, the config fixture, documentation, and added assertions. Base-only storage and formatting changes were excluded from PR ownership.
Prior findings resolved: The revised release runner branch requires a first attempt and respects the GitHub backend override. The release concurrency override was removed, retaining serial weighted admission. Added routing cases cover hosted recovery, hybrid/runson retries, explicit runner groups, and ordinary manual dispatches. GitHub's exact previous-head comparison verified these corrections after local historical blob hydration failed with HTTP 403.
Still necessary on fetched main: The exact fetched-main source retains the 2280-second inner restart-auth cap and 43-minute lane budget. Its release Docker job lacks the introduced release-child default and smoke-package condition; the hosted shard planner also lacks the three-row timeout exception.
Findings None None.
Security None None.

How this fits together

Full Release Validation dispatches CI and Docker checks against a pinned release candidate. Its planners select test coverage, runner placement, and deadlines, then feed results into release qualification.

flowchart TD
  A[Pinned release candidate] --> B[Release validation dispatch]
  B --> C[Test and Docker planners]
  C --> D[Runner selection and deadlines]
  D --> E[Complete test and Docker coverage]
  E --> F[Release qualification results]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Tests +55, Docs +16, Config +2, Other +22. Total +95 across 12 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 5 59 4 +55
Docs 3 21 5 +16
Config 1 4 2 +2
Generated 0 0 0 0
Other 3 26 4 +22
Total 12 110 15 +95

Review metrics

Metric Value Why it matters
Hosted release deadlines 3 unfitted rows: 60 → 90 minutes The exception is restricted to named unmeasured rows; complete timing observations still use normal splitting.
Restart-auth budget hierarchy 57-minute inner cap, 62-minute lane, 75-minute job Each enclosing deadline leaves headroom for the work it supervises.
Docker runner placement 1 existing release job moves from hosted to Blacksmith; lane admission stays serial This adds a Blacksmith assignment per eligible release child without adding jobs or expanding scheduler capacity.

Technical review

Best possible solution:

Retain complete release coverage with measured timeout headroom, the existing package owner, and unchanged hosted recovery and scheduler limits.

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

Unclear for a full timeout reproduction on current main: source confirms the old deadlines and routing, and the discussion records release failures, but this read-only review did not execute a release campaign.

Is this the best way to solve the issue?

Yes. The revised patch reuses existing runner, packaging, and scheduling owners, preserves recovery paths, and limits deadline exceptions to the measured problem areas.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The MEMBER-authored PR is exempt from contributor runtime proof. Reported focused tests support routing and budget correctness; the release-child speed improvement remains explicitly unmeasured. No stored-data contract changes.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.
  • remove merge-risk: 🚨 automation: Current PR review selected no merge-risk labels.
  • remove status: ⏳ waiting on author: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P2: This repairs bounded release-validation reliability and test-fixture failures without changing production product behavior.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The MEMBER-authored PR is exempt from contributor runtime proof. Reported focused tests support routing and budget correctness; the release-child speed improvement remains explicitly unmeasured. No stored-data contract changes.

Evidence

What I checked:

  • Introduced patch reviewed: Reviewed the pinned merge-base-to-head delta, including workflow routing, all budget changes, the config fixture, documentation, and added assertions. Base-only storage and formatting changes were excluded from PR ownership. (350fba4677e6)
  • Prior findings resolved: The revised release runner branch requires a first attempt and respects the GitHub backend override. The release concurrency override was removed, retaining serial weighted admission. Added routing cases cover hosted recovery, hybrid/runson retries, explicit runner groups, and ordinary manual dispatches. GitHub's exact previous-head comparison verified these corrections after local historical blob hydration failed with HTTP 403. (.github/workflows/ci.yml:6155, 350fba4677e6)
  • Still necessary on fetched main: The exact fetched-main source retains the 2280-second inner restart-auth cap and 43-minute lane budget. Its release Docker job lacks the introduced release-child default and smoke-package condition; the hosted shard planner also lacks the three-row timeout exception. (scripts/lib/docker-e2e-scenarios.mts:65, c768d4e2fae0)
  • Coverage and package checks retained: The unchanged Docker seed planner selects all six release lanes. The reused ciArtifacts build includes runtime, assets, UI, metadata, and public SDK declarations; --skip-build bypasses repeated compilation while the canonical packer still runs its tarball integrity check. (scripts/package-openclaw-for-docker.mts:1153, 350fba4677e6)
  • Timeouts reach workflow consumers: The Node manifest carries timeoutMinutes into timeout_minutes, which ci.yml consumes. The targeted Docker planner raises restart-auth jobs to 75 minutes while retaining an existing larger timeout; its release workflow consumes the emitted timeout. (scripts/ci-build-manifest.mjs:1137, 350fba4677e6)
  • Validation evidence and timing limitation: The captured PR body reports 838 passing focused tests, 10 skips, 113 passing config-write tests, and passing workflow lint and formatting. The MEMBER author explicitly states that the proposed below-30-minute Docker result is not yet measured. These are author-reported validation results, not reviewer-executed tests or proof of that runtime improvement. (350fba4677e6)

Likely related people:

  • RomneyDa: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (1 earlier review cycle)
  • reviewed 2026-10-07T22:26:09.530Z sha 6a40ee1 :: blocked before merge. :: [P2] Honor hosted recovery before selecting the release runner | [P2] Make release concurrency effective through weighted admission

@RomneyDa

RomneyDa commented Oct 7, 2026

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Addressed both findings in 350fba4677e662ab34ae373e4a9dee3473f345dd:

  • The new release runner default now yields to the GitHub outage override and hosted retry recovery. The existing explicit runner-group path stays unchanged.
  • Removed the ineffective release parallelism override and corrected the docs to retain serial weighted admission; no scheduler/resource budget expansion.

Added routing coverage for the hosted override, retries (including hybrid/runson), and an explicit release runner group. The focused guard passes. CI/Docker suites: 838 passed, 10 skipped. Config-write suite: 113 passed. Workflow lint, formatting, whitespace, and line-cap checks pass. Remaining changed-file gates and exact-head GitHub CI are in progress.

@clawsweeper

clawsweeper Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Oct 7, 2026
@RomneyDa
RomneyDa merged commit 471f950 into main Oct 7, 2026
185 checks passed
@RomneyDa
RomneyDa deleted the fix/frv-main-budgets-20261007 branch October 7, 2026 22:46
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 8, 2026
…aw#166774)

* test(config): seed existing config before warning dedupe rewrites

The first write of a missing config seeds native session catalog opt-outs, so rewriting the same literal config was rejected as a size drop before the warning assertions ran.

(cherry picked from commit 2f8b92b)

* fix(ci): size update-restart-auth budget from measured hosted runs

Hosted release checks passed this lane in 1678-2290s and were killed at the 2280s inner cap during recovery-update-restart. Derive a 3420s inner cap and 3720s lane budget from the slowest measured pass, and raise the targeted job timeout to 75 minutes so the job cap stays above the lane.

(cherry picked from commit cf73218)

* ci: run release Docker seed lanes on Blacksmith with the smoke package

Release validation children ran docker-seed-e2e on a hosted 4-vCPU runner with a full build-all and serial lanes (~91m, FRV 37607411898). Use the hourly-main Blacksmith 16-vCPU row, the existing smoke package step, and three parallel lanes for those children only; manual dispatches keep the hosted path.

* fix(ci): give long unfitted release rows a 90-minute hosted job cap

core-runtime-config was cancelled at the 60-minute hosted cap with 5544 of ~5554 tests passed (FRV 37623751955); cli-process and agent-chat ran 41-52 minutes. Splitting them exceeds the full manual manifest output budget, so extend their job timeout instead.

* docs(ci): record release validation runner and measured budgets

* fix(ci): preserve release runner recovery and weighted admission
NerQuiLes pushed a commit to Xtampa-AI/openclaw that referenced this pull request Oct 11, 2026
Audit all 253 September-only commits against da0cbcc. Port only
applicable fixes and final companions, preserving October owners and
shipped upgrade contracts. Exclude September-specific waivers, schema
rollback, dependency changes, and credential-absence pass conditions.

Adapt retained ACP archive receipts without reopening retired custody;
retain SDK1.30.1 issuer fencing and explicit re-registration; exclude
standalone worker copies from beta.2 updater compatibility bridges.
Report settled Doctor release failures before the no-config early return.

Sources below are whole backports or scoped repair selections:

fix(discord): keep health inspection from blocking Gateway connections (openclaw#166736)
Source-commit: dc26366

fix: avoid foreign-listener race in Gateway acquisition proof (openclaw#166883)
Source-commit: bd0b97d

fix(ci): admit workspace package tests in Windows replay (openclaw#166895)
Source-commit: 9bc88a6

fix(release): restore beta.2 updater inventory and Podman control (openclaw#166872)
Source-commit: e203c64

fix(copilot): plugin tool calls fail from the second turn of a session (openclaw#164598)
Source-commit: c6e5ae8

fix(test): await WhatsApp inbound drain (openclaw#165842)
Source-commit: 05170cd

fix(qa-lab): keep SUT CLI in isolated launcher
Source-commit: 6681bcd

test(qa-lab): assert resolved companion CLI cwd
Source-commit: a60b458

fix(release): accept candidate-owned child evidence (openclaw#165357)
Source-commit: 500c95a

fix(acp): migrate metadata from retained sessions
Source-commit: 16398dc

fix(release): isolate first-hop service containment (openclaw#164898)
Source-commit: 85124fe

fix(release): isolate upgrade survivor scenarios (openclaw#165007)
Source-commit: aad828f

test(release): expect isolated survivor scenarios (openclaw#165009)
Source-commit: 02e7f91

fix(release): split restart auth validation (openclaw#165048)
Source-commit: 6160d9f

test: serialize PowerShell completion process suites (openclaw#166229)
Source-commit: 320e52b

fix(update): settle only this Doctor's commands in managed custody (openclaw#164868)
Source-commit: bdb44e2

fix(claude-cli): replies hang until the run times out when a background agent runs Bash (openclaw#165596)
Source-commit: 889611b

fix(whatsapp): synchronize shutdown test with durable admission (openclaw#166531)
Source-commit: 1f576e4

fix: prevent heartbeat live replies from abbreviating markers (openclaw#166777)
Source-commit: c4ed37e

fix(ci): keep full release validation within measured budgets (openclaw#166774)
Source-commit: 471f950

improve(ci): reuse Watch cache and expose shared scan build progress (openclaw#166498)
Source-commit: 66d898f

fix(e2e): normalize registry helper image modes (openclaw#163188)
Source-commit: 1a09bec

fix: MiniMax live validation misses Code Mode file reads (openclaw#163619)
Source-commit: fc23bc8

fix(test): read canonical ACP upgrade metadata
Source-commit: 46c8dd2

fix(qa): remove unavailable Telegram emoji fixture (openclaw#164956)
Source-commit: e785c56

fix(release): reconcile full validation regressions (openclaw#166200)
Source-commit: a3e349e

fix(release): unblock stable validation evidence (openclaw#166315)
Source-commit: 5ac0f82

fix(release): unblock 2026.9.9 full qualification (openclaw#166341)
Source-commit: 8aa6d7c

test(irc): await owned monitor signals (openclaw#163180)
Source-commit: 429ea8c

fix(release): unblock 2026.9.9 full validation (round 4) (openclaw#166485)
Source-commit: ccb390b

fix(release): repair Doctor teardown and FRV evidence recovery
Source-commit: 5d7fa8e

fix(release): bound FRV job reads and normalize ghost evidence
Source-commit: 1854d41

test(release): align priority fixture with bounded job pages
Source-commit: 4fd4fcc

fix(test): keep MCP validation connected after automatic pairing approval (openclaw#166849)
Source-commit: 0979efd

fix(release): address 2026.9.9 validation failures and retain diagnostics (openclaw#166962)
Source-commit: a024875

fix(release): repair fleet and CLI validation fixtures (openclaw#166977)
Source-commit: b899f42

fix: keep 2026.9.9 upgrades on state schema 19 (openclaw#166959)
Source-commit: bcfc888

fix(ui): keep passive chat viewers following incoming turns
Source-commit: 6d9689d

fix(doctor): commit transcript archive migration progress per batch and honor interruption (openclaw#165837)
Source-commit: 3a085ea

fix(doctor): restore release repair settlement
Source-commit: fab3a66

fix(release): reconcile FRV backports
Source-commit: 0c01cc6

fix(ui): refresh end geometry during interaction (openclaw#166239)
Source-commit: 5b71763

fix(ui): preserve follow intent across content growth (openclaw#166258)
Source-commit: ffcdd4d

fix(ui): gate content follow on height changes (openclaw#166301)
Source-commit: 4964263

fix(release): preserve gateway fixture close callback (openclaw#166348)
Source-commit: 64ad20a

test(ui): await collaborator smooth follow (openclaw#166285)
Source-commit: 90abf6a

Co-authored-by: Eric Curtin <[email protected]>
Co-authored-by: Ayaan Zaidi <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>
Co-authored-by: Abdel Gomez-Perez <[email protected]>
Co-authored-by: Patrick Erichsen <[email protected]>
Co-authored-by: Vincent Koc <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docker Docker and sandbox tooling docs Improvements or additions to documentation P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: S 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