AltimateAI / AltimateAI/altimate-code

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

未關閉
#874 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
TypeScript
星號
811
分支
134
平均合併
3 天 2 小時
30 天內合併 PR
50

描述

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`.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。