Fix module-aware dependency resolution - #20
Draft
Vashkatsi wants to merge 8 commits into
Draft
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
Summary\n\n- replace global name matching with module-qualified symbol resolution\n- support absolute and relative imports, aliases, analysis-root preference, and fail-closed ambiguity\n- track lexical bindings and shadowing across functions, classes, comprehensions, loops, match, and short-circuit expressions\n- preserve the v1.0 DeplyRunner single-layer map while supporting overlapping layers\n- build and smoke-test installable wheel and source distributions\n- document exact static-analysis boundaries and resolved roadmap item\n\n## Backward compatibility\n\n- CLI commands, flags, config schema, report formats, and exit-code contract are unchanged\n- 167 retained tests from v1.0.0 pass on Python 3.8 and 3.14\n- three obsolete v1.0.0 assertions intentionally changed: two used imports invalid at runtime, one expected a false-positive dependency\n- representative legacy config validates and analyzes 1,679 elements on Python 3.8 and 3.14\n\n## Verification\n\n- make check: 221 tests, Ruff, mypy, and pip-audit passed\n- Python 3.8: 221 tests passed, 7 skipped\n- mutation: 2,554 total; 0 timeout, suspicious, or segfault\n- wheel and sdist: PEP 517 build, twine check, clean install, CLI smoke, and 221 packaged tests passed\n- independent review pending final CI