Commit Graph
4737 Commits
Author SHA1 Message Date
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 5b7c106003 Merge pull request #1147 from warmbly/feat/backend-definition-binding-comparison
feat: compare ECS named bindings independently of provider ordering while preserving task definition values
2026-11-04 15:05:31 +00:00
Matthew Meszaros 4daa82b34e feat: compare ECS named bindings independently of provider ordering while preserving task definition values 2026-11-04 16:02:52 +01:00
Matthew Meszaros fa2942937c Merge pull request #1145 from warmbly/feat/hosted-backend-configuration
feat: verify and preserve hosted backend attachment configuration
2026-11-04 13:56:02 +00: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 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 5260acadba Merge pull request #1143 from warmbly/fix/unconfirmed-send-health
feat: keep an unconfirmed send out of mailbox health until it outlasts automatic recovery
2026-11-04 11:46:17 +00: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 1effe5ea52 Merge pull request #1142 from warmbly/fix/main-ci-failure
feat: get the PostgreSQL TestLive catch-all green across every package
2026-11-04 08:31:03 +00: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
v0.6.75
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 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 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 6e4de3c636 feat: retain static asset release receipts and public routing files in deployment archives 2026-11-03 16:09:26 +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
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