Skip to content

improve(ci): admit more hosted package survivor checks in parallel - #201265

Merged
RomneyDa merged 2 commits into
mainfrom
openclaw/survivor-hosted-cap-48-20261118
Nov 19, 2026
Merged

RomneyDa merged 2 commits into
mainfrom
openclaw/survivor-hosted-cap-48-20261118

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Expanded package-survivor validation leaves independent upgrade scenarios waiting behind a 32-job admission cap. In the completed 2026.11.6 campaign, the 90 targeted jobs occupied 67m38s and were the parent tail. This makes a narrowly scoped 48-job cap reviewable without changing the work being validated.

Related: #132271 (original bounded fanout), #165007 (single-scenario isolation, retained).

User Impact

No installed-product change. Release operators can admit 48 targeted jobs for the GitHub-hosted expanded package-survivor path, instead of 32. Peak demand can rise by 16 jobs (+50%) per matching matrix. Actual wall-time improvement and downstream capacity are not yet measured at 48. No repository variables, runner reservations, higher-concurrency campaign, or release are changed/launched here.

Self-hosted/custom runner groups, source-only/general live work, empty scenario selections, and any matrix selecting update-migration retain 32. Exact rows/order, one scenario per container, timeouts, fail-fast:false, npm worker limits, cache behavior, and artifact/retry identities are unchanged.

Why This Change Was Made

One inline strategy expression uses existing inputs and the existing validated package-presence output: hosted enabled, empty runner_group, package artifact present, published-upgrade-survivor selected with nonempty scenarios, and update-migration absent. No new option, planner, state, helper, or test scaffolding. Explicit artifact-backed calls satisfying the same workload/routing contract also qualify; this is not a caller-name check.

Package Acceptance inherits workflow_call's hosted=true default and does not forward release_test_profile, so that field is deliberately not used to guess beta/stable coverage. Nonempty scenarios matches the existing planner's expanded-selection contract. The owning docs and CI index describe the scope.

The cap introduced in #132271 is an operating choice, not a demonstrated 32-runner platform limit. Preserve the scenario isolation fixed in #165007 rather than regrouping scenarios.

Evidence

  • Existing owning guard evaluates the actual YAML expression with eight scope/fallback cases. Red on the base: expected 48, received 32. Green after the change: 140ms test / 1.24s wrapper.
  • Targeted root-scripts typecheck (including this guard), one-file lint, five-file formatting, three-doc MDX, internal link audit (16,755 links; zero broken), and git diff --check pass.
  • Full workflow validation passes: pinned actionlint, zizmor, generated CI owner, composite inputs, conflict markers. First attempt hit an empty ambient GITHUB_TOKEN; reran the same gate with empty token variables unset, no skips or config changes.
  • Full existing package-acceptance (587 tests) and targeted Docker planner (13 tests) suites pass: 600/600, 125.51s Vitest / 126.33s wrapper. The large existing integration suite exercises workflow admission, artifact identity and planner boundaries; this change adds no test cases outside its existing owning guard. Final follow-up changes only erased TypeScript contracts; runtime proof is reused.
  • Author pr-simplify pass complete: one owner/one expression; YAML +2/-1, existing test +37/-5, docs +12/-5. All additions protect the scoped cap or explain it. Local independent review explicitly waived for this task. Runtime/package build is not applicable to this strategy/docs/guard-only change.
  • Verified November 19, 2026: exact head a46932bb53657107ca1875f29f56e286151c8a03 has successful CI 44325689857 and Workflow Sanity 44325662738, with successful CI, dependency-review and security-sensitive commit statuses. No pending or failed checks remain; three superseded dispatch/security-review cancellations are retained, not represented as successful executions. GitHub reports mergeable. ClawSweeper completed this exact head with no findings and no before-merge items. Ready for maintainer review with the performance limitations below.

Conditional scheduling model — not a measured gain

