Skip to content

fix(ci): route frozen FRV lint to matrix runner - #131376

Merged
vincentkoc merged 1 commit into
mainfrom
fix/frv-hybrid-frozen-lint-runner-20260828
Aug 28, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
fix/frv-hybrid-frozen-lint-runner-20260828

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Aug 28, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes a release-validation failure where frozen candidates under the hybrid runner backend repeatedly ran the monolithic lint row on GitHub-hosted Ubuntu and were terminated with runner shutdown / exit 143 before oxlint completed.

Why This Change Was Made

Same-repository Full Release Validation now routes only frozen-candidate lint dispatches to the row's matrix runner. Ordinary manual dispatches, release_gate, non-lint rows, non-canonical repositories, and the github backend retain their existing hosted routing.

The CI guide documents this single exception to the normal manual-dispatch rule.

User Impact

Release operators can complete exact frozen-candidate lint proof on the intended Blacksmith 32-vCPU runner without changing the candidate Code SHA or weakening any release gate. There is no product runtime change.

AI-assisted: yes.

Evidence

  • Rebased once onto pinned main abf412aba4708e16641b2cf9134bad43c14a8bfd, which contains the causal Gateway repair, without changing the three-file scope or runner-routing semantics.
  • Exact signed head: 625d53f7192d16d3e93f21c222c9204835c2e016.
  • Pre-fix regression: honors trusted dispatch runner selection for check shards failed because exact frozen FRV hybrid lint resolved to ubuntu-24.04 instead of blacksmith-32vcpu-ubuntu-2404.
  • node scripts/run-vitest.mjs run --config test/vitest/vitest.tooling.config.ts test/scripts/ci-workflow-guards.test.ts -> 139 passed, 2 skipped.
  • pnpm format:check -- .github/workflows/ci.yml docs/ci.md test/scripts/ci-workflow-guards.test.ts -> passed.
  • git diff --check -> passed.
  • node scripts/check-changed.mjs --dry-run -- ... -> expected tooling, docs, and root-test lanes.
  • Local pnpm check:workflows could not obtain pinned pre-commit==4.6.2 from the configured Python package index; this host has neither standalone actionlint nor Go. Exact-head hosted CI is the authoritative workflow syntax gate.

Review Disposition

The latest ClawSweeper review found no actionable code issue. Its only rank-up move was to await exact-head CI; the review's live-proof wrapper timed out before this focused test completed, while the completed local run above passed the full guard file.

@clawsweeper

clawsweeper Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@vincentkoc vincentkoc self-assigned this Aug 28, 2026
@openclaw-barnacle openclaw-barnacle Bot added the docs Improvements or additions to documentation label Aug 28, 2026
@vincentkoc
vincentkoc marked this pull request as ready for review August 28, 2026 01:36
@openclaw-barnacle openclaw-barnacle Bot added size: XS maintainer Maintainer-authored PR labels Aug 28, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 28, 2026
@clawsweeper

clawsweeper Bot commented Aug 28, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge. Reviewed August 28, 2026, 1:28 AM ET / 05:28 UTC.

ClawSweeper review

What this changes

The PR routes frozen same-repository hybrid Full Release Validation lint dispatches to the lint row’s configured runner and documents/tests that exception.

Merge readiness

⛔ Blocked until stronger real behavior proof is added - 2 items remain

Keep open for normal maintainer handling: the routing exception matches the Full Release Validation caller and guard coverage, with no actionable patch defect found; exact-head CI is still running.

Priority: P2
Reviewed head: 625d53f7192d16d3e93f21c222c9204835c2e016

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) PR readiness rating was derived from proof quality, review findings, security review, and reviewer confidence.
Proof confidence 🦪 silver shellfish (2/6) Needs stronger real behavior proof before merge: ClawSweeper live verification failed on the reviewed terminal surface. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Needs proof Needs stronger real behavior proof before merge: ClawSweeper live verification failed on the reviewed terminal surface. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Evidence reviewed 6 items Introduced routing rule: The introduced check-shard expression selects the matrix runner only for hybrid, canonical, non-release-gate, Full Release Validation-prefixed, frozen-target lint dispatches.
Caller contract: Full Release Validation creates the matching dispatch identifier and passes the canonical target context only for release-branch contexts.
Preflight owner boundary: CI exports frozen_target, derived from an exact target checkout differing from the workflow revision; target-context validation runs before the manifest is consumed by check shards.
Findings None None.
Security None None.

Live Verification

Command: node scripts/run-vitest.mjs run --config test/vitest/vitest.tooling.config.ts test/scripts/ci-workflow-guards.test.ts

Result: FAIL (failed) — step 1 expect_output passed: expected terminal output was not visible within 30 seconds: "passed"

[failure]
expected terminal output was not visible within 30 seconds: "passed"

