Skip to content

fix: run tests before publishing in generate workflow#2

Merged
mikipalet merged 1 commit intomainfrom
fix/run-tests-before-publish
Mar 2, 2026
Merged

fix: run tests before publishing in generate workflow#2
mikipalet merged 1 commit intomainfrom
fix/run-tests-before-publish

Conversation

@mikipalet
Copy link
Collaborator

Summary

  • The generate workflow generates endpoint tests (generate-endpoint-tests.ts) but never actually runs them before publishing to npm
  • This means a broken regeneration (model rename, missing export, etc.) ships without any validation, same class of bug as Bug leads to failing builds late-python#12
  • Adds npm test step between typecheck and publish

Test plan

  • Trigger Regenerate workflow manually and verify tests run
  • If tests fail, publish is blocked

🤖 Generated with Claude Code

The generate workflow was generating endpoint tests but never actually
running them. A broken regeneration (like a model rename) would ship
to npm without any test validation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@mikipalet mikipalet merged commit a7eeed1 into main Mar 2, 2026
1 check passed
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.

1 participant