Skip to content

Respect PCB keepout component exclusions - #176

Merged
seveibar merged 2 commits into
mainfrom
agent/respect-keepout-component-exclusions
Aug 1, 2026
Merged

Respect PCB keepout component exclusions#176
seveibar merged 2 commits into
mainfrom
agent/respect-keepout-component-exclusions

Conversation

@seveibar

@seveibar seveibar commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • read resolved excluded_pcb_component_ids from PCB keepouts
  • map excluded components to their PCB ports, SMT pads, and plated holes
  • skip only trace/keepout DRC violations where connectivity proves the trace belongs to an excluded component
  • keep unrelated trace violations against the same keepout intact

Why

Keepout overlap diagnostics are generated in @tscircuit/checks, so the exemption belongs here rather than in core's Board-level post-processing. This makes the behavior consistent for every consumer of the checks package and removes dependence on generated error-ID formatting.

Dependencies and follow-up

Validation

  • bun test — 133 passed, 0 failed
  • bunx tsc --noEmit
  • bun run build
  • Biome check on changed files

@seveibar
seveibar marked this pull request as ready for review August 1, 2026 02:49
@seveibar
seveibar merged commit b5c1bb1 into main Aug 1, 2026
6 checks passed
@tscircuitbot

Copy link
Copy Markdown
Contributor

Thank you for your contribution! 🎉

PR Rating: ⭐⭐
Impact: Minor

Track your contributions and see the leaderboard at: tscircuit Contribution Tracker


addibble pushed a commit to addibble/checks that referenced this pull request Aug 2, 2026
* Respect keepout component exclusions

* Use released keepout exclusion schema
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