Advance snapshot for budget-skipped container files#49
Conversation
Greptile SummaryThis PR fixes a bug where files skipped by the session byte-budget cap were never recorded in
Confidence Score: 5/5Safe to merge — the change is a single-line snapshot update that closes a well-understood re-read loop, and the byte-accounting invariants (bytes_total, captured, snapshot) remain consistent across all edge cases. The production change is minimal and targeted: one insert before an existing continue. Tracing through previously-captured files that later grow over budget, brand-new over-budget files, and subsequent deletions all show correct byte-total accounting. The accompanying test covers the three critical scenarios (initial skip, no re-read on unchanged content, re-read on content change), and the FakeSession correctly guards against a future second exec call being mis-parsed as a listing. No files require special attention. Important Files Changed
Reviews (3): Last reviewed commit: "Merge branch 'main' into fix/container-s..." | Re-trigger Greptile |
No description provided.