fix(ingest): clear slow-file timer on all paths to prevent status revert (#216)
Merged
FO
14d ago+196+196+012345678901234567890123456789-193-193-012345678901234567890123456789
Closes #216
processFile leaked its 3s slow-file timer on every early return; ~3s after ingest the leaked timers fired progressCallback at 100%, overwriting ready back to busy. Now cleared in a finally.
Summary by cubic
Fixes the slow-file timer leak in processFile that caused ingest status to revert from ready back to busy roughly 3 seconds after completion.
- The 3s timer leaked on every early return, and the leaked timers fired
progressCallbackat 100%, overwriting the status. - The timer is now cleared in a
finallyblock so it runs on all code paths, including errors and skips. - Bumps
@four-bytes/four-opencode-brainto1.8.8.