mirror of
https://github.com/stablyai/orca.git
synced 2026-11-19 04:23:57 +00:00
Mark invalidated diff content stale instead of dropping it, mirroring the file-content treatment from #13634. The diff read-generation fence (diffReadGenerationRef) already rejects a superseded read's write-back, so retaining the bytes and swapping them on arrival is safe and keeps every RPC saving -- it just stops the loading placeholder flashing on each reveal. The git-status reload effect now treats a stale entry like a missing one so the lazy-load effect stays the single fetcher for it. Co-authored-by: Orca <help@stably.ai>