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 摘要。