Skip to content

test: reproduce native testpoint Circuit JSON import failure - #4978

Open
rushabhcodes wants to merge 1 commit into
mainfrom
repro/native-testpoint-circuit-json-import
Open

rushabhcodes wants to merge 1 commit into
mainfrom
repro/native-testpoint-circuit-json-import

Conversation

@rushabhcodes

@rushabhcodes rushabhcodes commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Saved native <testpoint /> components cannot be imported from Circuit JSON because simple_test_point has no inflator. Add an AM3352 SBC USB-C power-output fixture, reproduce the failure with test.failing, and capture the missing imported result beside the original circuit.

The regression checks the native testpoint’s source properties, pad geometry and placement, ports, net connections, label text, and saved copper. This PR contains only the fixture, the two reproduction tests, and their visual baseline.

Validation: both reproduction checks pass with Bun 1.4.2, including the expected import failure. No production code changes.

First PR in native GitHub stack #4980. Fixed by #4979. Replaces #4851.

Copilot AI balanced review requested due to automatic review settings October 28, 2026 04:37
@vercel

vercel Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
tscircuit-core-benchmarks Ready Ready Preview Nov 1, 2026 5:52pm UTC

Request Review

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@@ -0,0 +1,57 @@
import { getTestFixture } from "./get-test-fixture"

export const getTestPointInflationFixture = async () => {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The file name get-testpoint-inflation-fixture.tsx does not consistently match the exported function name getTestPointInflationFixture. The kebab-case equivalent of getTestPointInflationFixture would be get-test-point-inflation-fixture.tsx (note the hyphen between 'test' and 'point'). The current filename collapses 'TestPoint' into 'testpoint' without a hyphen, making it inconsistent with the project's naming convention where file names should match at least one export name in kebab-case. Rename the file to get-test-point-inflation-fixture.tsx to match the export name.

Spotted by Graphite (based on custom rule: Custom rule)

Fix in Graphite


Is this helpful? React 👍 or 👎 to let us know.

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown

This PR has been automatically marked as stale because it has had no recent activity. It will be closed if no further activity occurs.

This branch was successfully deployed

1 active deployment
Preview — 122c5305 Deployed Nov 1, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants