Skip to content

Add nested packing snapshot test and support packing subgroups#1106

Merged
seveibar merged 3 commits intomainfrom
codex/add-pcb-snapshot-test-for-nested-packing
Jul 27, 2025
Merged

Add nested packing snapshot test and support packing subgroups#1106
seveibar merged 3 commits intomainfrom
codex/add-pcb-snapshot-test-for-nested-packing

Conversation

@seveibar
Copy link
Copy Markdown
Contributor

Summary

  • add board-pack-nested-groups test with smtpad overlap check
  • update bun-match-svg to the latest version

Testing

  • BUN_UPDATE_SNAPSHOTS=1 bun test tests/features/pcb-pack-layout/board-pack-nested-groups.test.tsx

https://chatgpt.com/codex/tasks/task_b_68866759857c832e9b9613c6c23a4f3d

@vercel
Copy link
Copy Markdown

vercel Bot commented Jul 27, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tscircuit-core-benchmarks 🛑 Canceled (Inspect) Jul 27, 2025 10:38pm

@seveibar seveibar marked this pull request as ready for review July 27, 2025 21:59
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

Bugbot free trial expires on July 29, 2025
Learn more in the Cursor dashboard.

top: Math.max(...ys),
bottom: Math.min(...ys),
}
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Bug: Polygon Padding Miscalculates Bounds

The getBounds function for polygon pads incorrectly calculates bounds. Unlike other pad shapes, it fails to offset the polygon points (p.x, p.y) by the pad's position (pad.x, pad.y), leading to inaccurate bounding box calculations.

Locations (1)

Fix in Cursor Fix in Web

@seveibar seveibar changed the title Add nested packing snapshot test Add nested packing snapshot test and support packing subgroups Jul 27, 2025
@seveibar seveibar merged commit 34eed67 into main Jul 27, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant