MuseMVP

MuseMVP Base: Next.js for Node and Cloudflare. MuseMVP Flare: an AI SaaS template that runs entirely on Cloudflare. Authentication, billing and administration included.

Product
  • Home
  • Pricing
  • Templates
Resources
  • Docs
  • Blog
  • Changelog
Legal
  • Privacy
  • Terms
  • Community
Open-Launch Top 1 Daily WinnerOpen-Launch Top 1 Daily WinnerVerified DR - Verified Domain Rating for musemvp.comVerified DR - Verified Domain Rating for musemvp.comMuseMVP - Featured on Startup FameMuseMVP - Featured on Startup FameFazier badgeFazier badgeLiftOff award badgeLiftOff award badge

© 2026 MuseMVP. All rights reserved.

MuseMVP
  • Pricing
  • Docs
  • Blog
  • Changelog
Buy MuseMVP Base
MuseMVP Docs
MuseMVP Docs
OverviewTech StackQuick Start
Project Structure
EmailObject Storage
Internationalization
SEOAnalytics
Choose Your DeploymentCloudflare WorkersRelease Checklist
Deployment

Release Checklist

Verify your release commit, Worker bundle, production features, and rollback readiness before serving real traffic.

After choosing your release path in the Cloudflare Workers deployment guide, work through these four verification stages in order.

1. Release Commit

Run these checks locally or in CI against the exact commit you plan to publish:

pnpm type-check
pnpm check:error
pnpm lint:ws
pnpm test:unit

Dual-app parity and release notes

  • If your repository keeps both the Node and Cloudflare apps, also run pnpm apps:parity.
  • Confirm that install, dev, or build generated .source/.
  • Record how SCENARIOS.md covers the affected user journeys and list any checks still pending manual verification.

2. Worker Bundle

Review the pre-release gates for the deployment path you selected:

  • Runs the dashboard's build and deploy commands automatically whenever the production branch updates.
  • If the commit adds a new D1 migration: apply it remotely and confirm pnpm db:migrate:d1:status --strict passes before pushing or merging.
  • To validate Worker runtime behavior before automatic release, preview the release commit under workerd on Linux.

Regardless of release path, verify these shared requirements before publishing:

CheckWhat to confirm
Build environmentUse pnpm dev:cf on Windows; both release paths build the production Worker remotely on Linux
Wrangler bindingsConfirm wrangler.jsonc points to the target Worker, production domain, and production DB / R2_BUCKET resources; run pnpm cf:typegen after binding changes
D1 migrationsIf migrations are pending, run pnpm db:migrate:d1:remote against the verified target and secure the backup; require pnpm db:migrate:d1:status --strict to pass
Variables & secretsVerify build-time NEXT_PUBLIC_SITE_URL, Worker runtime secrets, deployment credentials, and your verified Cloudflare Email Sending domain

Application build vs. Worker runtime verification

pnpm build:cf verifies the Next.js application build. Follow the Linux Worker preview steps to build and preview under workerd, and verify real D1/R2 reads and writes against the target Worker and its bindings. See the Testing guide.

3. Production Domain and Features

After deployment, repeat the home page, /api/health, sign-in, and signed-out /app redirect checks on your production HTTPS domain, then verify every enabled or modified area:

AreaVerification ChecklistEdge Cases & Security Checks
Public Pages & SEOBoth languages on home, docs, blog, and legal pages load cleanlyCheck navigation, sitemap, robots, and dead links after removing pages
Auth & EmailUse a real mailbox to verify registration, OTP delivery, sign-in, sign-out, session expiry, onboarding, and 2FAConfirm production origin, OAuth callbacks, and trusted origins match
Access & AdminVerify admin workflows and confirm impersonation is clearly visible and can be stoppedSigned-out users are blocked; regular users cannot access admin routes; session-service failures show recognizable errors
Billing & WebhooksRun sandbox checkout, signed webhooks, renewals, cancellation, and refundsVerify contracts, entitlements, customer portal, and clear errors for invalid gateways or products
R2 Storage & AvatarsUsers can upload, download, and delete their own avatars and assetsConfirm cross-user key denial, missing storage handling, and empty-list states
Forms & PrivacyVerify contact form, newsletter signup, and signed unsubscribe linksInspect client responses and logs to ensure no credentials or personal data leak accidentally

Production guardrails

  • Use real production accounts and credentials, keep Better Auth test utilities disabled, and leave environment validation active.
  • Rehearse upgrades to any existing production database on a clone first.
  • Record both the Git commit hash and the Worker Version ID for every release.

4. If Production Verification Fails

Check whether the new version is already live

GitHub Actions runs Verify production after deployment completes. If that step fails, the new Worker version may already be serving live traffic—verify immediately before troubleshooting.

Inspect the failed step and active version

Check which step failed in GitHub Actions, then confirm the active version under Worker → Deployments in the Cloudflare dashboard.

Roll back to the previous verified Worker

If the new version introduced the issue and the previous Worker remains compatible with the current D1 schema, locate the previous verified version under Deployments and select Rollback from its menu. See the Cloudflare Worker rollback guide.

Re-run smoke checks and verify user journeys

Run the smoke check from the repository root using your real production hostname, then confirm the affected user journeys have recovered:

node scripts/cf-smoke.mjs https://app.example.com

When the incident involves D1 data or schema

Rolling back a Worker does not revert database changes. Follow the database recovery procedure if D1 data or schema is affected:

  1. Locate the pre-migration export at packages/db/.local/d1-backup-*.sql.
  2. Confirm the target database and back up the current production data before taking action.
  3. Rehearse the restore on a separate D1 database first.
  4. Account for any writes that occurred after the backup before deciding how to recover production data.

See D1 migrations and backups.

Related Guides

Cloudflare Workers Guide

Review resource provisioning, secrets, and Workers Builds or GitHub Actions setup.

D1 Migrations and Backups

Review safe remote D1 migrations, local clone rehearsal, and backup recovery.

Testing Guide

Review unit tests, integration checks, and end-to-end verification workflows.

Cloudflare Workers

Set up D1, R2, and production secrets step by step, then deploy with Workers Builds or GitHub Actions.

On this page

1. Release Commit2. Worker Bundle3. Production Domain and Features4. If Production Verification FailsInspect the failed step and active versionRoll back to the previous verified WorkerRe-run smoke checks and verify user journeysRelated Guides

One payment. Tax included.

MuseMVP Base

Next.js for Node and for Cloudflare, with auth, payments and admin.

$69

Buy MuseMVP Base