Files
reverse-engineering-anything/src/kuna
morluto 5dd95a0c1c fix(kuna): classify a spec-scan stop by the recorded interruption (#15137)
* 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.
2026-11-29 20:28:45 -05:00
..