Skip to content

fix(site): download page serves v1.0.2 — every URL verified against the published release - #552

Merged
runyourempire merged 3 commits into
mainfrom
fix/site-release-v102
Aug 31, 2026
Merged

fix(site): download page serves v1.0.2 — every URL verified against the published release#552
runyourempire merged 3 commits into
mainfrom
fix/site-release-v102

Conversation

@runyourempire

Copy link
Copy Markdown
Collaborator

What

The download page and vanity redirects (/download//) 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.ai/code/session_01LrXvdHoDGUj99Fqf1fCYJY

…he published release

The download page and vanity redirects (/download/<slug>/) were still built
from the hardcoded v1.0.0 entry: productName changed '4DA Home' -> '4DA' in
1.0.1, so every old templated asset URL 404s against current releases and the
buttons served the April build.

Regenerated site/src/_data/release.js via .claude/tmp/update_site_release.cjs
v1.0.2 --apply, which DISCOVERS asset names from the published release and
refuses ambiguity. All 6 installer URLs and sizes verified to match real
v1.0.2 assets (win 120MB, mac arm/intel 130/133MB, AppImage 201MB, deb/rpm
133MB). Two latent bugs fixed in the generator script itself (template-literal
regex escapes; single-line body capture defeated by ${base} braces) — it had
never successfully run with --apply before.

Deploy note: CF Pages 4da-site is direct-upload; this change is live only
after 'pnpm run cf:deploy' from site/ (done post-merge by the orchestrator).

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LrXvdHoDGUj99Fqf1fCYJY
@runyourempire
runyourempire enabled auto-merge (squash) August 30, 2026 15:51
runyourempire and others added 2 commits August 31, 2026 02:03
…nonical procedure was living in gitignored scratch

Two latent bugs fixed relative to the .claude/tmp original (template-literal
regex escapes stripped \s/\{; entry-body capture stopped at the } inside
${base} so --apply had never actually worked), plus ignore-filter entries for
updater .app.tar.gz bundles and SBOM artifacts.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LrXvdHoDGUj99Fqf1fCYJY
@runyourempire
runyourempire merged commit 6e36d27 into main Aug 31, 2026
10 checks passed
@runyourempire
runyourempire deleted the fix/site-release-v102 branch August 31, 2026 01:53
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