Skip to content

fix(ci): register native-codex-turn-pin tests in stryker tap.testFiles (base-red) - #12257

Closed
diegosouzapw wants to merge 1 commit into
release/v3.8.51from
fix/release-v3.8.51-basereds-stryker-tap
Closed

diegosouzapw wants to merge 1 commit into
release/v3.8.51from
fix/release-v3.8.51-basereds-stryker-tap

Conversation

@diegosouzapw

Copy link
Copy Markdown
Owner

Base-red drain for release/v3.8.51: the tip fails check:mutation-test-coverage --strict (job Fast Quality Gates) for every PR.

Root cause

#12240 and #10573 added tests/unit/native-codex-turn-pin-10379.test.ts and tests/unit/native-codex-turn-pin-model-scoped-fallback.test.ts, which cover the mutated modules open-sse/services/accountFallback.ts and src/shared/utils/circuitBreaker.ts — but neither was registered in stryker.conf.json → tap.testFiles, which that gate enforces in strict mode. First exposed by the docs-only PR #12250 (its only red is this gate; reproduced locally on the pristine tip).

Fix

Register both files in tap.testFiles (alphabetical position). Local run now: ✓ No drift — every covering unit test is listed in tap.testFiles across 4728 test files / 31 mutated modules. Their mutant kills now also count in the nightly mutation run.

Config-only change to a quality-gate manifest — no production code.

PRs #12240 and #10573 added tests covering accountFallback.ts and
circuitBreaker.ts (both mutated modules) without listing them in
stryker.conf.json tap.testFiles, so check:mutation-test-coverage --strict
fails on the release/v3.8.51 tip for every PR (first exposed by #12250,
a docs-only PR). Registering both files clears the drift and lets their
mutant kills count in the nightly.
@diegosouzapw

Copy link
Copy Markdown
Owner Author

Superseded by #12255, which covers the same stryker tap.testFiles registration AND aligns the two native-codex-turn-pin suites to the #12247 window gate — the second base-red layer this PR's own CI hit (Unit Tests shards 3/4 + 4/4) and did not address. Closing my narrower duplicate so #12255 lands without a double-merge race; #12250 (docs) waits on it.

@diegosouzapw
diegosouzapw deleted the fix/release-v3.8.51-basereds-stryker-tap branch September 1, 2026 05:20
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.

1 participant