Skip to content

fix(quality): register 4 drifted covering tests in stryker tap.testFiles (base-red) - #13229

Merged
diegosouzapw merged 1 commit into
release/v3.8.51from
fix/release-v3.8.51-basereds-stryker
Sep 10, 2026
Merged

diegosouzapw merged 1 commit into
release/v3.8.51from
fix/release-v3.8.51-basereds-stryker

Conversation

@diegosouzapw

Copy link
Copy Markdown
Owner

check:mutation-test-coverage --strict has been failing Fast Quality Gates on every open PR against release/v3.8.51. It went from 2 missing entries to 5 in roughly an hour, so it is drifting faster than PRs land — worth draining now rather than letting each PR discriminate it again.

Four test files cover a mutated module without being listed, so their mutant kills do not count:

Mutated module Missing test
open-sse/services/accountFallback.ts openai-compatible-per-upstream-402-health
src/sse/services/auth.ts openai-compatible-per-upstream-402-health, quota-window-label
src/shared/utils/circuitBreaker.ts combo/execute-target-gates
open-sse/services/combo/comboStructure.ts combo-pin-implicit-allowlist

Registration only — no test or module is touched, and no gate is weakened. Listing them is what makes their kills count in the first place.

Inserted in place, never through a JSON round-trip: re-serializing this file reorders the ~10 curated entries that are already out of alphabetical order (learned the hard way in #11438).

Validation

  • check:mutation-test-coverage --strict — ✓ No drift
  • check:tracked-artifacts — OK; prettier --check — clean

For whoever adds the next test

This gate fires whenever a new test happens to cover one of the 31 mutated modules, which is easy to do without noticing — it caught me twice in this cycle. Registering it in the same commit is cheaper than a CI round-trip.

⚠️ base-red inherited: #12732

`check:mutation-test-coverage --strict` has been failing Fast Quality Gates on
every open PR against release/v3.8.51. It grew from 2 missing entries to 5 in
roughly an hour, so it is drifting faster than PRs land.

Four test files cover a mutated module without being listed, so their mutant
kills do not count:

  open-sse/services/accountFallback.ts      <- openai-compatible-per-upstream-402-health
  src/sse/services/auth.ts                  <- openai-compatible-per-upstream-402-health
                                            <- quota-window-label
  src/shared/utils/circuitBreaker.ts        <- combo/execute-target-gates
  open-sse/services/combo/comboStructure.ts <- combo-pin-implicit-allowlist

Registration only — no test or module is touched, and no gate is weakened; the
listing is what makes those kills count in the first place.

Inserted in place, never through a JSON round-trip: re-serializing this file
reorders the ~10 curated entries that are already out of alphabetical order
(learned the hard way in #11438).

check:mutation-test-coverage now reports no drift. check:tracked-artifacts OK,
prettier clean.

Worth noting for whoever adds the next test: this gate fires whenever a NEW test
happens to cover one of the 31 mutated modules, which is easy to do without
realising. Registering it in the same commit is cheaper than a CI round-trip.
@diegosouzapw
diegosouzapw merged commit d86cf75 into release/v3.8.51 Sep 10, 2026
15 of 21 checks passed
muhamadgalihsaputra pushed a commit to niyatna/NiyatnaRoute that referenced this pull request Sep 27, 2026
…les (diegosouzapw#13229)

`check:mutation-test-coverage --strict` has been failing Fast Quality Gates on
every open PR against release/v3.8.51. It grew from 2 missing entries to 5 in
roughly an hour, so it is drifting faster than PRs land.

Four test files cover a mutated module without being listed, so their mutant
kills do not count:

  open-sse/services/accountFallback.ts      <- openai-compatible-per-upstream-402-health
  src/sse/services/auth.ts                  <- openai-compatible-per-upstream-402-health
                                            <- quota-window-label
  src/shared/utils/circuitBreaker.ts        <- combo/execute-target-gates
  open-sse/services/combo/comboStructure.ts <- combo-pin-implicit-allowlist

Registration only — no test or module is touched, and no gate is weakened; the
listing is what makes those kills count in the first place.

Inserted in place, never through a JSON round-trip: re-serializing this file
reorders the ~10 curated entries that are already out of alphabetical order
(learned the hard way in diegosouzapw#11438).

check:mutation-test-coverage now reports no drift. check:tracked-artifacts OK,
prettier clean.

Worth noting for whoever adds the next test: this gate fires whenever a NEW test
happens to cover one of the 31 mutated modules, which is easy to do without
realising. Registering it in the same commit is cheaper than a CI round-trip.
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