Same observed complete-job durations and admission order, earliest-free-slot replay; no shorter jobs, skipped rows, reordering credit, or merged containers. Retain observed sibling floor and parent overhead.

Completed campaign Observed targeted work Modeled cap32 → cap48 Conditional parent saving
2026.11.6 parent 44290981153, candidate child 44294810205 90 jobs; 67m38s span 4053s → 2952s 18m21s; parent 106m55s → 88m34s
Earlier stable parent 44267376322, child 44270968526 90 jobs; 68m47s span 4123s → 2927s 19m56s

These parents failed elsewhere: shortening their diagnostic tail would not turn them green. Add 5 or 10 minutes of new critical-path contention to the recent model and projected savings fall to 13m21s or 8m21s. Same nominal total work does not guarantee unchanged runner-minutes or billing if contention/retries increase.

The latest two sampled targeted matrices reached 64 combined active jobs; earlier sampled children reached 84 hosted jobs across their work. That refutes a global 32-job ceiling but does not establish spare organization capacity. Runner inventory returned 403; hosted entitlement, registry/cache/network headroom, and 48-cap failure rate remain unproven. No claim of measured speedup or cost reduction. A later authorized qualification should compare identical rows/bytes/cache policy and record admission delay, parent tail, 429/5xx, retries, and runner work without relaxing any gate.

@RomneyDa RomneyDa added the release-fast-lane Release tooling PR: narrow ci-gate, ClawSweeper advisory (RELEASING.md) label Nov 18, 2026
@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.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation size: XS labels Nov 18, 2026
@RomneyDa
RomneyDa marked this pull request as ready for review November 18, 2026 14:34
@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. 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: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Nov 18, 2026
@clawsweeper

clawsweeper Bot commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR raises eligible hosted package-survivor matrices from 32 to 48 concurrent jobs while retaining the existing cap elsewhere.

Example: Package Acceptance supplies a validated package artifact, selects published-upgrade-survivor with reported-issues scenarios, and uses hosted runners without a custom runner group.

  • Before: The targeted matrix admits at most 32 concurrent jobs.
  • After: The targeted matrix admits up to 48 concurrent jobs.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The patch is focused and supported by passing checks, but its performance benefit remains a scheduling model rather than an observed result at the new cap.
Proof confidence 🦐 gold shrimp (3/6) This CI-only change has an expression guard and successful exact-head CI; linked campaigns establish baseline scheduling behavior, while actual performance at 48 remains explicitly unmeasured.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Performance · Worth it: Yes · Fix scope: Complete
User problem: Release operators wait for independent package-upgrade checks to enter a matrix already running at its admission cap.
Reason: The maintainer-authored direction targets an observed release-validation tail with one bounded scheduling change and explicitly accepts the higher peak demand.

Merge readiness

✅ Ready for maintainer review

Keep open: this maintainer-authored PR makes a focused CI scheduling change that remains absent from main; no actionable correctness or security defect was found.

Priority: P2
Reviewed head: a46932bb53657107ca1875f29f56e286151c8a03

Before merge

None.

Findings

None.

Provenance

  • Workflow test types and admission guard: original intent not found (unknown: The existing guard modeled the previous literal numeric cap; the PR accommodates and evaluates a conditional expression. Host provenance was partial, and local blame failed on an unavailable historical test blob, so the original type-definition rationale remains unknown.)
Agent review details

How this fits together

Package Acceptance passes package identity and scenario selections into the reusable validation workflow, whose planner produces isolated Docker jobs and whose strategy controls their admission.

flowchart LR
A[Package Acceptance] --> B[Validate package identity]
B --> C[Plan isolated scenario jobs]
C --> D[Select concurrency cap]
D --> E[Hosted Docker runners]
E --> F[Validation artifacts and results]
Loading

Technical review

Best possible solution:

Retain the single scoped admission expression, existing scenario isolation, fallback budgets and owning workflow guard.

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

Current main visibly limits this matrix to 32 jobs, and the linked completed campaign shows hosted targeted jobs proceeding in successive waves; this review ran no target code.

