ManiCandles/docs/RELEASE-CHECKLIST.md

4.2 KiB

Phase 2 release checklist

Production release is blocked until the environment checks below pass. Local implementation verification does not replace authenticated UAT or deployment acceptance.

Code gates

  • Purpose-built customer and administration routes, with session/permission guards.
  • Exact decimal display, strict write inputs, validated response shapes.
  • Private caches and requests cleared on logout, expiry, organization change and permission downgrade.
  • Stale responses cannot invalidate a newer session or remove its pending command.
  • Cart writes serialize locally; stale versions require review.
  • Checkout confirmation uses the reviewed version; unknown results retain the same payload/key across navigation.
  • Adjustment/reservation intents stay in session memory for exact retries; session termination discards them.
  • Order charges use authoritative server totals; null means unfinalized, not zero; payment collection stays unavailable.
  • Recovery tokens captured once in memory and removed from browser history; never persisted or logged.
  • Destructive lifecycle actions have confirmation; system/owner/self restrictions remain enforced by the backend.
  • Strict TypeScript, lint without warnings, all tests passing, build below the 500 kB per-chunk budget.
  • Dependency audit has no reported vulnerabilities.
  • CI runs dependency audit and npm run check on pushes/PRs; Docker validates Nginx syntax during build.
  • No new type/lint suppressions, skipped tests, debug logging or source credentials.

Environment and acceptance gates — pending

  • Provision the installation owner on the intended UAT backend host/database; record organizationId. Never run local bootstrap against an unknown database.
  • Provision least-privilege UAT staff and customer accounts, including denied/suspended accounts and independent reviewer roles.
  • Exercise actual catalog/group/variant creation and publication, warehouse opening stock, private address/cart, coupon and checkout/order journeys against the deployed backend.
  • Verify cross-account privacy, revoked sessions, changed permissions, concurrent carts, stock contention, duplicate retries and order expiry in live UAT.
  • Configure approved pricing policies and SMTP; verify recovery delivery and one-time token expiry/reset.
  • Build/run the container and test /workspace, /cart, /admin/catalog deep links; inspect CSP, certificate verification and /api health responses.
  • Verify HTTPS ingress, HSTS, trusted proxy/rate-limit policy and deployment secrets. Nginx forwards /api over verified HTTPS; frontend does not change backend trust-proxy policy.
  • Test complete populated screens in browsers at 320/768/1024/1440 widths; full keyboard/dialog/screen-reader/contrast checks and deployed axe/Lighthouse runs.
  • Verify production Core Web Vitals, expected traffic, infrastructure logs/alerts and privacy-safe client error collection. APPLICATION_RENDER_FAILED is the safe local render diagnostic; API requestId correlates service errors.
  • Confirm remote CI passes, observe deployment health/error/latency metrics, rehearse rollback, and obtain owner sign-off.

Rollback

Record the immutable deployed image digest and previous known-good digest before rollout. On the deployment host, use the existing deployment mechanism to restore the previous frontend image, then verify health, SPA deep links and /api connectivity. No backend schema changes are included; retain orders, stock ledgers and accounts. Do not reset or delete database records. Confirm the actual host procedure and measured rollback time in UAT before production. A feature-branch push does not deploy the main-branch pipeline.

Operational limits

Pending intents exist only within the active browser session; reloading signs out and discards them. After interruption, inspect orders or the stock ledger before beginning a new intent. The backend currently has no live gateway/carrier, public registration or contact delivery. Staff catalog/role writes follow the backend's existing concurrency policy; coordinate overlapping administration edits. Never reinterpret finalized merchandise as proof of payment or fulfillment.