fix(init): surface directory read errors - #1405
Draft
betegon wants to merge 1 commit into
Draft
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
betegon
force-pushed
the
fix/init-surface-readdir-errors
branch
from
August 11, 2026 08:01
a424b62 to
6415d9e
Compare
3 tasks
betegon
force-pushed
the
feat/init-scan-metadata
branch
from
August 11, 2026 13:07
988888c to
3865e9f
Compare
betegon
force-pushed
the
fix/init-surface-readdir-errors
branch
from
August 11, 2026 13:07
6415d9e to
38dfe12
Compare
betegon
force-pushed
the
feat/init-scan-metadata
branch
from
August 11, 2026 13:11
3865e9f to
1c62fcf
Compare
betegon
force-pushed
the
fix/init-surface-readdir-errors
branch
from
August 11, 2026 13:11
38dfe12 to
83b7039
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The init directory walker currently catches every readdir failure and returns an empty array. A missing or unreadable directory is therefore indistinguishable from a genuinely empty repository and can produce a misleading no-files or unknown-platform bail.
Summary
Stack
This PR is based on #1404 because both touch the directory walker. Its own diff only removes the silent readdir fallback and adds error-path coverage; scan metadata and exclusion policy remain in the preceding PR.
Test plan