Skip to content

fix: tsci push should find fallback file when no entrypoint#2834

Open
64johnlee wants to merge 3 commits intotscircuit:mainfrom
64johnlee:fix/tsci-push-no-entrypoint
Open

fix: tsci push should find fallback file when no entrypoint#2834
64johnlee wants to merge 3 commits intotscircuit:mainfrom
64johnlee:fix/tsci-push-no-entrypoint

Conversation

@64johnlee
Copy link
Copy Markdown

Summary

Fix Issue #2797 - tsci push fails when no index.circuit.tsx file and no mainEntrypoint

Problem: tsci push would fail with "No entrypoint found" error, while tsci dev would find a fallback file.

Solution: When no entrypoint is found, tsci push now searches for any .tsx, .ts, or .circuit.json file as a fallback (similar to how tsci dev works).

Testing

bun test tests/cli/push/

Closes #2797

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 3, 2026

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

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.

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

1 participant