CI: launch the app before merging and before publishing a release - #13
Merged
Merged
Conversation
v0.1.0 crashed at launch only when built in CI, where the macOS 26.5 SDK changes AppKit layout behavior; local SwiftPM builds record SDK 15.0 and ran fine. scripts/smoke-test.sh launches a binary and fails if it exits within 10 seconds. The build workflow runs it on the debug build for every PR, and the release workflow runs it on the signed app before notarizing, so a build that crashes at launch can't be published. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
v0.1.0 crashed at launch, but only when built in CI. The macOS 26.5 SDK there turns on newer AppKit layout behavior that local SwiftPM builds (which record SDK 15.0) never see (#12). This adds a launch check so that kind of bug fails CI instead of shipping.
scripts/smoke-test.sh BINARY [SECONDS]launches the binary and fails if it exits within the timeout (10 s by default).build.ymlruns it on the debug build for every PR and every push tomain.release.ymlruns it on the signed.appbefore notarizing, so a build that crashes at launch is never notarized or published.Testing
macos-26runner.🤖 Generated with Claude Code