feat(ci): publish native macOS beta DMGs from a dedicated workflow - #362
Merged
Conversation
The native Swift host had no way to reach users: `macOS Native Swift` gates it per PR and `macOS Native Candidates` keeps builds as Actions artifacts, both by design. Add `macOS Native Release`, which builds arm64 and x86_64 DMGs and publishes them. It stays out of `release.yml` on purpose. The workflow triggers on its own `macos-native-v*` tag or a manual dispatch, and publishes its own prerelease, never marked latest, so a native failure can neither block nor alter the GPUI desktop artifacts. `crates/desktop_app/Cargo.toml` stays the authoritative version; a tag may add a `-preview.N` suffix to republish the same app version. Per architecture the workflow runs the unsigned readiness gate (through `build-dmg.sh`), the isolated CLI install smoke, the launch performance budget, a 30-second soak, and the corruption-rejection regressions. Published DMGs are renamed to `Termy-native-<version>-macos-<arch>.dmg` because the packaging script emits the same file name the GPUI desktop app uses, and a downloaded file carries no other signal of which build it is. Builds are unsigned; the release notes carry the quarantine-clearing command. Also records the native host's move from developer preview to public beta. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.
Adds
.github/workflows/macos-native-release.yml: builds the native Swift host frommacos/for Apple silicon and Intel and publishes both DMGs.Nothing published the native host before.
macOS Native Swiftgates it per PR andmacOS Native Candidateskeeps builds as Actions artifacts — both by design.Shape
release.yml. Own trigger (macos-native-v*tag or manual dispatch), own prerelease, never marked latest. A native failure can neither block nor alter the GPUI desktop artifacts, and the two DMGs never share a release.crates/desktop_app/Cargo.tomlstays authoritative and the build refuses a mismatched tag. A tag may carry-preview.Nto republish the same app version; the version inside the bundle stays numeric.publishunchecked to run the full build and every gate without creating a release.Jobs
resolveverifyswift test, static readiness checksbuild(arm64, x86_64)publishPer-architecture gates: unsigned release readiness via
build-dmg.sh(Mach-O arch, bundle manifest, read-only DMG mount, usable-window launch), isolated CLI install smoke, launch performance budget, a 30-second soak, and bundle/DMG corruption rejection. Render performance stays inmacOS Performance, where a threshold miss should block a change rather than a release.Artifacts
Published DMGs are renamed
Termy-native-<version>-macos-<arch>.dmg.macos/scripts/build-dmg.shemitsTermy-<version>-macos-<arch>.dmg, the exact name the GPUI desktop app uses, so a downloaded file would otherwise carry no signal of which build it is — they install as the sameTermy.appwith the same bundle identifier. Each DMG ships a.sha256, a combinedchecksums.txt, and a.metadatafile with source commit and toolchain versions. Launch/soak JSON reports stay as 30-day Actions artifacts.Builds are unsigned; release notes carry the quarantine-clearing command.
build-dmg.shalready accepts--sign-identityand notary credentials, so signing later is wiring, not packaging work.Beta status
Records the native host's move from developer preview to public beta in
macos/README.md,macos/roadmap.md, andCLAUDE.md.Validation
resolve → verify → build (matrix) → publish.-preview.Nsuffix, a malformed version, and a version that disagrees withCargo.toml— accepts and rejects as intended../scripts/check-boundaries.shpasses except a pre-existingdocs/configuration.mddrift onmain(theme_lightdefault documented astermy, source saystermy-light) — untouched here.inputs.version,github.ref_name) are passed throughenv:and only read as shell variables.🤖 Generated with Claude Code