Skip to content

Release 0.10.25 - #1970

Merged
neuromechanist merged 8 commits into
mainfrom
dev
Oct 26, 2026
Merged

neuromechanist merged 8 commits into
mainfrom
dev

Conversation

@neuromechanist

Copy link
Copy Markdown
Contributor

Release 0.10.25

This PR promotes dev to main with a regular merge, never a squash. The head is dev at 4e1fe63 (version 0.10.25-dev3).

It ships production sending on the Cloudflare Email Service (#1966) and inbound mail screening (#1968, ADR 0113), with the changelog entry (#1969). Epic #1893 is closed; the nemar.org catch-all already routes to the production Worker (since 2026-10-26), so screening protects live inbound mail as soon as this deploys.

Pre-merge checklist (.context/release-safety-playbook.md)

  • Required checks green on the dev head; the checks on this pull request run on the same head.
  • Migrations: 0111 only. Two ADD COLUMNs with safe defaults (mail_tickets.filtered NULL, mail_queues.notify 1), a new mail_blocklist table, an index on mail_messages (from_addr, created_at), and a rebuild of the leaf table mail_ticket_events (nothing references it; same statement shape as 0107, which ran in production). Production has no tickets yet, so the rebuild copies no rows. Applied on staging (nemar-db-dev) without error.
  • Prod wrangler config: EMAIL_PROVIDER = "cloudflare", EMAIL_FALLBACK = "resend", MAIL_SENDER_HOURLY_CAP = "20". The send_email binding, restricted to noreply@ and support@, shipped in 0.10.24, and nemar.org is onboarded for Email Sending. RESEND_API_KEY stays set for the fallback.
  • CHANGELOG.md has the 0.10.25 entry (Changelog for 0.10.25 #1969).
  • Reviews: Screen inbound support mail (#1899) #1968 had one full review (two Critical, five Important, three suggestions, all fixed) and one delta review (no Critical or Important; six suggestions, all fixed). Send production mail through Cloudflare #1966 is a config flip pinned by a new config test.
  • Env gating: no new cron. Screening runs only in the inbound handler; staging sends through Cloudflare since 2026-10-23.
  • A human watches the deploy (see the post-merge watch below).
  • Fresh prod D1 restore floor: Time Travel bookmark 000013c0-00000112-00005110-830d6bf9e0b5329a96f011ae467ac81c, read 2026-10-26 at about 08:04 UTC.
  • Rollback plan: the live production Worker version is 46cc766f-c0ad-47ac-9207-cedce8b77d6d (0.10.24, deployed 2026-10-26 06:23 UTC).

Post-merge watch

  1. deploy-backend.yml on main runs twice; both reach the /health smoke check, and /health reports 0.10.25.
  2. auto-tag.yml creates v0.10.25, npm-publish.yml publishes it, and sync-dev.yml moves dev to 0.10.26-dev0.
  3. A production sign-in code arrives with dkim=pass header.d=nemar.org through Cloudflare.
  4. nemar admin mail queues set '*' --notify false, then nemar admin mail queues shows the catch-all queue as quiet.

Rollback

  • Worker: cd backend && bunx cfman wrangler --account sccn rollback 46cc766f-c0ad-47ac-9207-cedce8b77d6d -c wrangler-sccn.toml. Sending returns to Resend with the old configuration.
  • Migration: additive columns and a new table that old code ignores; the events-table rebuild keeps every kind old code writes. No data restore needed for a code rollback.

nemar-bot and others added 8 commits October 26, 2026 06:01
* Add mail screening schema, contract and ADR 0113

* Screen inbound mail: blocklist, filter, cap

* Test inbound mail screening

* Add mail spam and blocklist CLI commands

* Review fixes: unfilter on action, safer blocks

* Test unfiltering, unverified blocks, cap

* CLI: spam --force, default block none

* Review: two-lane cap, assign on unfilter

* Test two lanes, unfilter assignment

* CLI: note lists are not exhaustive
@neuromechanist
neuromechanist merged commit 057e8fe into main Oct 26, 2026
38 checks passed

This branch was previously deployed

1 inactive deployment
npm — 4e1fe630 Deployed Oct 26, 2026 by github-actions[bot] via publish #4016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant