Skip to content

fix(scanner): Resolve Rust workspace imports - #87

Open
reneleonhardt wants to merge 2 commits into
JordanCoin:mainfrom
reneleonhardt:fix/rust-workspace-importers
Open

fix(scanner): Resolve Rust workspace imports#87
reneleonhardt wants to merge 2 commits into
JordanCoin:mainfrom
reneleonhardt:fix/rust-workspace-importers

Conversation

@reneleonhardt

Copy link
Copy Markdown
Contributor

What does this PR do?

  • Resolve mod declarations only within their legal Rust module tree.
  • Resolve fully-qualified crate calls from Cargo workspace membership and package names.
  • Report partial coverage when dynamic routes cannot be inferred.
  • Verify a known cross-layer dependency after Codemap tuning.

Type of change

  • Bug fix
  • New feature
  • New language support
  • Documentation
  • Other

Verification

  • go test ./scanner -run '^TestRustWorkspace' -count=1

Developed with carefully directed, manually reviewed AI assistance.

Co-Authored-By: GPT-5.6 Sol codex@openai.com

@JordanCoin

Copy link
Copy Markdown
Owner

Heads up for sequencing: #84 and #85 just landed on main, and #86 will need a merge-up/rebase against them (details in the comment there) before this one. Expect scanner/filegraph.go and the scanner tests to have moved underneath this branch — probably worth rebasing this after #86 settles rather than before. No review concerns from a first read of the Rust module-tree/Cargo-membership approach; will do a full review once it's rebased.

reneleonhardt and others added 2 commits July 29, 2026 11:46
Co-Authored-By: GPT-5.6 Sol <codex@openai.com>
Co-Authored-By: GPT-5.6 Sol <codex@openai.com>
@reneleonhardt
reneleonhardt force-pushed the fix/rust-workspace-importers branch from d7ac99d to 47f53a6 Compare July 29, 2026 09:50
@reneleonhardt

Copy link
Copy Markdown
Contributor Author

Rebased onto current main without problems.
The reconciliation retains main’s scanner graph contracts alongside the Rust module-tree and Cargo-workspace resolution.
The focused Rust and scanner truth tests, full race-and-coverage suite, vet, staticcheck, build, and --deps smoke test are green.
Ready for full review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants