Skip to content

Conversation

@imrishabh18
Copy link
Member

@imrishabh18 imrishabh18 commented Nov 30, 2025

No stub anymore

image

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +181 to +185
return (
viaLocations.has(otherLastKey) &&
(otherLastKey === firstKey || otherLastKey === lastKey)
)
})

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Preserve valid via branches when pruning short traces

The new pruning logic considers a two‑point trace to a via redundant as soon as any 3+ point trace on the same layer ends at that via (lines 181‑185), and that flag is used immediately after to delete the short trace. Because the other endpoint of the longer trace is not checked, a net with multiple branches into the same via (e.g. a simple via→pad stub plus a longer via→other pad route) will have the shorter branch removed even though it is the only connection to its pad, breaking connectivity. The condition should also verify the non‑via endpoint matches before dropping the shorter segment.

Useful? React with 👍 / 👎.

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