0 of 0 checked 4 blockers open

ss-optin-form · release procedure

Optin Form Preflight

Run this before dragging cdn-upload/ into the Pages project. The order matters: the source is tested first, then the artifact that actually ships, then the deployment. Items marked blocker must pass — the rest you record and judge.

00

Set up

The harness intercepts fetch, so nothing reaches AWS and no Klaviyo contact is created. Serve it over HTTP rather than opening the file directly — the scenarios are driven by query parameters.

01

Source build

Default mode — the frames load ss-optin-form.js, the file you edited. Watch the console strip at the bottom of the dashboard; each submission reports endpoint, payload, redirect and storage.

02

Minified artifact

Switch every frame with the link in the harness header, or append ?build=min. This is the file partners actually load — terser has silently eaten code in this project before, and a source pass cannot catch it.

03

Deploy

Cloudflare Pages replaces the entire site on every deployment. That single fact drives the first item here.

04

First site

One site at a time. Nothing moves on its own — every site pins a filename, so the release is only real for a site once its embed is edited.

If something fails

Nothing here is destructive, and no state is committed until the folder is dragged into Pages. A failure before phase 03 costs a rebuild, not a rollback.

After phase 03 the filename is frozen — the CDN serves immutable with a one-year TTL. A fix means v1.0.2 and another round of embed edits, never a republish in place. That exception was taken once, on 30 August, and it is spent.