[command 1 combined output]
RUN  v4.1.11 /tmp/clawsweeper-live-proof-131376-xza49j/target

 ✓  tooling  test/scripts/ci-workflow-guards.test.ts › ci workflow guards › gates frozen runtime-pair compatibility on the trusted suite outcome 93ms
 ✓  tooling  test/scripts/ci-workflow-guards.test.ts › ci workflow guards › separates release QA lanes without weakening their resource locks 88ms
 ✓  tooling  test/scripts/ci-workflow-guards.test.ts › ci workflow guards › preserves module heredocs and cleans child temporary artifacts 98ms
 ✓  tooling  test/scripts/ci-workflow-guards.test.ts › ci workflow guards › routes PR edited metadata only to interested automation 12ms
 ✓  tooling  test/scripts/ci-workflow-guards.test.ts › ci workflow guards › keeps ClawSweeper dispatch events aligned with receiver workflows 5ms
 ✓  tooling  test/scripts/ci-workflow-guards.test.ts › ci workflow guards › runs the PR context and evidence gate only for relevant PR changes 1ms
 ✓  tooling  test/scripts/ci-workflow-guards.test.ts › ci workflow guards › isolates auto-response per item and ignores ClawSweeper PR label feedback 1ms
 ✓  tooling  test/scripts/ci-workflow-guards.test.ts › ci workflow guards › routes stale bug issues through ClawSweeper instead of Barnacle closure 8ms
 ✓  tooling  test/scripts/ci-workflow-guards.test.ts › ci workflow guards › makes the hosted release-gate fallback explicit and exact-SHA only 42ms
 ✓  tooling  test/scripts/ci-workflow-guards.test.ts › ci workflow guards › keeps Testbox pull request validation off leased runner capacity 6ms
 ✓  tooling  test/scripts/ci-workflow-guards.test.ts › ci workflow guards › keeps every path-filtered hosted gate runnable on landing-relevant events 12ms
 ✓  tooling  test/scripts/ci-workflow-guards.test.ts › ci workflow guards › pins every external GitHub Action reference to a full commit SHA 17ms
hint: Using 'master' as the name for the initia
… output truncated …
 ✓  tooling  test/scripts/ci-workflow-guards.test.ts › ci workflow guards › splits native source verification from generated locale parity 28ms
 ✓  tooling  test/scripts/ci-workflow-guards.test.ts › ci workflow guards › measures startup memory before the built artifact-check wave 21ms
 ✓  tooling  test/scripts/ci-workflow-guards.test.ts › ci workflow guards › runs the scoped SQLite lifecycle proof against the exact built artifact 23ms
 ✓  tooling  test/scripts/ci-workflow-guards.test.ts › ci workflow guards › restores dist in PR CI and saves it only from the trusted warmer 27ms
 ✓  tooling  test/scripts/ci-workflow-guards.test.ts › ci workflow guards › keeps the AI runtime in Testbox build artifact caches 2ms
 ✓  tooling  test/scripts/ci-workflow-guards.test.ts › ci workflow guards › keeps the full built TUI PTY suite out of the artifact canary gate 23ms
 ✓  tooling  test/scripts/ci-workflow-guards.test.ts › ci workflow guards › keeps docs i18n CI on the workflow-owned Go toolchain 26ms
 ✓  tooling  test/scripts/ci-workflow-guards.test.ts › ci workflow guards › fails and retries quiet Node test shard stalls quickly 22ms
 ✓  tooling  test/scripts/ci-workflow-guards.test.ts › ci workflow guards › clamps Node test workers to the detected core count 31ms
 ✓  tooling  test/scripts/ci-workflow-guards.test.ts › ci workflow guards › uses candidate-owned script interfaces for frozen target CI 35ms
 ✓  tooling  test/scripts/ci-workflow-guards.test.ts › ci workflow guards › emits one final CI gate after every selected lane 24ms
 ✓  tooling  test/scripts/ci-workflow-guards.test.ts › ci workflow guards › runs Node 22 compatibility only from manual CI dispatches 34ms
 ✓  tooling  test/scripts/ci-workflow-guards.test.ts › ci workflow guards › accepts only successful required jobs and successful or skipped selected jobs 124ms
 ✓  tooling  test/scripts/ci-workflow-guards.test.ts › ci workflow guards › resolves topology-aware protocol bases and drives the real guard 3599ms

Assertions:

  • FAIL expect_output: passed

How this fits together

Full Release Validation dispatches the normal CI workflow for an exact release candidate SHA. CI preflight establishes whether that target is frozen, and the check matrix then chooses the runner for lint and other static-validation lanes.

flowchart LR
  A[Full Release Validation] --> B[CI dispatch inputs]
  B --> C[CI preflight]
  C --> D[Frozen target decision]
  D --> E[Check matrix]
  E --> F[Lint runner selection]
  F --> G[Release validation evidence]
Loading

Before merge

  • Add real behavior proof - Needs stronger real behavior proof before merge: ClawSweeper live verification failed on the reviewed terminal surface. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
  • Complete next step (P2) - Allow exact-head CI to complete, then make the normal maintainer merge decision; no mechanical repair lane is warranted.
Agent review details

Security

None.

PR surface

Tests +32, Docs 0, Config 0. Total +32 across 3 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 35 3 +32
Docs 1 1 1 0
Config 1 1 1 0
Generated 0 0 0 0
Other 0 0 0 0
Total 3 37 5 +32

Review metrics

