Skip to content

Recover missing J4.5 trace to routed divider junction - #895

Closed
Sang-it wants to merge 7 commits into
mainfrom
fix/j4-direct-tap-label-fallback
Closed

Recover missing J4.5 trace to routed divider junction#895
Sang-it wants to merge 7 commits into
mainfrom
fix/j4-direct-tap-label-fallback

Conversation

@Sang-it

@Sang-it Sang-it commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Summary\n\n- extend the existing NetLabelToTraceSolver recovery stage to recognize a local port-only tap whose two direct neighbors already form a routed trace\n- route the missing branch to the host trace label anchor, so J4.5 joins the midpoint between R26 and R27 instead of targeting either resistor pin\n- keep the recovery topology-based and distance-bounded; no selector-specific utility or MSP exception remains\n- expose the final pipeline result through SchematicTracePipelineSolver.getOutput()\n- make Circuit JSON snapshots use the solver output before intermediate pipeline stages\n\n## Root cause\n\nNetLabelToTraceSolver only created recovery candidates between two port-only labels. In this repro, J4.5 had a port-only fallback label while the matching label was already anchored to the routed R26-R27 trace, so the final recovery stage never considered the trace that could have been drawn between them.\n\nThe snapshot converter also preferred InlineNetLabelSolver output, which is captured immediately before the final recovery stage. Pipeline snapshots now consume the solved pipeline's final output without repro-specific setup.\n\n## Validation\n\n- bun test (216 passed, 4 skipped)\n- bunx tsc --noEmit\n- bun run format:check\n- git diff --check\n\nTargets the reproduction merged in #894.

@vercel

vercel Bot commented Aug 25, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
schematic-trace-solver Ready Ready Preview Aug 26, 2026 6:58pm

Request Review

@Sang-it
Sang-it force-pushed the fix/j4-direct-tap-label-fallback branch from 70c7584 to e56bd8f Compare August 25, 2026 22:36
@Sang-it Sang-it changed the title Fix redundant labels on routed selector taps Fix missing traces for isolated selector taps Aug 25, 2026
@Sang-it
Sang-it force-pushed the fix/j4-direct-tap-label-fallback branch from e56bd8f to 3342602 Compare August 25, 2026 23:05
@Sang-it Sang-it changed the title Fix missing traces for isolated selector taps Recover missing J4.5 trace to routed divider junction Aug 25, 2026
@Sang-it
Sang-it force-pushed the fix/j4-direct-tap-label-fallback branch from 3342602 to b1221a2 Compare August 25, 2026 23:13
@Sang-it
Sang-it force-pushed the fix/j4-direct-tap-label-fallback branch from b1221a2 to e3f6b21 Compare August 25, 2026 23:24
@Sang-it
Sang-it force-pushed the fix/j4-direct-tap-label-fallback branch from e3f6b21 to cfdb832 Compare August 25, 2026 23:29
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.

1 participant