mirror of
https://github.com/stablyai/orca.git
synced 2026-10-31 00:57:45 +00:00
When a diff section is invalidated while a large-diff load is in-flight: - Don't delete the in-flight load from loadingIndicesRef, since a newer load may own it - Bump the reload token but defer the reload if there's still an in-flight load - Let the in-flight load settle first, then reschedule the reload at settle-time - Prevents the freeze by avoiding race conditions that leave sections stuck loading This fixes STA-3420 where rebase-driven invalidations could hang the diff view.