Skip to content

fix: tsci push fallback to findBoardFiles when no entrypoint#1

Open
LittleLemonDrop wants to merge 16 commits into
mainfrom
fix/push-entrypoint-fallback
Open

fix: tsci push fallback to findBoardFiles when no entrypoint#1
LittleLemonDrop wants to merge 16 commits into
mainfrom
fix/push-entrypoint-fallback

Conversation

@LittleLemonDrop
Copy link
Copy Markdown
Owner

Matches tsci dev behavior: when getEntrypoint returns null (no
index.circuit.tsx, no mainEntrypoint), fall back to searching for
board files in the project instead of silently continuing with
snippetFilePath=undefined.

Closes tscircuit#2797

- Re-added hasWarnings tracking in build-file.ts, register.ts, exit-build.ts
- Fixed exit code logic: 0=success, 1=errors, 2=warnings-only
- Reverted test changes for boards that produce no diagnostics
- build-ignore-drc-categories.test.ts correctly expects exit code 1
Matches tsci dev behavior: when getEntrypoint returns null (no
index.circuit.tsx, no mainEntrypoint), fall back to searching for
board files in the project instead of silently returning undefined.

Closes tscircuit#2797
@LittleLemonDrop LittleLemonDrop force-pushed the fix/push-entrypoint-fallback branch from e4efb9e to 5e96e10 Compare June 4, 2026 18:07
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.

tsci push fails when no index.circuit.tsx file and no mainEntrypoint

1 participant