repro: disabled routing skips trace-name conflict validation - #3971
Closed
techmannih wants to merge 6 commits into
Closed
techmannih wants to merge 6 commits into
techmannih wants to merge 6 commits into
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
techmannih
added this pull request to stack #3973
September 16, 2026 05:35
This was referenced Sep 16, 2026
|
This PR has been automatically marked as stale because it has had no recent activity. It will be closed if no further activity occurs. |
|
This PR was closed because it has been inactive for 1 day since being marked as stale. |
This branch was successfully 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.
Reproduction
Disabling PCB routing also skips Group's trace-name validation. Two traces named
signalconnect separate resistor pairs and have different source connectivity keys. Normal routing reports the existing name-conflict diagnostic; platformroutingDisabled, boardroutingDisabled, and a disabled legacy autorouter omit that diagnostic.Each scenario has its own explicit test file and annotated PCB snapshot. The three disabled-case assertions capture the current missing diagnostic (
[]); the routing-enabled control asserts its exact existing message. The fix in #3972 changes those three assertions to require the diagnostic. This repro layer changes tests only.Coverage
Snapshot options are identical between the repro and fix layers. The trace-name fixtures use distinct resistor names, so no component is rejected as a duplicate. The legacy fixture also retains existing missing-copper diagnostics; the regression concerns the absent trace-name diagnostic.
Related to tscircuit/tscircuit#4948. Native stack:
main→ this repro → #3972.Validation
tsc --noEmitand Biome checks pass.