Repository navigation
Windows에서 디렉터리를 파일로 열 때도 not_a_file로 분류했다 - #102
Merged
Merged
Conversation
#101 이후 main CI의 x86_64-pc-windows-msvc job에서 failures_name_missing_paths_and_wrong_kinds_without_values가 실패했다 (expected NotAFile, got Unavailable). Unix는 디렉터리를 읽기용으로 열면 성공한 뒤 metadata 검사에서 NotAFile이 되지만, Windows는 open 자체가 access denied로 실패해서 "거부"로 분류됐다. - 열기 오류 분류에 Directory를 추가했다. NotFound가 아닌 오류일 때 symlink_metadata가 디렉터리(symlink 아님)를 가리키면 Directory로 본다. symlink는 계속 거부다. - 파일 열기(read-text, read-text-lines, stat 대상 파일)는 Directory를 not_a_file로, 디렉터리 열기 경로(list-directory, 쓰기 부모)는 기존처럼 거부로 다룬다. - 같은 job의 나머지 테스트는 --no-fail-fast로 모두 통과했다. 실패는 이 1건뿐이었다. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
무엇을
열기 오류 분류에
Directory를 추가했다. 파일 열기에서 이 분류를 만나면not_a_file로 보고한다.왜
#101 머지 후 main CI의
Platform / x86_64-pc-windows-msvcjob에서query::tests::failures_name_missing_paths_and_wrong_kinds_without_values가 실패했다 (기대값NotAFile, 실제값Unavailable).Windows는 디렉터리를 파일로 열면 open 단계에서 access denied를 돌려준다. 그래서 디렉터리 경로가
not_a_file이 아니라 거부(unavailable)로 분류됐다. symlink는 계속 거부로 남긴다.검증
cargo clippy --workspace --all-targets -D warnings,cargo test --workspace --locked🤖 Generated with Claude Code