Files
automation-based-email-list…/docs/release-checklist.md
T
2026-08-15 15:05:39 -06:00

2.9 KiB

Release and deployment checklist

Before committing

  1. Review both working trees: the email-list system and the Ops Monitor companion change.
  2. Run the complete unit suites and Docker acceptance tests using synthetic data only.
  3. Confirm .env, runtime databases, private inbox files, logs, backups, and generated receipts are ignored.
  4. Replace templates/welcome.md with approved PaddleNET copy before enabling welcome cron.

Ops Monitor deployment first

  1. Deploy the reviewed email-telemetry companion source to /opt/example-email-telemetry on Ops Monitor.
  2. Add a distinct EMAIL_TELEMETRY_API_TOKEN to that service's private environment and restart it.
  3. Create telemetry.example.com DNS/Caddy routing and configure the Postmark broadcast-list webhook.
  4. Confirm webhook writes reach /srv/example-telemetry/email/brand/raw/.
  5. Test both bearer-token read endpoints with synthetic event data.

Email-list VM deployment

  1. On 10.0.0.10, create /srv/email-list-system/runtime/inbox.
  2. Clone or pull the reviewed Git revision into /srv/email-list-system using the Git deployment access procedure.
  3. Create the private .env from .env.example; set the reviewed commit, private runtime path, EMAIL_LIST_PROVIDER=postmark, Postmark settings, and telemetry settings.
  4. Build the image, run system init --dry-run, then system init.
  5. Run system check, a Postmark suppression reconciliation dry run, and a synthetic/test-mode provider validation before any real subscriber import.
  6. Import the initial private list with subscriber import ... --no-welcome --dry-run, review it, then execute it.
  7. Install cron only after approved welcome copy and telemetry API validation are complete.

Release gate

Do not enable live sends until a human reviews the exact campaign preview, dry-run recipient count/exclusions, Postmark stream configuration, sender identity, webhook health, backup result, and authorization reference. Tag the validated release only after these checks pass.

Operational baseline verified 2026-08-14

The initial production integration was verified with separately authorized, one-recipient test campaigns. The verified path is Postmark broadcast-list -> https://telemetry.example.com/postmark -> Cloudflare Tunnel -> Caddy -> Ops Monitor. Postmark accepted each test send, Ops Monitor recorded the delivery webhook, and the visible Postmark-managed unsubscribe link was verified after the template fix in commit <reviewed-commit>.

The production .env uses the Postmark REST API adapter, not SMTP. The initial test subscriber was imported with --no-welcome; no welcome email or apparent-non-opener follow-up was scheduled.

Remaining pre-list tasks are to approve real welcome copy before enabling welcome processing, import the reviewed initial subscriber list with --no-welcome, and install cron only after a separate scheduler review.