GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||
GeezerVison is showing github.com — fs: fix glob early return skipping sibling entries by webdevelopersrinu · Pull Request #64895 · nodejs/node Conversation
Contributor
The children loop in the glob traversal returned from the whole method when a This removes the check — the The regression test pins the directory iteration order that triggers the bug, Supersedes #62901 — the author there agreed to hand over the work Fixes: #62897
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
avivkeller
approved these changes
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as outdated.The children loop in the glob traversal returned from the whole method when a child path had already been seen through a different pattern context, silently dropping the remaining sibling entries. Whether this triggered depended on directory iteration order, which also made test-fs-glob.mjs flaky. Remove the check: the cache.add call at the start of the traversal already prevents reprocessing. Fixes: nodejs#62897 Co-authored-by: semimikoh <[email protected]> Signed-off-by: webdevelopersrinu <[email protected]>
webdevelopersrinu
force-pushed
the
fix-glob-sibling-skip
branch
from
83dee11 to
5247704
Compare
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
trivikr
approved these changes
|
There was an error while loading. Please reload this page.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@ ## main #64895 +/- ## ========================================== - Coverage 90.14% 90.12% -0.03% ========================================== Files 746 752 +6 Lines 242846 252311 +9465 Branches 45771 47431 +1660 ========================================== + Hits 218909 227390 +8481 - Misses 15439 16217 +778 - Partials 8498 8704 +206
🚀 New features to boost your workflow:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Landed in 0ea2c86 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
The children loop in the glob traversal returned from the whole method when a child path had already been seen through a different pattern context, silently dropping the remaining sibling entries. Whether this triggered depended on directory iteration order, which also made test-fs-glob.mjs flaky. Remove the check: the cache.add call at the start of the traversal already prevents reprocessing. Fixes: #62897 Co-authored-by: semimikoh <[email protected]> Signed-off-by: webdevelopersrinu <[email protected]> PR-URL: #64895 Reviewed-By: Aviv Keller <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
The children loop in the glob traversal returned from the whole method when a child path had already been seen through a different pattern context, silently dropping the remaining sibling entries. Whether this triggered depended on directory iteration order, which also made test-fs-glob.mjs flaky. Remove the check: the cache.add call at the start of the traversal already prevents reprocessing. Fixes: #62897 Co-authored-by: semimikoh <[email protected]> Signed-off-by: webdevelopersrinu <[email protected]> PR-URL: #64895 Reviewed-By: Aviv Keller <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
The children loop in the glob traversal returned from the whole method when a child path had already been seen through a different pattern context, silently dropping the remaining sibling entries. Whether this triggered depended on directory iteration order, which also made test-fs-glob.mjs flaky. Remove the check: the cache.add call at the start of the traversal already prevents reprocessing. Fixes: #62897 Co-authored-by: semimikoh <[email protected]> Signed-off-by: webdevelopersrinu <[email protected]> PR-URL: #64895 Reviewed-By: Aviv Keller <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
The children loop in the glob traversal returned from the whole method when a child path had already been seen through a different pattern context, silently dropping the remaining sibling entries. Whether this triggered depended on directory iteration order, which also made test-fs-glob.mjs flaky. Remove the check: the cache.add call at the start of the traversal already prevents reprocessing. Fixes: #62897 Co-authored-by: semimikoh <[email protected]> Signed-off-by: webdevelopersrinu <[email protected]> PR-URL: #64895 Reviewed-By: Aviv Keller <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
The children loop in the glob traversal returned from the whole method when a child path had already been seen through a different pattern context, silently dropping the remaining sibling entries. Whether this triggered depended on directory iteration order, which also made test-fs-glob.mjs flaky. Remove the check: the cache.add call at the start of the traversal already prevents reprocessing. Fixes: #62897 Co-authored-by: semimikoh <[email protected]> Signed-off-by: webdevelopersrinu <[email protected]> PR-URL: #64895 Reviewed-By: Aviv Keller <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
fs.glob: return in cache-seen check aborts sibling processing, makes test-fs-glob.mjs flaky
There was an error while loading. Please reload this page.