mirror of
https://github.com/morluto/rea.git
synced 2026-12-01 11:01:11 +00:00
* fix(kuna): classify a spec-scan stop by the recorded interruption - Decide timeout versus cancellation from the reason recorded when the read stopped, compared with the scan timer's own reason, instead of from whichever signal is aborted once cleanup has settled. A caller cancellation that arrives during the close no longer hides the deadline. - Record an interruption that arrives while a finished directory listing is closing, so its close failure still reports cancellation or timeout. - Drop specScanCancelled, which the recorded reason supersedes. * fix(kuna): keep a listing read failure when a later abort arrives - Record a close-time abort as the scan interruption only when the directory listing finished without a failure, matching the regular-file path. A cancellation or deadline that arrives while a failed close settles no longer replaces a physical read error.