Commit Graph
2464 Commits
Author SHA1 Message Date
Matthew Meszaros faac10f792 Merge pull request #1155 from warmbly/feat/close-free-warmup-new-workspaces
feat: close hosted free warmup to new workspaces and keep it for existing ones
2026-11-04 19:41:37 +00:00
Matthew Meszaros 1a5be647f3 feat: bound campaign attachment container validation and support Office XML encodings and indirect PDF values while preserving archive warning arrays 2026-11-04 20:40:42 +01:00
Matthew Meszaros 5e10ae9bce Merge pull request #1148 from warmbly/fix/import-signin-row-app-password
feat: let a mailbox import row waiting for sign-in be fixed with an app password
2026-11-04 19:35:49 +00:00
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 78e42be41f feat: validate bounded campaign attachment formats and UTF-8 imports while preserving portable existing files 2026-11-04 20:22:57 +01:00
Matthew Meszaros 163dcd96b7 feat: normalize per-leg Google app passwords in mailbox import fixes and mark import causes holding Google rows so the dashboard retry form checks app passwords for generic causes too 2026-11-04 20:20:20 +01:00
Matthew Meszaros 0c090cf6dd feat: refuse a non-app password for Google rows in mailbox import retry before any row is requeued, share the Google app-password check between fix and retry, and check it in the dashboard's per-cause retry form 2026-11-04 19:57:14 +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 e838aaa0e7 feat: check both mailbox import fix passwords against the Google app-password rule, classify an entered SMTP host as Google in the fix form, audit only rows a retry requeued, and cover sign-in and vendor-parked rows in the requeue repository test 2026-11-04 18:45:53 +01:00
Matthew Meszaros 68762d4f4a feat: let a mailbox import row waiting for Google or Microsoft sign-in be fixed with an app password, filling the host's known servers, refusing a non-app password for Google rows in the API and the fix form, and returning a conflict when the row left a fixable state before requeue 2026-11-04 18:16:34 +01: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 56c3195f4b feat: never adopt a stored push channel this worker already closed, matching the Graph subscription id or a Gmail watch no newer than the closed one, and test the pending push report resend during the retry backoff 2026-11-04 17:18:20 +01:00
bruce 9081f93bd4 feat: add org-scoped warmup templates: template rows in the shared warmup_conversations bank sent verbatim from the owning workspace as a configurable share of its warmup (template_share, templates_only) with a once-per-sender-per-day cap, /warmup/templates API with a /check analyzer, settings and per-template placement by provider group, WARMUP_TEMPLATES permission bit 24, orgtransfer registration, docs, and tests 2026-11-04 16:13:34 +00:00
Matthew Meszaros eebfaf43d8 feat: label hidden and background sessions apart in warmblyctl db load, read pg_stat_statements from whatever schema holds it, give orphaned run-request handbacks their own deadline, report unsaved tracking-domain verdicts, treat missing retention fields as zero when checking the admin form for edits, and test the webhook delivery listener against a notification from another connection 2026-11-04 17:12:14 +01:00
Matthew Meszaros 710d857a4b feat: keep an unsent mailbox push report ahead of the control plane's stored row and resend it during the retry backoff, and plan-test the largest accepted fleet worker capacity 2026-11-04 16:58:54 +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 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 6a784031ab feat: cut consumer Postgres statements per arrival and SYNC_STATE by reading the prior sync state under the report lock, folding the last_synced_at touch into the upsert, throttling healthy recovery and account clocks to a minute, admitting arrivals in one statement, claiming 32 arrivals per statement with checkpoints only before a remaining stage, counting the arrival backlog every 30s, memoizing the mailbox row per NEW_EMAIL and caching resource organizations for realtime audiences 2026-11-04 13:06:19 +01:00
Matthew Meszaros 3a7048a7c1 feat: retire warmup mail in batches of 500 capped at 50 per mailbox and keep taking batches for up to 40 seconds a run, so the retention sweep keeps pace with large fleets instead of 100 copies a minute 2026-11-04 13:00:34 +01:00
Matthew Meszaros 77549ec078 feat: number the task dispatch claim and CRM lease index migrations 000349 and 000350 after the retention index migrations 2026-11-04 12:57:09 +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 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 8a3949db48 feat: cover the warmup pool admission gate with a live test that refuses a mailbox whose test mail is off or whose diagnostic mode allows neither sending nor receiving 2026-11-04 09:18:04 +01:00
Matthew Meszaros be8bf18164 feat: get the PostgreSQL TestLive catch-all green by materializing the follow-up states CTE so a sweep page resolves its facts once, harvesting prepared statements by constant-folding whole SQL strings and checking monitoring as assembled, scoping instance-wide monitoring and reply-repair tests to their own rows, and updating warmup, analytics, erasure, cloud-link and credential fixtures to current schema and behavior 2026-11-04 09:06:33 +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 1e4bdcd113 feat: mark an implicit-TLS handshake the server closes as a dropped handshake where the handshake runs, cover it through sendRaw, and order the reserved-start cooldown test through a replaceable timer 2026-11-03 17:39:17 +01: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 d1d43111d0 feat: key SMTP pacing on the normalized server host and worker address, skip loopback relays, hold reserved starts that land in a later cooldown, measure the spaced window from the cooldown's end, classify dropped STARTTLS by transport error, and cover a long server-pacing retry time live 2026-11-03 17:18:48 +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 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 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 b612a94e59 feat: give the sync codec registry fixture its own report generation and assert folder coverage time survives the fresh round trip 2026-11-03 16:30:21 +01:00
Matthew Meszaros 0885efeb65 feat: give the sync codec registry fixture a distinct worker id and assert report_generation round-trips and is never fabricated from an old writer 2026-11-03 16:23:53 +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 94d4026ed9 feat: point the 000340 validation down migration comment at 000339, which now owns the sync folder coverage columns 2026-11-03 16:03:04 +01:00
Matthew Meszaros 6fdf4e5e9d feat: renumber the unreleased sync folder coverage migrations to 000339 and 000340 after main took 000338 for the step A/B arm 2026-11-03 16:02:40 +01:00