Commit Graph
1512 Commits
Author SHA1 Message Date
Matthew Meszaros 377e42a58c feat: keep free warmup only for workspaces that exist today through subscriptions.keeps_free_warmup (migration 000352), give new unpaid workspaces a zero mailbox allowance with warmup off, send inbox review notices only to workspaces whose plan opens the inbox, and update the locked screen, allowance dialog, billing, site pricing and docs to drop the hosted free plan and recommend Warmbly Cloud over self-hosting for deliverability 2026-11-04 20:27:44 +01:00
Matthew Meszaros c166c915a3 Merge pull request #1132 from warmbly/feat/template-field-aliases-and-validation
feat: accept snake_case, camelCase and lowercase aliases of built-in template fields through one shared tmplvars normalisation, refuse unrenderable step, variant and campaign-create copy with invalid_template, and fix the documented merge-field syntax in docs, CLI and seeds
2026-11-04 18:15:23 +00:00
Matthew Meszaros 6642f339ea feat: merge main after the Postgres load work landed, number the mailbox push channels migration 000351 after it, and share one arrival batch size between the claim and the delivery loop 2026-11-04 18:03:46 +01:00
Matthew Meszaros ca7bb6ec42 Merge pull request #1146 from warmbly/perf/postgres-load
feat: cut Postgres load: single-replica loops, claimed task and queue polling, fewer statements per arrival and sync report, retention and prune indexes
2026-11-04 16:42:26 +00:00
Matthew Meszaros 5a6fbef1b4 feat: count only client connections against max_connections in warmblyctl db load and report unsaved tracking-domain verdicts when the sweep is cut short 2026-11-04 17:28:38 +01:00
Matthew Meszaros 6b83ad3306 feat: tie each task dispatch claim to its lease so a lapsed replica cannot release a newer claim, wake webhook delivery from any process through a throttled Postgres NOTIFY on enqueue, keep delivered send-result effects whose task can still re-apply, floor warmup thread-turn pruning at the mail and recovery windows, retry transient unibox backfill failures, hand back run requests for stopped loops, report failed prunes and pool moves, and scope db load to the whole server without non-query text 2026-11-04 16:41:20 +01:00
Matthew Meszaros daaed572cc feat: power off a fleet worker or NAT instance whose boot script fails so the Auto Scaling group replaces it, stop an in-flight node update before the lifecycle watcher stops a terminating worker, cap fleet_worker_capacity at the 99999999 the worker accepts with a plan test, bound each CloudWatch fleet metrics publish to one interval, and document FLEET_METRICS_CLOUDWATCH as a fleet enable step and join token renewal every three weeks 2026-11-04 16:32:27 +01:00
Matthew Meszaros a7721887a8 feat: wake a Gmail mailbox once its push channel is stored, resend a PUSH_STATE the bus refused and report a Graph subscription that was deleted or gone even when its replacement fails, follow Graph subscription list continuations, drain a wake the timed pass covers, bound SYNC_WAKE publishes by the caller's deadline, keep the Google service account out of the compose worker, and correct the mailbox push docs on the Gmail publisher principal, what GMAIL_PUSH_TOPIC alone does, poll intervals and who calls the push routes 2026-11-04 16:32:27 +01:00
Matthew Meszaros 801c0af936 feat: require deployment ownership before accepting unchanged enabled hosted backend attachment configuration 2026-11-04 14:43:26 +01:00
Matthew Meszaros 9545a26e29 feat: verify hosted backend preflight task identities with existing deployment permissions and preserve rollback counts 2026-11-04 14:26:27 +01:00
Matthew Meszaros 8984e1ffde feat: keep campaign feeds, notifications and webhook delivery logs unless an operator sets a window, stop pruning tracking dedupe marks, cap warmup mail retirement at one 50-message share per mailbox per run, keep the sync recovery clock exact, and prune warmup thread turns in batches that respect each mailbox's own retention 2026-11-04 14:09:37 +01:00
Matthew Meszaros 1cb2bfa3b3 feat: add verified hosted backend attachment configuration with retained release settings and guarded rollback 2026-11-04 13:56:27 +01:00
Matthew Meszaros fc1c59a51b feat: prune campaign feeds, notifications, webhook delivery logs, tracking dedupe marks, worker health samples, delivered send-result effects and warmup thread turns in batched ctid deletes from one jobrun table_retention job with three new retention settings, index every prune and the capacity view window, drive warmup mail retirement from the mailboxes that can act, and persist the unibox body backfill place 2026-11-04 12:56:35 +01:00
Matthew Meszaros a16774e048 feat: have each local task dispatcher claim due tasks with a two-minute lease in tasks.dispatch_claimed_until so backend replicas stop running the same task, claim send result effects 25 per statement, drain webhook and HubSpot and Pipedrive outboxes back to back while busy and slow their idle polls, and serve the CRM lapsed-lease claim from a partial index 2026-11-04 12:49:20 +01:00
Matthew Meszaros 686a916d42 feat: run the warmup, campaign, segment and tracking-domain reconcilers as claimed jobrun jobs, keep the worker reconciler, unibox body backfill and signing-secret migration on one backend behind a sticky Postgres session advisory lock (internal/leader), read warmup pool membership in one query with per-organization entitlement and risk lookups every 10 minutes, and take every jobrun run-now request for a process in one query 2026-11-04 12:43:39 +01:00
Matthew Meszaros 66c840793b feat: document in the mailbox status API reference that send_recovery_reason reports unknown only once an unconfirmed send outlasts automatic recovery and that it sets a warning without lowering the health score 2026-11-04 12:32:53 +01:00
Matthew Meszaros 88b6bf0702 feat: keep an unconfirmed send out of mailbox health until it outlasts automatic recovery, measured from when the worker last progressed it, and show one that does as a warning that costs no health score instead of an error capped at 50 2026-11-04 12:14:18 +01:00
Matthew Meszaros 67bb118866 feat: label every Go service's Postgres connections with application_name warmbly-<binary> and add a read-only warmblyctl db load report of connections by service, longest sessions, costliest pg_stat_statements queries and largest tables 2026-11-04 11:52:08 +01:00
Matthew Meszaros b89e90a641 feat: refuse every html/template escape error in HTML copy, keep spaced custom-field keys from swallowing built-in operands, check selectors on parenthesised Sender values, render bare aliases as the built-in field in preview and send alike, and check a re-activated A/B variant's stored copy 2026-11-04 11:50:13 +01:00
Matthew Meszaros 095d842aa9 feat: merge main into the mailbox push branch and renumber its migration to 000341_mailbox_push_channels after main took 000339 and 000340 2026-11-04 11:40:14 +01:00
Matthew Meszaros c114dd34aa feat: store bare template field aliases in canonical form on every copy write, check HTML bodies with html/template escaping rules, scope template branch variables, refuse selectors on text fields and unknown values, check campaign-level control arm copy, and read first-name usage from parsed field references 2026-11-04 11:40:01 +01:00
Matthew Meszaros 93d8a73cbb feat: check Sender references through declared variables, with blocks and nested selectors, resolve form links in chosen A/B variant copy, check active variant copy at campaign start, keep line numbers when skipping form-link markers, and match first-name usage only inside template actions 2026-11-04 11:40:01 +01:00
Matthew Meszaros dc0c7b1eaa feat: accept snake_case, camelCase and lowercase aliases of built-in template fields through one shared tmplvars normalisation, refuse unrenderable step, variant and campaign-create copy with invalid_template, and fix the documented merge-field syntax in docs, CLI and seeds 2026-11-04 11:40:01 +01:00
Matthew Meszaros f9b8fa2255 feat: scale the AWS worker fleet on worker memory and CPU instead of mailbox count, publish WorkerMemoryPercent and WorkerMemoryMaxPercent from heartbeats, and let WARMBLY_WORKER_CAPACITY=auto size each worker's mailbox target from its measured memory 2026-11-03 18:11:18 +01:00
Matthew Meszaros 15541eafe6 Merge pull request #1141 from warmbly/fix/smtp-host-pacing
feat: pace SMTP sessions to a server that is limiting the worker's address
2026-11-03 17:00:28 +00:00
Matthew Meszaros 14d11f9a31 feat: treat an implicit-TLS handshake the server closes as server pacing, exempt trailing-dot loopback relays from pacing, and make the reserved-start cooldown test wait for its reservation 2026-11-03 17:31:01 +01:00
Matthew Meszaros 03cd541c62 feat: pace SMTP sessions per server and worker address after a 421, a 454 sign-in refusal or a dropped STARTTLS, hold due sends without contacting the server, and walk those sends back without spending a lead attempt or raising a mailbox error 2026-11-03 16:59:57 +01:00
Matthew Meszaros 4368e5780a Merge pull request #1139 from warmbly/feat/static-assets-release-delivery
feat: publish hosted static assets from pinned releases with explicit domains and Pages rollback
2026-11-03 15:50:40 +00:00
Matthew Meszaros 718985d574 Merge pull request #1127 from warmbly/fix/mailbox-warmup-errors
feat: preserve mailbox sync coverage and accurate notification and authenticator status
2026-11-03 15:46:37 +00:00
Matthew Meszaros 54342085df Merge pull request #1140 from warmbly/feat/cloud-subscription-gating
feat: close new self-hosted links to Warmbly Cloud, retire the Warmup plan checkout, keep existing links and paid subscribers unchanged
2026-11-03 15:43:07 +00:00
Matthew Meszaros 20a715969e feat: validate published static asset release inputs and document custom domain rollback behavior 2026-11-03 16:34:35 +01:00
Matthew Meszaros d8c63c4232 feat: accept Gmail watch notifications as Pub/Sub HTTPS push at /api/v1/mailbox-push/gmail, verified by a Google-signed token for GMAIL_PUSH_SERVICE_ACCOUNT, keeping the consumer pull subscription for instances Pub/Sub cannot reach 2026-11-03 16:31:15 +01:00
Matthew Meszaros 458ae0a03b feat: close new self-hosted links to Warmbly Cloud, retire the Warmup plan checkout, keep existing links and paid subscribers unchanged, and hide Cloud surfaces on unlinked instances 2026-11-03 16:21:53 +01:00
Matthew Meszaros 074018cf00 Merge remote-tracking branch 'origin/main' into fix/mailbox-warmup-errors 2026-11-03 16:01:12 +01:00
Matthew Meszaros 83d4f8c39e feat: publish opt-in hosted static assets from pinned releases while retaining Pages rollback artifacts 2026-11-03 15:50:30 +01:00
Matthew Meszaros d241a836f8 feat: sync mailboxes in realtime through Graph change notifications, Gmail Pub/Sub watches and IMAP IDLE that wake the owning worker with SYNC_WAKE, drain stored arrivals continuously, and add an opt-in autoscaling AWS worker fleet without public IPv4 scaled on a published fleet utilization metric 2026-11-03 15:11:24 +01:00
Matthew Meszaros 7cec9bf137 Merge pull request #1137 from warmbly/feat/static-edge-tls-routing
feat: serve hosted static frontends through explicit HTTPS Pages origin mappings
2026-11-03 13:33:42 +00:00
Matthew Meszaros fcb40fdee0 Merge pull request #1130 from warmbly/feat/reply-optout-command-and-cross-campaign-hold
feat: treat a reply that is only an opt-out command (STOP, remove, unsubscribe) as an opt-out, add opt-in stop_all_campaigns_on_reply holding a replying contact in their other campaigns, and add skip_active_in_other_campaigns to CSV import, bulk add and segment add-to-campaign with dashboard controls and docs
2026-11-03 13:31:12 +00:00
Matthew Meszaros fb7546e141 Merge pull request #1131 from warmbly/feat/bounce-cause-keeps-valid-addresses
feat: decide bounce suppression from the DSN status code and server reply through a shared dsn.Blame rule so mailbox-full, policy, reputation and system bounces keep the address and lead while address-invalid ones suppress, carry the per-recipient status and diagnostic in inbound bounce reasons, reuse the rule in emailverify, and add an optional TYPESAFE_ENDPOINT
2026-11-03 13:15:28 +00:00
Matthew Meszaros d3afcc9fa4 feat: serve hosted static frontends through explicit HTTPS Pages origin mappings with credential-free forwarding and staged custom-domain verification 2026-11-03 14:03:10 +01:00
Matthew Meszaros 1cc7e8bce5 feat: read the lines below a bare opt-out command against a closed whitelist of sign-offs, name lines with optional pronouns, an exact -- delimiter and whole mobile footers, so any other line keeps the reply from opting out 2026-11-03 13:50:37 +01:00
Matthew Meszaros b0cb19c0e7 Merge pull request #1133 from warmbly/feat/warmup-stop-lifts-cold-ceiling
feat: lift the reply-gated cold ceiling once warmup is stopped (not paused) by reading warmup_stopped_at in ColdRampStateForAccounts through one ColdRampState.CeilingApplies gate shared by the scheduler, send plan, projection and mailbox status notice, correct the Stop comments, let an explicit batch warmup Off win over per-row warmup columns in mailbox import with a three-way warmup choice in the import dialog, and document both in the campaigns, warmup and mailbox import guides
2026-11-03 12:41:36 +00:00
Matthew Meszaros 36b77487e3 feat: read the per-recipient DSN group with its Status field as the deciding code, keep policy-tailed and sender-scoped refusals off recipient suppression, reopen completed campaigns when a refused lead is kept, and require https for TYPESAFE_ENDPOINT outside loopback and private hosts 2026-11-03 13:27:07 +01:00
Matthew Meszaros 99886094ff feat: accept only sign-offs, complete footers, delimiters and name-like signature lines below a bare opt-out command, write the cross-campaign reply hold before the reply is marked processed, keep skipped pairs out of the manual-lead claim, and label the reply-hold switch 2026-11-03 13:24:41 +01:00
Matthew Meszaros b745f55ee1 feat: lift the cold ceiling only in the Stop state (test_mode off) so pausing a stopped mailbox keeps it, write a batch warmup Off into each queued import row and ignore every per-row warmup value under it so a previous-release runner cannot start warmup, and cover both with live lifecycle and stop-stamp repository tests and a claimed-row runner test 2026-11-03 13:14:42 +01:00
Matthew Meszaros 2a46e0771a Merge pull request #1136 from warmbly/feat/unibox-campaign-contact-filters
feat: scope GET /v1/unibox to a campaign_id or contact_id (org-verified, 404 outside the workspace) traced through campaign sends by Message-ID, In-Reply-To, thread root and Gmail thread handle, return each row's campaign_id, accept since/until as YYYY-MM-DD (until keeps the whole UTC day) or RFC 3339 and refuse anything else with 400 invalid_filter, and document address, direction, the new filters and dates in the unibox reference, openapi.json, error codes and both CLIs
2026-11-03 12:01:18 +00:00
Matthew Meszaros dd6a17ab6f Merge pull request #1135 from warmbly/feat/webhook-catalog-emitted-or-deprecated
feat: emit campaign.completed, inbox.reply_received, email_account.disconnected/error/synced, automation.run and bulk_operation.* webhooks from their control-plane sources, deprecate the five catalog events nothing can deliver, hide them from pickers, and add a source-scan test that every catalog event is emitted or deprecated
2026-11-03 12:01:15 +00:00
Matthew Meszaros 162713beaa Merge pull request #1134 from warmbly/feat/step-ab-contact-stats
feat: record the step A/B arm each contact was sent on campaign_contact_progress (migration 000338), report contact-based per-step arm stats with last-step attribution and a Bonferroni-corrected two-proportion z-test winner in GET /campaigns/:id/ab-analysis, implement ab_testing.auto_promote_winner as an audited consumer loop, and show per-arm results, winner and promotion in the step editor and Settings > Sending
2026-11-03 12:01:12 +00:00
Matthew Meszaros 6afc5844b4 feat: emit campaign.completed, inbox.reply_received, email_account.disconnected/error/synced, automation.run and bulk_operation.* webhooks from their control-plane sources, deprecate the five catalog events nothing can deliver, hide them from pickers, and add a source-scan test that every catalog event is emitted or deprecated 2026-11-03 09:47:34 +01:00
Matthew Meszaros b2497c5541 Merge pull request #1123 from warmbly/fix/explain-sending-days
feat: honor selected warmup days and explain effective mailbox schedules
2026-11-03 08:37:34 +00:00