Repository navigation
fix(ci): route trusted dispatch lint to matrix runner - #130963
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 27, 2026, 10:11 AM ET / 14:11 UTC. ClawSweeper reviewWhat this changesThe PR routes ordinary trusted Blacksmith workflow dispatches for CI check shards to their matrix-selected runner, while keeping release gates, hybrid dispatches, and untrusted pull requests hosted. Merge readinessKeep open for explicit maintainer handling: the patch removes current main’s unconditional hosted-runner routing for ordinary Blacksmith dispatches while retaining the hybrid and release-gate hosted boundaries. Priority: P2 Review scores
Verification
Live VerificationCommand: Result: PASS (completed) Assertions:
How this fits togetherCI preflight determines the event and trust context, then each check shard selects a runner before lint, type, and dependency checks execute. The routing must distinguish normal maintainer dispatches from release-gate and untrusted paths. flowchart LR
A[Manual dispatch or pull request] --> B[CI preflight]
B --> C[Check shard matrix]
C --> D[Runner routing policy]
D --> E[Blacksmith or hosted runner]
E --> F[Lint and validation checks]
Decision needed
Why: The maintainer label and MEMBER association require explicit maintainer handling, and the changed branch is only reachable through a manual workflow dispatch. Before merge
Agent review detailsSecurityNone. PR surfaceTests +40, Config 0. Total +40 across 2 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep one runner-routing policy and confirm a non-release Blacksmith dispatch of this head schedules check-shard on its matrix runner while a release-gate dispatch remains hosted. Do we have a high-confidence way to reproduce the issue? Yes—source is reproducible: current main’s unconditional manual-dispatch clause precedes matrix selection, while the PR’s evaluator encodes the intended Blacksmith result. The focused test was not rerun in this read-only review. Is this the best way to solve the issue? Yes—the condition removes the over-broad dispatch exception at the routing owner while preserving the higher-priority hybrid and explicit release-gate exceptions. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 7e7c5d4d77de. LabelsLabel changes:
Label 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
|
|
ClawSweeper Rank-up move handled.
This proves ordinary trusted Blacksmith |
|
Merged via squash.
|
The previous android-build-play timeout ran before openclaw#130963 ("fix(ci): honor trusted dispatch matrix runners") landed on main at 14:58 UTC. pull_request runs take the workflow from the base branch, so a fresh run picks that up.
What Problem This Solves
Resolves a release-validation problem where ordinary trusted CI dispatches configured for Blacksmith still forced
check-shardonto GitHub-hosted runners. The 2026.9.1 beta validation lint job was externally shut down twice with exit 143 and no lint diagnostic.Why This Change Was Made
Ordinary canonical
workflow_dispatchruns now honor the configured matrix runner forcheck-shard. GitHub and hybrid profiles remain hosted, untrusted pull requests remain hosted, and the exact-headrelease_gatefallback remains explicitly hosted.User Impact
No product runtime behavior changes. Maintainers can validate frozen release candidates using the repository's configured Blacksmith lint runner without weakening contributor trust routing or release-gate isolation.
Evidence
ubuntu-24.04for a canonical Blacksmith lint dispatch instead ofblacksmith-32vcpu-ubuntu-2404.blacksmith-32vcpu-ubuntu-2404; Blacksmithrelease_gate, GitHub, hybrid, and untrusted pull request cases selectubuntu-24.04.pnpm exec vitest run test/scripts/ci-workflow-guards.test.ts: 137 passed, 2 skipped.actionlint .github/workflows/ci.yml: passed.python3 scripts/check-composite-action-input-interpolation.py: passed.node scripts/check-no-conflict-markers.mjs: passed.pnpm exec oxfmt --check test/scripts/ci-workflow-guards.test.ts .github/workflows/ci.yml: passed.git diff --check: passed.pnpm check:workflowscould not install pinnedpre-commit==4.6.2from the host's configured Python index; the directly invoked actionlint and repository workflow guard surfaces above passed.check-lint; both ended duringRun check shardafter runner shutdown, with no lint finding.openai/codexata6e63f9f32525d171676ac49c4e87ab00d76f0ce, includingcodex-cli/bin/codex.js:16-107andcodex-cli/bin/codex.js:195-248; this CI-only change does not alter Codex package selection or process exit semantics.