Skip to content

Ship Sage campaign route in production build output - #6

Merged
bshelby88 merged 1 commit into
masterfrom
sage-build-fix
Sep 12, 2026
Merged

bshelby88 merged 1 commit into
masterfrom
sage-build-fix

Conversation

@bshelby88

Copy link
Copy Markdown
Owner

Why

scripts/build.mjs copies only images into dist/ (the Vercel output directory since 2026-08-26 d2f5027). The Sage Wave 2 campaign (sage/, in master since 2026-08-04 a069fc9, CTA merged 372a85c) is therefore not served in production: https://royalruby.io/sage and all four creatives + the video return 404 (Vercel NOT_FOUND, verified 2026-09-12T10:17Z). /deployment-provenance.json confirms live commit 3c49bb8.

This is why 'Sage campaign distribution' (STACI-SAGE-DISTRIBUTION-20260804) never produced tracked traffic: the landing surface the campaign points at is dead.

What

One line: ['images'] → ['images', 'sage']. Deterministic, additive; SAGE-WAVE2-CHANNEL-READY.md was already shipped by the pre-migration copy and is unchanged in behavior.

Verification

  • Full suite locally on a byte-exact master tree (all files fetched from commit 3c49bb8, sha1-verified against Git blob hashes): 82/82 pass with this change.
  • Local npm run build → dist now contains dist/sage/index.html (+ SAGE-WAVE2-CHANNEL-READY.md); all other dist files byte-identical to current live production (26/26 OK in diff-vs-live probe).
  • Uploaded blob sha 898185f15aae2a9bac0dc7d5d167255e6ea14a11 == locally tested bytes.
  • CI (quality.yml: npm ci, npm test, npm run build, provenance==commit, npm audit -high) will re-verify on this exact head.

scripts/build.mjs copied only 'images' into dist/, so the published
sage/ campaign assets were dropped at build time: every URL under
https://royalruby.io/sage/ has been 404 since the dist-output migration
(2026-08-26, d2f5027) despite the campaign living in master since 2026-08-04.
Adds 'sage' to the copied directory list. One line; full suite 82/82 passes
locally against this exact tree.
@vercel

vercel Bot commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
royal-ruby Ready Ready Preview Sep 12, 2026 10:47am UTC
royal-ruby-pr2 Ready Ready Preview Sep 12, 2026 10:47am UTC

@bshelby88
bshelby88 merged commit a7541d6 into master Sep 12, 2026
5 checks passed
@bshelby88
bshelby88 deleted the sage-build-fix branch September 12, 2026 10:48

This branch was successfully deployed

2 active deployments
Preview – royal-ruby — e1addad6 Deployed Sep 12, 2026 by vercel[bot]
Preview – royal-ruby-pr2 — e1addad6 Deployed Sep 12, 2026 by vercel[bot]
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