AltimateAI / AltimateAI/altimate-code

fix(tracing): sweep .tmp.* trace files even when maxFiles is 0 (unlimited)

Aperta
#874 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
811
Fork
134
Merge medio
3g 2h
PR unite (30g)
50

Descrizione

Found during v0.8.1 release review (Chaos Gremlin, P3). Pre-existing.

`FileExporter` only sweeps leftover `.tmp.*` snapshot files via `pruneOldTraces` when `maxFiles > 0` (default 100, so the common path is fine). With `maxFiles: 0` ('unlimited'), repeated crashes can slowly accumulate `.tmp.*` files under the user-private data dir. Run the tmp sweep unconditionally, independent of `maxFiles`.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.