Commit b51ad0f
committed
fix: TRAC-896 - avoid archiveManager readEntry stall on Windows/Node 24 CI
extractZipFiles() called zipFile.readEntry() for the next entry
immediately after the previous entry's pipeline() resolved. On
windows-latest with Node 24.x this stalls once a second real
read+inflate cycle is requested, timing out CI (build (24.x,
windows-latest) failing on PR #1383). The three fastest-failing
tests only skip to the next entry after a completed extraction
cycle; tests that resolve/reject on the first entry are unaffected.
Yield a tick (setImmediate) before calling readEntry() so the prior
entry's zlib inflate stream and fd fully tear down before the next
entry is requested.
Fixes TRAC-8961 parent 2b7d04e commit b51ad0f
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
47 | 53 | | |
48 | 54 | | |
49 | 55 | | |
| |||
0 commit comments