Repository navigation
fix(server): detect replaced transcripts with large file identities - #21464
Conversation
ApprovabilityVerdict: Needs Human Approval Macroscope's review found this PR requires human approval — The PR is a focused fix for preserving large filesystem identities and includes targeted regression coverage. Human review is warranted because the identity comparison controls whether transcript processing is skipped or performed. No code changes detected at You can add or adjust custom eligibility rules. Learn more. |
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Baseline: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
c336490 to
aa53fbb
Compare
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
Port of Zacharon’s PR #20346 for maintainer reconstruction and focused regression review.
bd90edf to
18bb059
Compare
Windows file IDs can exceed JavaScript’s safe-integer range. The scanner converted Effect’s exact bigint inode to Number, so adjacent IDs could collide and a same-path, same-size, same-timestamp replacement was incorrectly treated as already imported. Preserve the ID as a decimal string and normalize legacy numeric IDs only for comparison. Existing handle-bound reads and the completed-history shortcut remain in use.
Top layer of the maintainer takeover of #20346 by @Zacharon; contract compatibility is in #21463. Removed the original native fallback and its ABA workaround: current Effect already supplies exact bigint stat/fstat and reads from the same opened handle. No new filesystem service or diagnostic suppression remains.
Validation at bd90edff1c:
Model and harness: GPT-6.1-Sol via Codex in T3 Code; tests GPT-6-Astra; independent reviews Claude Opus 5.5 and GPT-6-Sol.
Fixes #14838