Repository navigation
Conversation
C-Achard
force-pushed
the
cy/project-discovery
branch
from
November 30, 2026 08:14
43175a6 to
459a35c
Compare
C-Achard
force-pushed
the
cy/project-discovery
branch
2 times, most recently
from
November 30, 2026 11:07
84f20cb to
51e9d8a
Compare
- Copy tests/discovery/test_observer.py without test_a_differently_cased_layout_directory_is_one_resource, and tests/discovery/test_symlinks.py without its eight inspection tests; both need inspect_project
Compare symlink targets by file identity rather than path spelling, while checking raw targets against readlink output. Update stat mocks and broken-link assertions accordingly.
Use resolved paths as a fallback for filesystem identity when inode IDs are unavailable, preserving directory cycle detection.
Cover file identity across links and path spellings, error cases, and discovery on filesystems without file IDs.
C-Achard
force-pushed
the
cy/project-discovery
branch
from
November 30, 2026 15:10
51e9d8a to
ab83f96
Compare
This branch has not been deployed
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.
Read-only observation of a project on disk against the declared layout.
probe_pathinspects one path and records filesystem facts (entry kind, symlink target, access errors) without verdicts.discover_projectwalks the layout from the project root and returns anObservedNodetree: each expected node with status, unclaimed entries classified as unknown resources, and unreadable directories with the error.Symlinked directories are followed; loops are marked unreadable (
SymlinkLoop) and not entered.create_symlink_or_skipmoves fromtests/io/conftest.pytotests/conftest.py, sincetests/projectuses it too.inspect_project.