Repository navigation
ci: add runner label escape hatches - #1157
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 13, 2026, 9:11 PM ET / August 14, 2026, 01:11 UTC. ClawSweeper reviewWhat this changesThe PR adds repository-variable runner overrides, with current Blacksmith labels as fallbacks, for six GitHub Actions jobs. Regression provenancePossible regression — probable (failure trace; reviewed change). No predecessor PR is attributed. Merge readinessKeep this PR open for maintainer review: the provided diff and same-head prior review support the implementation and proof, but runner overrides change operational workflow execution and the local read-only inspection environment failed before independent checkout/history verification. Priority: P2 Review scores
Verification
How this fits togetherClawSweeper’s GitHub Actions workflows run reporting, repair, containment, automerge, and spam-processing lanes. Each job resolves a repository variable or its established Blacksmith runner label before execution. flowchart LR
A[Repository variables] --> C[Runner selection]
B[Blacksmith fallback labels] --> C
C --> D[Report and review jobs]
C --> E[Repair and containment jobs]
C --> F[Spam processing jobs]
D --> G[Operational workflow results]
E --> G
F --> G
Decision needed
Why: The patch preserves fallback behavior, but the acceptable executor and operational lifetime for jobs that may handle reporting, spam, repair, or repository-token work is an ownership policy choice rather than a mechanically provable property. Before merge
Agent review detailsSecurityNone. Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Adopt a maintainer-approved incident-runner policy that names the authorized override variables, eligible runner classes, responsible operator, and removal conditions while retaining Blacksmith defaults when no override is set. Do we have a high-confidence way to reproduce the issue? Not applicable as a conventional bug report; the provided PR evidence instead documents an after-fix report-lane dispatch and runner assignment. Is this the best way to solve the issue? Unclear until a maintainer confirms the operational trust policy; preserving the existing labels as fallbacks is a narrow implementation, but the permitted override scope is a human decision. AGENTS.md: unclear because the file could not be read completely. Codex review notes: model internal, reasoning high; reviewed against dc738b384565. 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
History |
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
Summary
The 2026-08-13 Blacksmith us-west outage showed that review jobs could fail over through their existing repository-variable runner controls, while six jobs still had literal Blacksmith
runs-onlabels and could not start elsewhere. In particular, the automerge E2E smoke stayed permanently queued while PR #1155 had to merge past it.This change gives every Blacksmith-backed job a repository-variable escape hatch while preserving its current label as the fallback. Under the amended live-proof authority,
CLAWSWEEPER_REPORT_RUNNER=ubuntu-latestis now set and intentionally remains set while Blacksmith us-west is unavailable. The E2E and spam variables remain unset, so their fallbacks are unchanged.The six migrated jobs use:
CLAWSWEEPER_E2E_RUNNERfor automerge E2E and containment smokeCLAWSWEEPER_REPORT_RUNNERfor the maintainer Discord reportCLAWSWEEPER_SPAM_RUNNERfor spam intake and scanningCLAWSWEEPER_WORKER_RUNNERfor repair result publicationValidation
The new workflow-tree ratchet parses every job and rejects a Blacksmith runner assignment without a
vars.CLAWSWEEPER_*_RUNNERfallback. It also pins the six current mappings and unchanged default labels. Existing automerge and containment workflow-shape tests assert the exact expressions.workflow_dispatchfromsteipete/runner-label-escape-hatchesat32334740ba22b0e7fe69d1c71bfc013441f3dbf6ubuntu-latest; assigned runnerGitHub Actions 1011717149, runner groupGitHub Actions; job completed successfullyblacksmith-4vcpu-ubuntu-2404, Blacksmith runner/groupCLAWSWEEPER_REPORT_RUNNER=ubuntu-latest;CLAWSWEEPER_E2E_RUNNERandCLAWSWEEPER_SPAM_RUNNERabsentpnpm run checkpassed, 3,419 passed / 0 failed / 9 skippedprovider=local-container, imagenode:24-bookworm, leasecbx_d1a06e39d867(golden-prawn-16e4)f84b7d60daa24d979eef6299be0d9c2a55fdab6232334740ba22b0e7fe69d1c71bfc013441f3dbf611117ec402f19bf3a51d64be512136ec55576599git rev-parseand verified withgit cat-file; the one-shot Crabbox lease stopped and is absent from the local-container inventoryThe committed proof is under
docs/proof/runner-label-escape-hatches/.live-actions.mdcontains the redacted Actions/API transcript, exact runner assignment, historical contrast, behavior contract, object cross-checks, and variable end-state. The directory also retains the RED/GREEN transcript, staticjqrecipe, and container receipt.Proof limits
The live run exercises the report-lane override expression, GitHub-hosted runner assignment and pickup, and successful report-job completion. It does not dispatch the E2E, containment, repair-publication, or spam lanes; those exact mappings and unchanged fallbacks remain covered by the workflow-shape tests and repository gate. The same-job historical run provides the report lane's pre-change Blacksmith contrast.
OpenClaw Bay is unaffected because this changes runner selection only, not workflow lifecycle publication, status telemetry, dashboard data contracts, or the observer-only action boundary.