Repository navigation
fix(lang-ts): share workspace links with dependency analysis - #771
Merged
Merged
Conversation
avidianity
force-pushed
the
fix/issue-760
branch
2 times, most recently
from
December 2, 2026 16:18
07d497f to
0d8d521
Compare
avidianity
force-pushed
the
fix/issue-760
branch
from
December 2, 2026 16:31
0d8d521 to
d0310d4
Compare
avidianity
force-pushed
the
fix/issue-760
branch
from
December 2, 2026 16:35
d0310d4 to
a87a7b7
Compare
This was referenced Dec 2, 2026
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
TypeScript dependency analysis uses the same workspace link selection as import resolution.
An unrelated nested manifest leaves external dependency declarations intact.
Malformed pnpm metadata preserves package.json workspace links.
Closes #760
Tier
Tier 2 from
cargo xtask risk-tier. The default rule applies to the changed source and integration test files.Task
Fail-first test
dependencies::unrelated_manifest_preserves_the_external_dependency_declaration2910ef78: ran one test and failed withleft: ["dev-only", "lodash"],right: [].Checks
cargo xtask merged-resultpassed on the stackSafety proof
dependencies::workspace_links::invalid_pnpm_manifest_preserves_package_json_workspace_linkspassed. It tracedsrc/index.tstopackages/lib/index.tsand found no Dependency hygiene findings.interrogate: None run for this Tier 2 diff.Runtime evidence
Working-tree measurement Feature map. PASS at
0d8d5213for the two CLI regressions. The tests use temporary Git repositories and remove them on exit.Metric version follow-up
unused_dependencies: A same-named fixture manifest can no longer hide an unused external declaration or remove it from the declared count.unlisted_dependencies: A listed external import no longer becomes unlisted when an unrelated fixture has the same package name.dev_in_production_dependencies: A Production import of an external dev dependency retains its dev classification when names collide with unrelated fixtures.The combined Metric version PR will update these versions after the review fixes land.
Gaps