Repository navigation
feat(release): publish Linux ARM64 in stable releases - #231
Conversation
## Problem Stable version tags publish only macOS, so Linux ARM64 packages cannot enter the stable release channel. ## Solution Publish both ARM64 archives and their checksums in stable and preview releases. Keep preview metadata, source restrictions, signing, tests, approval, and runtime opt-in. Generate Linux installation instructions for both channels and document release steps. ## Tests All 34 Python tests passed. ReleaseBundleTests pins both channel asset sets, rejects missing Linux or extra x86_64 assets, verifies checksums, and checks install instructions. ReleaseSourceTests preserves version and source restrictions. All 22 workflow shell blocks passed syntax checks. Build, signing, and approval jobs match base. Full Rust gates, hosted release rehearsal, publication, and actual-download installation were not run. The initial test run hit a shell PATH fixture failure; disabling startup files fixed it.
|
Assessment: Request Changes The asset-set mechanics work in all three places (collect, inspect, post-publish poll), and they agree. My open points are about scope. After this change, the workflow has no macOS-only stable path. Also, the decision entry states a readiness decision that the description says is still pending. Checks that passed
|
|
Assessment: Comment (re-review at Both earlier findings are fixed: there is now a way to publish a macOS-only stable release, and the decision entry names the alternative that lost and the cost. One finding is still open: Checks that passed
|
|
Assessment: Approve (re-review at All three of my earlier findings are fixed, and I found nothing new. Approving does not mean Linux is accepted for release or for security. As the description says, the signed rehearsal and acceptance under #49 are still separate work. Checks that passed
|
Human readable section
Problem. The release workflow publishes Linux ARM64 only as a preview. Stable Linux publication also needs to preserve macOS-only releases.
Solution. Allow Linux ARM64 packages in stable releases and previews. Stable releases remain macOS-only by default. The release owner must set
publish_linux=trueto include Linux. Linux previews always include Linux. Package selection, checksums, installation instructions, and publication checks follow the same choice.Trade-off. The release owner must select which platforms to publish and establish Linux readiness before including its package. Omitting Linux affects the new release only. Existing Linux downloads remain available. Linux startup still requires
EXPERIMENTAL_LINUX_SUPPORT=TRUE; PR #234 removes that separate requirement.Description
The
publish_linuxworkflow input defaults tofalse. A normal version such as0.1.1remains a stable release. A version such as0.1.1-linux-preview.1remains a prerelease and does not replace the latest stable release. A Linux preview withpublish_linux=falsefails before the workflow emits source or version outputs.The macOS archive and
SHA256SUMS.txtalways enter the release bundle. The Linux ARM64 archive and its checksum enter only when selected. Linux x86_64 remains a build artifact. All existing builds, tests, source restrictions, signing, notarization, package verification, and publication approval gates remain active for either selection.Kevin requested the conflict repair and resolution of the release-readiness and recovery feedback. The existing decision entry now records the publication capability, the alternative of preview-only Linux, and the release-owner readiness cost. It keeps its anchor. This records a release mechanism, not security acceptance or authorization to publish a release.
The main-branch merge retains the current macOS notarization steps and Linux test guidance. The release guide documents the platform choice and the required signed rehearsal and download verification.
Related Issues
Related to #49. Publication and published-package acceptance remain open. PR #234 depends on this change.
Type of Change
New feature
Testing
Current repair
Tested source:
193e5a6428619a7f6aa4d41139655603375de167. Native ARM64 Amazon Linux development host. No Rust source, Cargo manifest, dependency lock, or binary-build command changes appear againstmainate4ca8b8.python3 -m unittest discover -s scripts -p 'test_*.py' -vbash -n.git diff --checkpassed.193e5a6passed. Packaging and native macOS jobs passed; Rust, containment, and verdict jobs were skipped by the path filter. Native bridge checks skipped because the runner lacks the macOS 27 SDK. Automated re-review accepted all fixes with no new finding. CodeQL passed for this head. These results do not constitute human approval or release acceptance.Historical validation
At
f6f06a325947ecb9c68a4722336cbd857db14aaf, all 34 Python tests passed, YAML parsed, and 22 shell commands passed syntax checks. Independent review ran all 16 release tests and rejected four deliberate defects: a missing Linux archive, an extra archive, wrong prerelease metadata, and an omitted checksum command. The initial host-shell configuration shadowed the fake GitHub client and caused two failures; the isolated-shell rerun passed. Those results cover the earlier source only.just check, orcargo test --workspace --all-features)cargo fmt --allandcargo clippy --workspace --all-targets --all-features -- -D warningsChecklist
Codex reviewed the current diff and completed the ownership checkbox at Kevin's request. This does not attest that Kevin personally reviewed every line. Formal maintainer approval remains required.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.