Repository navigation
chore: 0.4.0 release blockers — linux-rpm manifest, linux bundle deps, min_app_version - #239
Merged
Merged
Conversation
…, min_app_version Three pre-0.4.0 fixes from the update-system audit, smallest-first since they unblock the Bazzite auto-update path: release.yml: bash manifest generator - Add linux-rpm + linux-aarch64 to the case statement. The .rpm IS built and uploaded to the GitHub release (Tauri-action's 'all' bundle target), but the case generator's default branch was silently skipping it. Bazzite / Fedora / atomic-distro users on the .rpm install path have been getting no in-app update offers. - Use '*.x86_64.rpm' / '*.aarch64.rpm' patterns (period, not underscore) to match Tauri-action's actual filename 'SQLPilot-0.4.0-1.x86_64.rpm'. - Add min_app_version to the manifest. Computed from the most recent prior git tag (skips the current one), so each release auto-tracks the previous one. Omitted on the very first release if there's no prior tag. Plugin 2.10.1 honors this: app versions below min_app_version don't see the update offer. tauri.conf.json: bundle config - createUpdaterArtifacts: true. Tauri-action v1.0.0 effectively enables this implicitly, but per the docs (v2.tauri.app/plugin/ updater/#tauri-configuration) the canonical config lives in tauri.conf.json. Surfaces intent; doesn't break if tauri-action defaults shift. - publisher: 'EVWorth'. Surfaces in .rpm metadata + macOS Info.plist. Default is 'Unknown' which looks unprofessional in install dialogs. - bundle.linux.deb.depends: libwebkit2gtk-4.1-0, libgtk-3-0, librsvg2-common. Without these, 'apt install ./foo.deb' on a minimal system fails with unsatisfiable deps. Same deps Tauri-action's CI matrix uses. - bundle.linux.rpm.depends: webkit2gtk4.1, gtk3, librsvg2. Without these, 'rpm-ostree install' on a minimal Bazzite install triggers an interactive transaction asking the user to add deps. With these declared, the transaction is non-interactive. Verified the bash case logic against a synthetic .sig file set covering all 8 Tauri-action output patterns. All map correctly. Out of scope (deferred to 0.4.1 / 0.5.0): - B3 (installUpdate guard against running queries + unsaved buffers) - B4 (SQLite migration framework) - B5 (proper migration runner with PRAGMA user_version) - ARCHITECTURE.md sync (doc-keeper territory)
This was referenced Jul 20, 2026
EVWorth
added a commit
that referenced
this pull request
Jul 20, 2026
After #239 set 'bundle.createUpdaterArtifacts: true' in tauri.conf.json, tauri-action v1.0.0 began attempting to sign artifacts during the BUILD step itself (not just the generate-update-manifest step). The workflow passed TAURI_SIGNING_PRIVATE_KEY only to the generate-update-manifest step. With createUpdaterArtifacts: true, the build step needs the env var too, or tauri-action aborts with: 'A public key has been found, but no private key. Make sure to set TAURI_SIGNING_PRIVATE_KEY environment variable.' Effect: all 4 build matrix entries (Linux, Windows, macOS x2) failed at the 'Build and publish' step on the v0.4.0 release tag push, with exit code 1. Run #29715589604. Fix: add TAURI_SIGNING_PRIVATE_KEY + TAURI_SIGNING_PRIVATE_KEY_PASSWORD to the build step's env block. Mirror what's already in the generate-update-manifest step. Same pattern, same secret. Safe: the env is only read by tauri-action when 'createUpdaterArtifacts' is set in tauri.conf.json. Otherwise it's ignored. Forward-compatible to a future where the manifest step also re-signs (defensive). Out of scope: rotating the signing key, switching to a different key, or using Windows code signing (separate WINDOWS_CERTIFICATE secret already wired).
This was referenced Jul 21, 2026
EVWorth
added a commit
that referenced
this pull request
Jul 21, 2026
Capture today's release-cut lessons so the next person doesn't re-discover them. Five gotchas documented with symptoms, root cause, fix, and recovery: 1. tauri-action v1.0.0 creates duplicate release candidates with strategy.matrix (parallel jobs racing on draft creation). Fix path: split build/upload jobs, or manually publish the correct Draft via gh api PATCH after the run. 2. `bundle.createUpdaterArtifacts: true` requires TAURI_SIGNING_PRIVATE_KEY on the BUILD step (not just the manifest step). Adding the flag without updating the workflow causes all 4 matrix builds to fail with 'no private key'. 3. `linux-rpm` platform key was silently absent from `latest.json` before #239. Bash case statement needed an explicit `*_x86_64.rpm` branch. 4. `bundle.linux.{deb,rpm}.depends` should be declared in `tauri.conf.json` for clean installs. Without these, fresh installs hit unsatisfiable-deps transaction failures. 5. Tag re-push recovery: if a release run produces a broken release, delete + re-push the tag (existing tags don't re-trigger). Cross-linked to issues #242 (race condition), #243 (this doc), #244 (Bazzite), and PRs #239 / #241.
3 tasks done
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.
What
Three pre-0.4.0 fixes from the update-system audit, smallest-first. Unblock the Bazzite auto-update path + add clean-install dependency metadata.
Diff
Why
The v0.3.4 release ships a 12 MB
SQLPilot-0.3.4-1.x86_64.rpmto the GitHub release page. Tauri-action'sbundle.targets = "all"builds it. Butlatest.jsondoesn't include alinux-rpmplatform key — the bash manifest generator's case statement was missing the rpm branch, default-case*was silently skipping it. Bazzite / Fedora / atomic-distro users installing viarpm-ostree install foo.rpmget no in-app update offer when 0.4.0 ships.Two more pre-0.4.0 polish items in the same PR since the diff is small.
Changes
1.
release.yml— addlinux-rpm+linux-aarch64to manifest caseVerified against synthetic
.sigfiles for all 8 Tauri-action output patterns. All map correctly.Pattern note: Tauri-action's rpm filename uses
SQLPilot-0.4.0-1.x86_64.rpm(period before arch, not underscore)..debusesSQLPilot_0.4.0_amd64.deb(underscore). Different conventions, so the patterns differ.2.
release.yml— addmin_app_versionto manifestAuto-tracks the most recent prior git tag. For the 0.4.0 release this resolves to
0.3.4. Plugin 2.10.1 honors this: app versions belowmin_app_versiondon't see the update offer. Falls back to omitting the field on the very first release.3.
tauri.conf.json— Linux bundle deps + publisher + createUpdaterArtifactscreateUpdaterArtifacts: tauri-action v1.0.0 implicitly enables this, but the canonical config lives intauri.conf.json.publisher: surfaces in.rpmmetadata + macOS Info.plist.linux.deb.depends/linux.rpm.depends: prevents install-time dependency-resolution failures on minimal systems (Bazzite base, fresh Debian). Matches the libs Tauri-action's own CI matrix uses.Verification
npx vitest run(full): 77 / 1462 passnpm run type-check: 0 errorsnpx eslint src: 0 errors (172 pre-existing warnings, unrelated)npx dprint check: cleanOut of scope (deferred to 0.4.1 / 0.5.0)
Per the audit:
installUpdateagainst running queries + dirty editor tabsThe Bazzite auto-update story is now functional for users on 0.3.4 (after merge + a fresh release).