Is this the best way to solve the issue?

The expression changes admission at its existing owner and preserves planner output, isolation and execution limits, making it the smallest complete implementation of the accepted scheduling change.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Targeted Docker admission and corresponding CI documentation changes intended behavior with a stated reason (31baa67: Bound expanded release-validation fanout while parallelizing independent upgrade coverage; the current PR explains why only eligible hosted matrices receive a larger budget.)

Testing

Proof path: unit tests only.

Security

None.

Evidence

What I checked:

Likely related people:

  • Dallin Romney: Raw commit d76b29e adds .github/workflows/openclaw-live-and-e2e-checks-reusable.yml:2118 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: d76b29e1529d; files: .github/workflows/openclaw-live-and-e2e-checks-reusable.yml)
  • Peter Steinberger: Raw commit 39e3d8d adds .github/workflows/openclaw-live-and-e2e-checks-reusable.yml:675 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 39e3d8d31de8; files: .github/workflows/openclaw-live-and-e2e-checks-reusable.yml)
  • Vincent Koc: Raw commit c2e6904 adds .github/workflows/openclaw-live-and-e2e-checks-reusable.yml:2099 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: c2e69044cf1b; files: .github/workflows/openclaw-live-and-e2e-checks-reusable.yml)

PR surface

Tests +32, Docs +7, Config +1. Total +40 across 5 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 37 5 +32
Docs 3 12 5 +7
Config 1 2 1 +1
Generated 0 0 0 0
Other 0 0 0 0
Total 5 51 11 +40

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.

Review metrics

Metric Value Why it matters
Eligible matrix admission 32 → 48 concurrent jobs; +16 (+50%) Raises peak hosted demand without adding matrix rows or changing per-runner limits; the maintainer-authored PR explicitly accepts this tradeoff.

Labels

Label changes:

  • add P2: This is a bounded release-validation scheduling improvement with no installed-product behavior change.
  • add merge-risk: 🚨 automation: The changed workflow can admit 50% more simultaneous hosted jobs per eligible matrix, increasing shared infrastructure demand; this operating tradeoff is explicitly accepted in the maintainer-authored PR.
  • 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: This is a bounded release-validation scheduling improvement with no installed-product behavior change.
  • merge-risk: 🚨 automation: The changed workflow can admit 50% more simultaneous hosted jobs per eligible matrix, increasing shared infrastructure demand; this operating tradeoff is explicitly accepted in the maintainer-authored PR.
  • 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, 9:52 AM ET / 14:52 UTC.

@RomneyDa
RomneyDa merged commit 592402e into main Nov 19, 2026
176 of 179 checks passed
@RomneyDa
RomneyDa deleted the openclaw/survivor-hosted-cap-48-20261118 branch November 19, 2026 09:33
RomneyDa added a commit that referenced this pull request Nov 19, 2026
…201265)

* improve(ci): widen hosted package survivor admission to 48

* test(ci): type workflow input defaults and cap expressions

Backport to beta.2 preparation; exact reviewed adapted patch. Focused parent proof: 35 tests; nine-file type-aware lint; 18-file format. Tooling typecheck retains the same two pre-existing cron UI errors as baseline. No release qualification.

(cherry picked from commit 592402e)
Co-authored-by: RomneyDa <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 20, 2026
…penclaw#201265)

* improve(ci): widen hosted package survivor admission to 48

* test(ci): type workflow input defaults and cap expressions
github-actions Bot pushed a commit to clawhaven/openclaw that referenced this pull request Nov 23, 2026
…penclaw#201265)

* improve(ci): widen hosted package survivor admission to 48

* test(ci): type workflow input defaults and cap expressions

(cherry picked from commit 592402e)

Co-authored-by: RomneyDa <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. release-fast-lane Release tooling PR: narrow ci-gate, ClawSweeper advisory (RELEASING.md) size: XS 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