Skip to content

Reproduce diagonal routed trace obstacle crash - #3390

Open
ShiboSoftwareDev wants to merge 1 commit into
mainfrom
repro/diagonal-routed-trace-obstacle
Open

Reproduce diagonal routed trace obstacle crash#3390
ShiboSoftwareDev wants to merge 1 commit into
mainfrom
repro/diagonal-routed-trace-obstacle

Conversation

@ShiboSoftwareDev

Copy link
Copy Markdown
Contributor

Summary

  • add a focused regression for the diagonal routed segment that stops the AM62L phased autorouter
  • use the observed source_port_130_0 identity and segment coordinates
  • make no production-code or dependency changes

Reproduction

getObstaclesFromRoute currently throws when an already-routed wire segment is neither horizontal nor vertical. Fanout output routinely contains short 45-degree or chamfered segments, so a parent or later routing scope cannot convert that copper into an obstacle.

The test records the current exception:

getObstaclesFromTrace currently only supports horizontal and vertical traces (not diagonals)

Expected behavior

Diagonal routed copper should become connected obstacle geometry on its physical layer without crashing routing.

Stack

This is the reproduction-only PR. The fix will be proposed as a second PR based on this branch.

Verification

  • bun test tests/utils/autorouting/diagonal-routed-trace-obstacle.test.ts --timeout 30000
  • bunx biome check tests/utils/autorouting/diagonal-routed-trace-obstacle.test.ts
  • git diff --check

@vercel

vercel Bot commented Aug 23, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
tscircuit-core-benchmarks Ready Ready Preview Aug 23, 2026 11:23pm

Request 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.

1 participant