Repository navigation
improve(ci): admit more hosted package survivor checks in parallel - #201265
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. What this changesThis 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.
Review scores
ProductKind: Performance · Worth it: Yes · Fix scope: Complete 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 Before mergeNone. FindingsNone. Provenance
Agent review detailsHow this fits togetherPackage 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]
Technical reviewBest 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
TestingProof path: unit tests only. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests +32, Docs +7, Config +1. Total +40 across 5 files. Added test files: 0. View PR surface stats
Preflight sourceSource 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
LabelsLabel changes:
Label justifications:
Rating scale6/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. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 18, 2026, 9:52 AM ET / 14:52 UTC. |
…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]>
…penclaw#201265) * improve(ci): widen hosted package survivor admission to 48 * test(ci): type workflow input defaults and cap expressions
…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]>
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
a46932bb53657107ca1875f29f56e286151c8a03has 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.
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.