Skip to Content
DevelopersOperationsRelease checklist

4 min read

Release checklist (smoke test)

Run this on the test server (admin.vioratech.in, the store’s own domain) after dev has deployed and before opening the dev → main release PR. Unit tests check each piece on its own; this checks the whole flow on a real server, real DNS, real email and real storage, which is where the 2026-10-05 bugs hid (issues #255–#266).

Before the smoke test — local gates

Run these locally first; any failure blocks the release the same way a smoke row does:

  • bun run audit — dependency CVE gate (scripts/security-audit.ts). Fails on a high/critical advisory whose fix our declared version floor can still resolve below (a real direct exposure). This is the gate that would have caught the Sep-2026 better-auth OAuth account-takeover the day it was disclosed — a point-in-time audit cannot, because the CVE can land after the audit. If it fails, bump the version (or triage the advisory id into ALLOW with a reason). Transitive and already-patched copies print as warnings, not blockers.
  • bun run typecheck and bun run test — the tsc + vitest pass on dev before the release.

First: the checkout smoke test

Before anything else, run the scripted checkout from your machine against the store you are about to release (the live store, the test server’s store or a local storefront):

bun run smoke:checkout -- --base https://waimers.koomerce.app

It walks a guest, on a desktop and a phone viewport, through: home, a collection, a search, a misspelt search, a product’s Add to cart, the cart (line with image and price), then checkout: cookies, any popup, guest contact (success@simulator.amazonses.com, 9999999999), and the address with PIN 131001 (Haryana) and 400001 (Maharashtra). For each PIN the city and state must fill in and Shipping must show at least one option; “We do not ship to …” or “We cannot deliver to …” fails it (the 21 Oct bug, which only showed at that step). It stops when Payment lists a way to pay and never presses Pay, so no order is placed.

It prints a pass/fail table and exits non-zero on any failure, with full-page screenshots of each failed step in a temp folder (the path is printed). Options: --viewport desktop|phone, --query <word> (search word; default: a word from an in-stock product), --pin 744101:AN (also check a PIN a shopper reported). A failing row blocks the release like any row below.

First run on a machine: bunx playwright install chromium-headless-shell. It runs on Node, not Bun: Bun on Windows cannot drive Playwright’s browser pipe and the launch hangs.

Manual checklist

Click through each row. Tick it only if the Expect column is exactly what you saw. A failing row becomes a GitHub issue (label bug + test-server) and blocks the release.

#FlowStepsExpect
1Apps are upOpen the admin and the store’s primary domainBoth load over HTTPS, no browser warning
2Owner sign-inLog out, log in with the owner emailCode arrives by email within a minute; lands on Home
3Staff inviteSettings → Staff → invite a verified test address with a non-owner roleInvite email arrives; Pending invites lists it
4Staff sign-inOpen the invite as that person, accept, log inLands on Home of the store (no store-picker loop)
5Store linksClick View store, a product’s “View on store”, and a theme PreviewAll open on the store’s primary domain, never shop.vioratech.in
6Custom domainSettings → Domains: every domain shows Active; open eachEach opens the shop; non-primary ones redirect if set
7StorageContent → Files → Storage → Test connection; upload one image“Connected to bucket …”; the image shows on the store
8ImportApps → Shopify importer → What’s left to import; copy one small typeRun moves (progress bars change), finishes Completed or lists clear problems; never “Running” with nothing moving
9Checkout (test mode)Add a product to cart, check out with the payment provider’s test detailsOrder appears in Orders; confirmation email arrives
10Order emailsMark that test order fulfilled, then deliveredShipping/delivery emails arrive with links on the store’s domain
11Worker healthDokploy → worker → LogsHeartbeat every minute; no repeating error lines
12Dark mode + phoneToggle dark mode; open admin Home and the store on a phoneTop bar readable; no sideways scrolling

After the checklist

  • All rows ticked → open the release PR dev → main and paste the ticked table into its body.
  • Any row failed → issue on GitHub, fix PR into dev, re-run the failed rows (and any row the fix touches) after the next deploy.
  • Production broke after a release → roll the app back first, fix after: deploy/rollback.sh <worker|admin|storefront> shows what it would do, add --apply to do it (--to <sha> for a chosen build). It needs DOKPLOY_URL, DOKPLOY_API_KEY and DOKPLOY_APP_ID_<APP> in the environment. Rolling the worker back does not undo a migration; see Deployment → One-step rollback.

Bugs

Every bug found anywhere (test server, local, a merchant) is one GitHub issue, so nothing is lost between sessions. On the test server, testers use Report a bug (account menu or the button at the bottom left), which files the issue for them with the page, store, browser and an optional screenshot attached; see Bug reports. Labels: bug, plus test-server, importer or deploy where they fit. The fix PR says Fixes #<n> so the issue closes when it merges into the default branch (dev).

Was this helpful?
Last updated on