Skip to content

fix(site): Windows installer pickup + light-mode god-rays + stale-cache bypass#182

Merged
stuffbucket merged 2 commits into
mainfrom
design/site-godrays-lightmode-windows
Jun 24, 2026
Merged

fix(site): Windows installer pickup + light-mode god-rays + stale-cache bypass#182
stuffbucket merged 2 commits into
mainfrom
design/site-godrays-lightmode-windows

Conversation

@stuffbucket

Copy link
Copy Markdown
Owner

Lands the Windows installer pickup on the landing page (plus god-rays in light mode), and a build-time fix so the resolver can't ship a stale "coming soon" for a Windows build that already exists.

Why

After v0.4.35 published with a real Windows *-setup.exe, the live page still showed Windows as "coming soon". Root cause: the assets-based download logic — which lights up and links the setup.exe when the release ships one — only existed on this branch; main never had it. So every deploy from main rendered the inert chip regardless of the release.

Changes

  • design(site) (269c9b0): Pick up the release's Windows *-setup.exe from the resolved asset list — the Get Started + hero download buttons light up and link to the installer when one exists, else stay an inert "coming soon" chip. God rays now also render in light mode (transparent premultiplied-alpha canvas + light-adapted shader; dark mode unchanged). Cursor-reflection coat gated off behind a flag for now.
  • fix(site) (e46840b): Bypass the CDN-cached releases/latest at build time (no-cache headers + per-build cache-buster query param). A deploy fired minutes after a publish could otherwise resolve a stale release body missing the just-attached setup.exe — exactly the failure seen on the v0.4.35 release.

Validation

Local build against the live API resolves the v0.4.35 setup.exe link (32067-byte index.html) + the DMG + updates manifest stable 0.4.35.

- God rays now render in light mode too: a transparent (premultiplied-alpha) canvas lets the warm-paper page show through the gaps, and a uLight-adapted shader draws deeper, softer shafts on paper while keeping the dark-mode glow unchanged
- Pick up the release's Windows *-setup.exe from the resolved asset list: the Get Started and hero download buttons light up and link to the installer when one exists, and stay an inert 'coming soon' chip otherwise
- Disable the cursor-reflection coat interaction for now (gated behind a flag, code left in place)
A deploy fired minutes after a publish could resolve a release whose
just-attached assets (notably the Windows *-setup.exe) were missing from
a CDN-cached releases/latest body — the runner's region kept serving a
stale response well past its 60s s-maxage. The page then shipped a
'coming soon' Windows chip for a build that actually exists. Force
revalidation with no-cache headers + a per-build cache-buster query
param so the build always sees current release state.
@stuffbucket stuffbucket merged commit 2829bfc into main Jun 24, 2026
4 checks passed
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