Skip to content

fix(ci): route the moved mutation-pilot configs to the core job - #2983

Merged
branarakic merged 1 commit into
testnet-canaryfrom
fix/route-moved-mutation-config
Oct 3, 2026
Merged

branarakic merged 1 commit into
testnet-canaryfrom
fix/route-moved-mutation-config

Conversation

@branarakic-agent

Copy link
Copy Markdown
Contributor

Summary

testnet-canary fails the repository-script tests since #2920 and #2957 both landed. Each passed on its own; together they break the load-closure guard:

not ok - every file a lane runs, or loads by relative path, selects that lane
  tornado_core loads test-policy/stryker.config.mjs via ci.yml tornado-core > test:mutation

#2957 moved stryker.config.mjs and vitest.mutation.config.ts from the repository root into test-policy/. At the root they were unclassified paths, which plan full CI. Under test-policy/ they match the rule for the policy files the build job checks, which selects no lane. But the core job runs both through pnpm test:mutation, so #2920's guard (merged just before) requires a change to them to select tornado_core.

Every PR's CI runs on its merge with canary, so this failure shows up in the "Build packages" job, and therefore the CI gate, of every open PR until it is fixed.

Change

  • scripts/lib/ci-routing.mjs: a rule ahead of the test-policy/ one routes test-policy/stryker.config.mjs and test-policy/vitest.mutation.config.ts to tornado_core. The rest of test-policy/ is unchanged.
  • scripts/lib/__tests__/ci-delta-routing.test.mjs: a test pins both files to the core lane and keeps test-policy/vitest.properties.config.ts, which no CI job runs, on the build job alone.

Verification

Check Before After
node --test scripts/lib/__tests__/ci-delta-routing.test.mjs 14 of 15 pass, the guard above fails 16 of 16 pass
pnpm run test:scripts 434 of 435 pass (same failure) 435 of 435 pass
pnpm run lint pass

🤖 Generated with Claude Code

#2957 moved stryker.config.mjs and vitest.mutation.config.ts from the
repository root into test-policy/. At the root they were unclassified paths
and planned full CI. Under test-policy/ they match the rule for the test
policy files the build job checks, which selects no lane. The core job runs
both through `pnpm test:mutation`, so the load-closure guard added by #2920
fails on testnet-canary:

  tornado_core loads test-policy/stryker.config.mjs via ci.yml tornado-core > test:mutation

A rule ahead of the test-policy/ one routes the two configs to tornado_core.
The rest of test-policy/ is unchanged. A test pins both files to the core lane
and keeps vitest.properties.config.ts, which no CI job runs, on the build job
alone.

Repository-script tests: 435 pass (434 with one failure before this change).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@otReviewAgent otReviewAgent left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Agent completed this review and found no issues.

@branarakic
branarakic enabled auto-merge October 2, 2026 23:17
@branarakic
branarakic added this pull request to the merge queue Oct 3, 2026
Merged via the queue into testnet-canary with commit 6f06e51 Oct 3, 2026
101 of 104 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants