Skip to content

fix(release): macOS updater artifacts exist again, and their absence can never ship silently - #551

Merged
runyourempire merged 1 commit into
mainfrom
fix/mac-updater-artifacts
Aug 30, 2026
Merged

fix(release): macOS updater artifacts exist again, and their absence can never ship silently#551
runyourempire merged 1 commit into
mainfrom
fix/mac-updater-artifacts

Conversation

@runyourempire

Copy link
Copy Markdown
Collaborator

What this is

The v0.0.15-test rehearsal published a latest.json carrying only Linux and Windows — and the workflow called it a success. Two defects, one class:

  • bundle.targets omitted app, and in Tauri v2 the macOS updater archive (.app.tar.gz + .sig) derives from the app target — so macOS produced installers but no updater artifacts, and the manifest merge had nothing darwin to merge. app is macOS-only (ignored by the other bundlers); adding it restores the archives.
  • The required-artifact check tested that latest.json exists, not that it is complete. A new fail-closed step parses the manifest and requires a signed entry for every released platform — a platform silently absent means those users never see another update, and that now blocks the release instead of passing it.

Negative-tested: the new check rejects the rehearsal's actual manifest (missing darwin-aarch64, darwin-x86_64) with exit 1. actionlint + the repo's shell-syntax gate both pass on the modified workflow.

Found by the pre-tag adversarial audit's dry-run rehearsal — exactly the class it exists to catch. A second rehearsal (v0.0.16-test) validates the fix before the real tag.

🤖 Generated with Claude Code

https://claude.ai/code/session_01ENWj6RJtqDmcREYzMXXz5t

…can never ship silently

The v0.0.15-test rehearsal published a latest.json carrying only Linux and
Windows, and the workflow called it a success. Two defects, one class:

- bundle.targets explicitly listed nsis/dmg/appimage/deb/rpm — no 'app'. In
  Tauri v2 the macOS updater archive (.app.tar.gz + .sig) derives from the
  app target, so macOS produced installers but no updater artifacts, and the
  cross-job manifest merge had nothing darwin to merge. 'app' is macOS-only
  and ignored by the other bundlers; adding it restores the archives.

- The required-artifact check tested that latest.json EXISTS, not that it is
  COMPLETE. A new fail-closed step parses the manifest and requires an entry
  with a non-empty signature for every released platform — a platform
  silently absent means those users never see another update, and that must
  block the release, not pass it.

Negative-tested: the new check rejects the rehearsal's actual manifest
(missing darwin-aarch64, darwin-x86_64) with exit 1.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01ENWj6RJtqDmcREYzMXXz5t
@runyourempire
runyourempire enabled auto-merge (squash) August 30, 2026 06:05
@runyourempire
runyourempire merged commit 6dd1e21 into main Aug 30, 2026
14 checks passed
@runyourempire
runyourempire deleted the fix/mac-updater-artifacts branch August 30, 2026 06:28
runyourempire added a commit that referenced this pull request Aug 31, 2026
…he published release (#552)

## What

The download page and vanity redirects (/download/<slug>/) were still
generated from a hardcoded v1.0.0 entry in site/src/_data/release.js.
productName changed `4DA Home` -> `4DA` in 1.0.1, so the templated asset
names no longer exist on current releases — the buttons served the April
build (or 404 shapes).

## How

Regenerated via `.claude/tmp/update_site_release.cjs v1.0.2 --apply` —
the generator discovers asset names from the *published* release and
refuses when any installer is unmatched or ambiguous. All 6 installer
URLs + sizes now match real v1.0.2 assets:

- 4DA_1.0.2_x64-setup.exe (~120 MB)
- 4DA_1.0.2_aarch64.dmg (~130 MB) / 4DA_1.0.2_x64.dmg (~133 MB)
- 4DA_1.0.2_amd64.AppImage (~201 MB) / .deb (~133 MB) /
4DA-1.0.2-1.x86_64.rpm (~133 MB)

Also fixed two latent bugs in the generator itself (template-literal
regex escapes; entry-body capture defeated by ${base} braces) — its
--apply path had never worked; its ignore-filter now excludes updater
.app.tar.gz bundles and SBOM artifacts (new classes since #551).

## Deploy

CF Pages `4da-site` is direct-upload (no Git integration): this is live
only after `pnpm run cf:deploy` from site/ — the orchestrating session
runs that immediately after this merges.

Part of the 2026-08-31 audit remediation (lane E).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01LrXvdHoDGUj99Fqf1fCYJY

---------

Co-authored-by: Claude Fable 5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant