Repository navigation
fix: stabilize Linux updater release artifacts - #495
Merged
Merged
Conversation
…ked by missing ts-node
Contributor
Greptile SummaryThe PR stabilizes Linux release naming and updater-manifest handling while clarifying package-specific update behavior.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains.
|
| Filename | Overview |
|---|---|
| .github/workflows/release.yml | Adds architecture-safe Linux artifact overrides and local manifest/AppImage checks before uploading release assets. |
| tests/release-config.test.ts | Adds assertions for electron-builder architecture conventions and Linux workflow environment wiring. |
| docs/linux.md | Distinguishes update behavior for downloaded and extracted AppImages, native packages, and Snap installations. |
| docs/release-process.md | Documents the Linux artifact naming convention used by the release workflow. |
Reviews (2): Last reviewed commit: "Merge branch 'main' into fm/flocafe-464-..." | Re-trigger Greptile
5 of 6 tasks
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.
Intent
Implement FloCafe issue #464 under epic #463, unblocked after the shared release verifier PR #492. Ensure the electron-builder Linux release matrix emits the updater manifests required by electron-updater: latest-linux.yml for x64 and the architecture-specific latest-linux-arm64.yml for arm64, using the actual electron-builder 26.15.3 manifest conventions rather than guessed names. Pin the Linux release AppImage and package artifactName overrides to GitHub-safe lowercase asset names containing only [a-z0-9.-]; electron-builder's generic ${arch} macro has target-specific spellings such as x86_64, amd64, and aarch64, so the release workflow must use the safe x64/arm64 matrix labels through its environment macro and must not rename artifacts after creation. Integrate Linux local pre-upload checks and the shared PR #492 post-upload verifier for manifests, assets, URLs, and SHA-512 without duplicating the verifier contract; verification must fail for missing manifests, unsafe or mismatched names, unavailable URLs, or checksum mismatches. Keep the existing release job boundaries and preserve unsigned Windows direct-download builds, manual Microsoft Store and Mac App Store/MAS publishing, native updater state behavior from #467, and the draft-until-verified release flow from #466. Correct docs/linux.md and README wording so Linux documentation precisely distinguishes direct downloaded AppImage in-app updates from extracted AppImages, deb/rpm package-manager updates, and Snap/snapd updates. Add deterministic configuration/manifest/documentation tests without credentials or a live release. The change must be descriptively titled and use the PR body lines Fixes #464 and Refs #463; do not close the parent epic #463.
What Changed
x64/arm64labels and validates the expected updater manifests and assets before upload.Fixes #464
Refs #463
Risk Assessment
✅ Low: The scoped changes are limited to release comments, documentation wording, and semantic configuration-test updates; no source-verifiable defect or intent contradiction remains.
Testing
Validated x64/arm64 manifests, safe artifact names, SHA-512 verification, rejection paths, preserved updater state behavior, and Linux documentation without credentials or a live release; evidence captured and transient dependencies removed.
Evidence: Linux release validation evidence
Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
🔧 **Review** - 1 issue found → auto-fixed ✅
tests/release-config.test.ts:119- The new assertions at lines 119-120 and 167-170 only search implementation/workflow and documentation source text. They can pass despite incorrect runtime behavior and violate the test-quality rule; replace them with executable or normalized semantic checks, or remove the wording-only assertions.🔧 Fix: Remove source-only release assertions; test blocked by missing ts-node
✅ Re-checked - no issues remain.
✅ **Test** - passed
✅ No issues found.
npm ci --ignore-scripts --no-audit --no-fundnpm run test:release-confignode tests/release-asset-verifier.test.cjsInline electron-builder 26.15.3 macro and verifier failure-mode checksnpm run test:update-stateManual inspection of Linux release documentation wording✅ **Document** - passed
✅ No issues found.
🔧 **Lint** - 1 issue found → auto-fixed ✅
🔧 Fix: Lint and format checks clean
✅ Re-checked - no issues remain.
✅ **Push** - passed
✅ No issues found.