Skip to content

ci(desktop): rebuild site after stable release so version follows#4036

Merged
esengine merged 1 commit into
main-v2from
ci/rebuild-site-on-desktop-release
Jun 11, 2026
Merged

ci(desktop): rebuild site after stable release so version follows#4036
esengine merged 1 commit into
main-v2from
ci/rebuild-site-on-desktop-release

Conversation

@esengine

Copy link
Copy Markdown
Owner

Why

The marketing site resolves the displayed version from R2's latest.json
in two layers: a build-time bake in index.astro and a runtime refresh in
site.js that rewrites every .rxv span on page load. The runtime layer
keeps the live page current, but pages.yml only rebuilds on site/**
pushes — so after a release the baked value (and the JSON-LD
softwareVersion used for SEO) lagged behind until an unrelated site edit
triggered a rebuild. First paint briefly showed the old version.

What

Dispatch pages.yml from the desktop release's mirror job, right after a
stable release has actually moved R2 latest/ (skipped for canary and rc,
which don't move latest/). The job gets a scoped actions: write for the
dispatch. No new secrets.

This pairs with the R2 CORS fix that lets the runtime .rxv refresh reach
dl.reasonix.io from reasonix.io; together the site now follows every
release with no manual edit.

The marketing site bakes the version at build time from R2 latest.json,
and pages.yml only rebuilds on site/** pushes — so a release left the
static value (and JSON-LD softwareVersion) lagging until the next site
edit. site.js's runtime .rxv refresh fixes the live page but not first
paint / SEO. Dispatch pages.yml from the mirror job's stable path, once
R2 latest/ has actually moved.
@esengine esengine requested a review from SivanCola as a code owner June 11, 2026 12:38
@github-actions github-actions Bot added v2 Go rewrite (1.x) — main-v2 branch, active development updater Auto-update / installer / release packaging labels Jun 11, 2026
@esengine esengine merged commit 4c5fec6 into main-v2 Jun 11, 2026
14 checks passed
@esengine esengine deleted the ci/rebuild-site-on-desktop-release branch June 11, 2026 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

updater Auto-update / installer / release packaging v2 Go rewrite (1.x) — main-v2 branch, active development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant