Skip to content

chore(ci): add quota + 6 covered chatCore leaves to stryker mutate (QG v2 Fase 9 T5 Fase 3 follow-up) - #4209

Merged
diegosouzapw merged 2 commits into
release/v3.8.29from
chore/qg-fase3b-mutation-quota
Jun 18, 2026
Merged

diegosouzapw merged 2 commits into
release/v3.8.29from
chore/qg-fase3b-mutation-quota

Conversation

@diegosouzapw

@diegosouzapw diegosouzapw commented Jun 18, 2026 •

Copy link
Copy Markdown
Collaborator

O que

Follow-up da Fase 3 (#4205) — completa o re-add da lógica de routing/handler ao mutation testing após os splits. Config/CI apenas (nightly advisory).

1. Quota (após #4204 D7b mergear)

  • +combo/quotaScoring.ts + combo/quotaStrategies.ts → batch f. Cobertos por combo-prescreen/combo-config/combo-strategy-fallbacks.

2. chatCore leaves (auditoria de cobertura)

Auditei cada um dos 15 chatCore/* leaves: "algum tap.testFile referencia os nomes das funções exportadas do leaf?". 6 têm cobertura direta → adicionados como batch g:
comboContextCache · idempotency · passthroughHelpers · responseHeaders · sanitization · upstreamTimeouts

Os outros 9 (executorHelpers/headers/logTruncation/memoryExtraction/memorySkillsInjection/nonStreamingSse/passthroughToolNames/semanticCache/telemetryHelpers) só são exercitados transitivamente via handleChatCore — adicioná-los às cegas geraria ruído "survived (no coverage)". Deferidos até ganharem teste unitário dedicado (ou um --dryRunOnly confirmar a cobertura). Documentado no _mutate_godfiles_excluded_comment.

Resultado

  • stryker.conf.json: mutate 14 → 22 módulos (+2 quota, +6 chatCore).
  • nightly-mutation.yml: batch-matrix 5 → 7 batches (f=quota, g=chatCore-6).
  • Run step injection-safe (BATCH_MUTATE env var).

Validação

  • stryker.conf.json parse OK (mutate=22) · nightly-mutation.yml YAML OK (7 batches) · todos os 22 paths existem · injection-safe preservado.
  • Scores/timing reais vêm da execução noturna (advisory).

Resta (Fase 3)

  • 9 chatCore leaves sem teste dedicado · barrels combo.ts/chatCore.ts (após split dos cores — ChatCoreContext, sub-plano).

🤖 Generated with Claude Code

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@diegosouzapw diegosouzapw changed the title chore(ci): add reset-aware quota leaves to stryker mutate + batch f (QG v2 Fase 9 T5 Fase 3 follow-up) chore(ci): add quota + 6 covered chatCore leaves to stryker mutate (QG v2 Fase 9 T5 Fase 3 follow-up) Jun 18, 2026
@diegosouzapw
diegosouzapw merged commit 8a0863c into release/v3.8.29 Jun 18, 2026
4 checks passed
@diegosouzapw diegosouzapw mentioned this pull request Jun 19, 2026
@diegosouzapw
diegosouzapw deleted the chore/qg-fase3b-mutation-quota branch June 19, 2026 12:06
tkgo11 pushed a commit to tkgo11/OmniRoute that referenced this pull request Sep 23, 2026
…G v2 Fase 9 T5 Fase 3 follow-up) (cheaper-inference#4209)

Integrated into release/v3.8.29 (round 7). CI-only: stryker mutate += quotaScoring/quotaStrategies (batch f) + 6 covered chatCore leaves (batch g); nightly matrix 5->7 batches. Follow-up to cheaper-inference#4205/cheaper-inference#4204.
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