Skip to content

ci: smoke-test compiled binaries before release#555

Merged
backnotprop merged 1 commit intomainfrom
ci/smoke-test-binaries
Apr 13, 2026
Merged

ci: smoke-test compiled binaries before release#555
backnotprop merged 1 commit intomainfrom
ci/smoke-test-binaries

Conversation

@backnotprop
Copy link
Copy Markdown
Owner

Summary

  • Adds a smoke-test step to the release pipeline build job, between binary compilation and artifact upload
  • Tests the linux-x64 binary three ways: --help (binary loads), review (full server startup with git diff + HTTP binding), annotate README.md (annotate server startup with file reading)
  • If any test fails, artifacts never get uploaded — blocking attestation, release, and npm publish downstream

Catches the class of bug where bun build --compile succeeds but the binary crashes on launch (missing imports, broken bundling, missing embedded HTML).

Test plan

  • PR triggers the release workflow dry-run — verify the new smoke-test step passes
  • Confirm downstream steps (upload, npm-publish dry-run) still complete

Runs three checks on the linux-x64 binary after compilation, before
artifact upload: --help (binary loads), review server startup (full
import chain + bundled HTML + git integration + HTTP binding), and
annotate server startup. Catches the class of build breakage where
compilation succeeds but the binary crashes on launch.

For provenance purposes, this commit was AI assisted.
@backnotprop backnotprop merged commit 38ca19e into main Apr 13, 2026
7 checks passed
@backnotprop backnotprop deleted the ci/smoke-test-binaries branch April 13, 2026 14:34
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