Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

🤖 tests: restore live coverage for large native-1M compaction (Sonnet 4.6)

Chiusa
#4,402 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
testing

Direzione di ricerca

Look at the test file tests/ipc/compaction1MRetry.integration.test.ts to understand the deterministic loopback-fixture test. Investigate the live model's behavior changes around 2026-09-23 and the finishReason: content-filter issue. Determine if a live native-1M compaction check should be added back as an optional or scheduled job, considering cost and provider-side classifiers.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Summary

The fix for #4398 turns tests/ipc/compaction1MRetry.integration.test.ts into a deterministic loopback-fixture test of the Anthropic 1M beta retry. That removes the only live check that a large native-1M compaction (anthropic:claude-sonnet-4-6, about 500k tokens) is accepted and completes. The old test never exercised the retry, because Sonnet 4.6 has been native 1M since #2970, but it did give that live compatibility signal.

Open questions

  • Why the live model began returning finishReason: content-filter for that request (repeated-pangram filler) around 2026-09-23 15:31–15:55Z. This is unexplained; varied filler is only a hypothesis.
  • Whether a live native-1M compaction check belongs in the required integration gate at all, given its cost (about 500k input tokens per run) and its exposure to provider-side classifiers. An optional or scheduled job may fit better.

Follow-up trigger

Revisit when native-1M compaction behavior changes (model catalog or compaction limits), or before the next change to large-context compaction handling.


Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high • Cost: $64.89

Lingua principale
TypeScript
Stelle
2.1k
Fork
142
Merge medio
5h 26m
PR unite (30g)
903

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di coder/xum

Tutte le issue di coder/xum

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.