Repository navigation
fix(ci): route npm release source check per dispatch and serialize its oxlint shards - #192601
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 exposes npm-preflight hosted routing through Full Release Validation and serializes the source check’s oxlint shards. Example: A release operator dispatches Full Release Validation with npm_preflight_use_github_hosted_runners=true.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR provides useful release recovery controls still absent from main, with no definite introduced defect found. Priority: P2 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherFull Release Validation dispatches an artifact producer, which calls reusable npm preflight to validate candidate source and produce qualified release artifacts. flowchart TD
A[Release operator] --> B[Full Release Validation]
B --> C[Full Release Artifacts]
C --> D[Npm preflight]
D --> E[Selected runner]
E --> F[Serial oxlint shards]
D --> G[Qualified artifact evidence]
Technical reviewBest possible solution: Retain the existing runner owner and Blacksmith default while exposing dispatch-scoped recovery and using its existing shard-concurrency control. Do we have a high-confidence way to reproduce the issue? Source confirms the missing dispatch override and existing concurrent-shard behavior; reported runner losses do not establish memory exhaustion as their cause. Is this the best way to solve the issue? The patch is a small, coherent use of existing owners, although serializing oxlint should be treated as a conservative mitigation rather than a proven runner-loss cure. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against f21943152ad4. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests +42, Docs +4, Config +14, Other +2. Total +62 across 9 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:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
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 HistoryReview history (1 earlier review cycle)
Reviewed November 5, 2026, 12:17 AM ET / 05:17 UTC (Revision 2). |
a32eb62 to
9fc067e
Compare
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
9fc067e to
ca01908
Compare
ca01908 to
f68f760
Compare
…s oxlint shards (openclaw#192601) * fix(ci): route npm release source check per dispatch and serialize its oxlint shards * test: allocate npm preflight routing regression lines * docs(ci): trim npm preflight hosted routing notes
…s oxlint shards (openclaw#192601) * fix(ci): route npm release source check per dispatch and serialize its oxlint shards * test: allocate npm preflight routing regression lines * docs(ci): trim npm preflight hosted routing notes
Problem
In 2026.11.5-beta.1, Full Release Artifacts'
Check npm release sourcejob lost its Blacksmith runner in 6 of 7 attempts, 19 to 26 minutes intopnpm checkonblacksmith-32vcpu-ubuntu-2404. That host actually delivers 8 CPUs and 31 GiB, and oxlint ran its core and extension shards concurrently there. The only way to move the job to GitHub-hosted runners was flipping the repo-wideOPENCLAW_CI_RUNNER_BACKENDvariable, which changes routing for every other run in the repository.Solution
npm_preflight_use_github_hosted_runners(defaultfalse). FRV forwards it through Full Release Artifacts to the npm preflight workflow's existinguse_github_hosted_runnersinput. One release can then move its npm preflight jobs to hostedubuntu-24.04without touching repo variables.OPENCLAW_OXLINT_SHARD_CONCURRENCY=1, so oxlint shards run one at a time on that host instead of together.docs/ci/runners.mdnames the new input.The issue's ripgrep item needs no change: main's npm preflight already installs ripgrep through
.github/actions/setup-ripgrep.Impact
Release operators get a per-release hosted fallback for npm preflight. With the input unset, routing is unchanged. The source check's oxlint step may take somewhat longer because shards no longer run in parallel.
Evidence
package-acceptance-workflow.test.ts: FRV forwards the input (trueandfalse), and every forwarded field is declared by Full Release Artifacts, since GitHub rejects undeclared dispatch inputs.openclaw-npm-extended-stable-workflow.test.ts: the source-check env resolves to oxlint shard concurrency 1 on an 8-CPU/31-GiB host.full-release-validation-at-sha.candidate.test.ts: the dispatch input count is updated from 24 to 25.Fixes #192562