Repository navigation
fix(core): keep no-follow reads protected where O_NOFOLLOW is missing #10007
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
wenshao
merged 21 commits into
QwenLM:main
from
yiliang114:fix/issue-8227-windows-nofollow
Aug 31, 2026
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
c067b92
fix(core): keep no-follow reads protected where O_NOFOLLOW is missing
yiliang114 bdecd4c
fix(core): keep the no-follow helper mockable by fs spy suites
yiliang114 84df828
fix(core): distinguish inode-unverifiable refusals from ELOOP
yiliang114 55ce9d7
refactor(core): drop the unused flags/mode params from the no-follow …
yiliang114 47d0757
test(core): pin the symlink refusal for the plural session-field read
yiliang114 88d16cb
test(core): pin the async identity re-check of the no-follow fallback
yiliang114 7354a1f
fix(acp): keep no-follow helper off the core barrel
yiliang114 294ffd8
fix(cli): keep registration read off core barrel
yiliang114 d6e4a63
test: resolve no-follow core subpath in consumers
yiliang114 c60046d
test(core): exercise output-tail no-follow fallback
yiliang114 b0d5da7
test(cli): pin unverifiable registration identity
yiliang114 b89e739
Merge branch 'main' into fix/issue-8227-windows-nofollow
wenshao 842bd9f
Merge remote-tracking branch 'fork114/fix/issue-8227-windows-nofollow'
yiliang114 3af3575
build: map noFollowOpen subpath in typecheck programs
yiliang114 e2b5965
test(core): pin fd close, dev check, and pre-open snapshot
yiliang114 a74e249
test(core): pin inode-0 degradation branches in sessionArtifacts and …
yiliang114 4fae763
test(core): run sync fallback identity re-checks on all platforms
yiliang114 3030173
build(cli): map noFollowOpen subpath in cli typecheck paths
yiliang114 5aec7c2
test(core): dedupe no-follow-open fallback mocks, pin best-effort close
yiliang114 e2c80ed
Merge branch 'main' into fix/issue-8227-windows-nofollow
07c31e8
Merge branch 'main' into fix/issue-8227-windows-nofollow
yiliang114 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(core): distinguish inode-unverifiable refusals from ELOOP
The fallback's inode-0 fail-closed refusal carried code 'ELOOP' like a genuine symlink refusal, so consumers with ELOOP-specific handling misfired on LEGITIMATE files on inode-0 volumes (Windows FAT/exFAT/SMB, where Node reports ino 0): session-artifact workspace status flagged a contained file as an escape, the workspace registration store reported a regular store as "must be a regular file", and untracked text files rendered as binary with dropped hunks. Give the inode-unverifiable refusal its own code (EUNVERIFIABLE) plus an isUnverifiableIdentityError guard, keep ELOOP for genuine symlink refusals and identity races, and adjust the three consumers: the artifact status degrades to plain 'missing', the store surfaces an identity-unverifiable error, and the untracked diff read falls back to the pre-#8227 plain read (its lstat gate already rejected symlinks and non-regular files). Co-authored-by: Qwen-Coder <qwen-coder @alibabacloud.com>
- Loading branch information
commit 84df828c035a490bf04aa8ac3c27ef7c9ced4353
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.