Metric Value Why it matters
Production versus test delta automation +0 net (1 expression replaced), docs +0 net, tests +32 net The production routing behavior is a one-for-one replacement; added lines are focused guard cases for the new dispatch boundary.

Technical review

Best possible solution:

Retain the narrowly gated exception and merge only after the exact-head workflow run confirms GitHub Actions evaluates it as intended.

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

Yes: the focused workflow guard exercises the exact frozen Full Release Validation input combination, and current main’s expression still resolves hybrid dispatches through the hosted branch.

Is this the best way to solve the issue?

Yes: the patch changes the runner decision at its owner boundary and constrains it with the caller’s dispatch identity, validated target context, frozen-target fact, and lint task.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 648d0c43c85c.

Labels

Label changes:

  • add rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦪 silver shellfish and patch quality is 🦞 diamond lobster.
  • add status: needs maintainer proof decision: A ClawSweeper-authored PR needs a maintainer proof capture or override decision. Needs stronger real behavior proof before merge: ClawSweeper live verification failed on the reviewed terminal surface. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
  • remove rating: 🐚 platinum hermit: Current PR rating is rating: 🦪 silver shellfish, so this older rating label is no longer current.
  • remove status: 👀 ready for maintainer look: Current PR status label is status: needs maintainer proof decision.

Label justifications:

  • P2: This is a bounded release-validation automation repair with no product-runtime impact.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦪 silver shellfish and patch quality is 🦞 diamond lobster.
  • status: needs maintainer proof decision: A ClawSweeper-authored PR needs a maintainer proof capture or override decision. Needs stronger real behavior proof before merge: ClawSweeper live verification failed on the reviewed terminal surface. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.

Evidence

What I checked:

Likely related people:

  • Vincent Koc: Previously landed trusted-dispatch runner routing and authored the current focused repair. (role: recent CI routing contributor; confidence: high; commits: 5090935817e3, 19762af88e31; files: .github/workflows/ci.yml, test/scripts/ci-workflow-guards.test.ts)
  • Peter Steinberger: Recent merged CI matrix work changed the surrounding runner-planning surface. (role: recent workflow contributor; confidence: medium; commits: a6cc62fce55f; files: .github/workflows/ci.yml, docs/ci.md)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Add after-fix proof from a real setup, such as a short recording, terminal output, linked artifact, or redacted logs.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (1 earlier review cycle)
  • reviewed 2026-08-28T01:43:29.881Z sha eaf2954 :: needs maintainer review before merge. :: none

@vincentkoc
vincentkoc force-pushed the fix/frv-hybrid-frozen-lint-runner-20260828 branch from eaf2954 to 625d53f Compare August 28, 2026 05:21
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: needs maintainer proof decision A ClawSweeper-authored PR needs a maintainer proof capture or override decision. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 28, 2026
@vincentkoc

Copy link
Copy Markdown
Member Author

Maintainer proof disposition for the latest ClawSweeper review:

  • Accepted: exact-head CI run 33144507279 attempt 2 is green at 625d53f7192d16d3e93f21c222c9204835c2e016 with 127 successful jobs and zero failures.
  • The review found no actionable patch or security issue.
  • The optional separate manual-dispatch proof is skipped. ClawSweeper's live command was still producing passing guard output when its 30-second output matcher expired; the same complete guard file passed locally with 139 tests and 2 skips.
  • A second standalone manual CI dispatch here would duplicate the just-completed exact-head matrix. The release procedure requires an immediate fresh rerun_group=all, reuse_evidence=false Full Release Validation after this tooling merge against new Code SHA 6e9fefd1aa42fc4af0d7c0b4056fabf3e10d48e8. That immutable run is the authoritative end-to-end proof of this exact frozen-FRV lint runner route; publication remains blocked unless it is green.

No Rank-up move is being left implicit.

@vincentkoc
vincentkoc merged commit a33c8a5 into main Aug 28, 2026
320 of 323 checks passed
@vincentkoc
vincentkoc deleted the fix/frv-hybrid-frozen-lint-runner-20260828 branch August 28, 2026 05:46
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

@vincentkoc

Copy link
Copy Markdown
Member Author

Post-merge proof clarification:

  • Exact-head CI completed green at 625d53f7192d16d3e93f21c222c9204835c2e016; all required PR checks were successful with no pending or failed check.
  • ClawSweeper found no actionable patch or security issue.
  • The optional PR-controlled manual-dispatch proof is explicitly skipped. Authoritative frozen-FRV runner-routing evidence requires the workflow source to be landed on trusted main and bound to its protected Tooling SHA; a dispatch from the PR branch must not be adopted as release evidence.
  • The immediate fresh complete Full Release Validation on Code SHA 6e9fefd1aa42fc4af0d7c0b4056fabf3e10d48e8, using the protected tag for landed Tooling SHA a33c8a5c0ec6de63882ca60f92284aef31d0faa1, is the required real behavior proof. Publication and changelog generation remain blocked unless that immutable all-group run is green.

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 maintainer Maintainer-authored PR P2 Normal backlog priority with limited blast radius. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. size: XS status: needs maintainer proof decision A ClawSweeper-authored PR needs a maintainer proof capture or override decision.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant