Commit Graph
668 Commits
Author SHA1 Message Date
Matthew Meszaros 35f8854a8f feat: renumber the edge_hostnames migration to 000361 after main took 000360 2026-11-07 08:18:18 +01:00
Matthew Meszaros 2a8ea14a1c feat: scope edge hostname verdicts to the Cloudflare zone, sweep the longest-waiting hosts first with a separate removal budget, put back a name registered while it was being removed, bound registration inside a redirect check to five seconds, and correct the configuration, Fargate and sending-domain docs for the edge setup 2026-11-07 08:17:45 +01:00
Matthew Meszaros 527b982111 feat: register every verified tracking host and redirect domain (root and www) as a Cloudflare for SaaS custom hostname when CLOUDFLARE_SAAS_* is set, show a root CNAME and its activation TXT behind that edge, point the www record at the root, and let the AWS tracking listener forward unmatched hosts to tracking behind tracking_serves_unmatched_hosts 2026-11-07 08:17:45 +01:00
Matthew Meszaros 01e7c022aa feat: renumber the mailbox sign-in scopes and switch migration to 000361 after main took 000360 2026-11-07 08:15:36 +01:00
Matthew Meszaros 0989440f0d Merge remote-tracking branch 'origin/main' into feat/google-trusted-app-signin 2026-11-07 08:15:19 +01:00
Matthew Meszaros ccede8a910 feat: renumber the mailbox sign-in scopes and switch migration to 000360 after main took 000357-000359 2026-11-07 07:34:36 +01:00
Matthew Meszaros 568df446b6 Merge remote-tracking branch 'origin/main' into feat/google-trusted-app-signin 2026-11-07 07:30:50 +01:00
Matthew Meszaros 9fcb975314 feat: disable a referral discount code when its referral code is deleted with its owner, disable referral discounts already left without a code, and keep the old referrals-and-discounts and promo-codes-and-referrals docs anchors working 2026-11-07 06:55:33 +01:00
Matthew Meszaros 88f6cd413b feat: renumber the provider_access_restored send recovery evidence migration to 000359 after main took 000357 and 000358 2026-11-07 05:56:01 +01:00
Matthew Meszaros 61d3dac8d4 Merge remote-tracking branch 'origin/main' into fix/release-send-safety-hold 2026-11-07 05:55:19 +01:00
Matthew Meszaros e7ae368921 feat: release a Gmail or Outlook mailbox's permanent send hold automatically once a complete sync outlives the refusal (at most every 6 hours, migration 000357), let a reconnect clear permanent holds, and tell owners how sending resumes 2026-11-07 05:41:08 +01:00
Matthew Meszaros 5d541df713 feat: renumber the campaign copy warmup_tokens step columns and their index to migrations 000357 and 000358 after main took 000355 and 000356 2026-11-07 05:21:06 +01:00
Matthew Meszaros dea6692dde feat: record the scopes Google granted each mailbox token (email_accounts_oauth.granted_scopes, migration 000357) at connect, reauth and vendor convert, list only Google sign-ins without full mail access as retiring with the vendor that can reconnect them, tell workers through ADD_EMAIL full_mail_access to skip Gmail IMAP for a token known to lack it, let an app password take over a delegated Google mailbox after the worker check, add GET /emails/:id/signin with only the switches that can succeed, record vendor reconnect progress per mailbox on the audit spine, and reconnect vendor-linked Google mailboxes automatically behind mailbox_signin.auto_vendor_reconnect with one attempt in flight and a week between attempts 2026-11-07 05:20:33 +01:00
Matthew Meszaros a22d15efd6 Merge remote-tracking branch 'origin/main' into devin/template-warmup 2026-11-07 05:18:49 +01:00
Matthew Meszaros 4f6d639471 feat: refuse account deletion over attachments on another workspace's campaigns, report failures to record a deletion's outcome, and reduce a DNS failure in the migration connection reason to its kind 2026-11-06 17:53:58 +01:00
Matthew Meszaros 74c51bfc82 feat: document account deletion refusals in their own error-code section, cover every non-renewing subscription state in the billing refusal test, and hide the address of a migration connection dropped mid-run 2026-11-06 17:15:31 +01:00
Matthew Meszaros 73f1e5dbb7 feat: accept invitations whose inviter was deleted, hand another workspace's subscription to its owner on account deletion, refuse it over shared assistant conversations, recheck refused account deletions daily, and show only the public sentence of a sensitive migration connection error 2026-11-06 17:09:55 +01:00
Matthew Meszaros f64a916fb9 feat: refuse account deletion while the account holds mailboxes, contacts, campaigns, templates, API keys, apps or subscriptions in workspaces it does not own or an owned workspace renews, lock owned workspaces before erasing them, and keep decoder text and migration connection details out of logs and error reports 2026-11-06 16:48:20 +01:00
Matthew Meszaros c7fe8d193f feat: complete scheduled account deletion by deleting owned workspaces first and keeping authored rows in other workspaces through ON DELETE SET NULL references to users (migrations 000355/000356), with admin listings left-joining deleted actors 2026-11-06 16:07:24 +01:00
Matthew Meszaros fc1574a0a5 Merge remote-tracking branch 'origin/main' into devin/template-warmup 2026-11-06 06:41:44 +01:00
Matthew Meszaros 6ab8fa8c28 feat: make campaign copy warmup automatic with no settings or page (a quarter of a mature sender's new threads open with a running campaign's step, never sent twice to one recipient in 30 days), continue each such thread with a prospect-style reply from a hand-written set and the sender's answer, show each step arm's warmup placement under the step on the campaign, and drop warmup templates, their settings table, permission and dashboard page 2026-11-06 06:41:44 +01:00
Matthew Meszaros 9bbf149548 feat: warm up running campaign copy: each mailbox's warmup draws the opening steps and active A/B arms of the campaigns it sends for, rendered per pool recipient through the campaign renderer (merge fields, spintax, HTML, signature, opt-out, UTM) and refused when a step needs lead-only data, with per-step placement at GET /warmup/templates/campaign-copy, a campaign_copy setting, a 7-day mailbox maturity gate, big-three headline placement, a sender-only template resend check, lock_timeout and a concurrent org index 2026-11-05 18:24:43 +01:00
Matthew Meszaros 19fbb96fc9 Merge pull request #1162 from warmbly/fix/consumer-mailbox-queues
feat: per-mailbox consumer queues sized from the database pool
2026-11-05 17:21:06 +00:00
Matthew Meszaros 5f6532a67e feat: halt the mailbox lanes when a keyed NATS pull is stopped so closing the bus hands queued deliveries back instead of starting them while the connection drains, asserted by the close regression test 2026-11-05 18:06:22 +01:00
Matthew Meszaros 21dcfbbb04 feat: end a keyed NATS pull's wait for lane room when the bus closes it, so closing never waits behind a slow mailbox handler, with a regression test that closes the bus while every lane is held 2026-11-05 17:57:29 +01:00
Matthew Meszaros c1cc9462da feat: renumber the warmup template migration to 000355 after merging main, where 000341 is email_opens_opened_at_index 2026-11-05 17:53:04 +01:00
Matthew Meszaros 26c7433be4 Merge remote-tracking branch 'origin/main' into devin/template-warmup 2026-11-05 17:50:51 +01:00
Matthew Meszaros 38c085d9dd feat: pull keyed NATS subscriptions with a fetch loop that asks for only as many messages as the mailbox lanes have room for, so the next pull always follows the last one and a reserved delivery is dispatched without blocking 2026-11-05 17:48:08 +01:00
Matthew Meszaros 97483a4854 feat: recheck a warmup reply at execution by the reply-partner rule instead of the capped new-thread draw, and send WARMUP_ACTIVITY and WARMUP_PLACEMENT on the warmup-update topic so the mailbox's whole organization receives them 2026-11-05 17:17:43 +01:00
Matthew Meszaros 95e5967310 feat: hold the warmup reply share between half and one and a half times its target instead of repaying whole deficits in bursts, answer the deepest warmup conversation first, exempt warmup replies from the recipient's inbound cap and its count, publish WARMUP_ACTIVITY so the mailbox drawer refreshes live, and show the seven-day reply share against the target 2026-11-05 16:27:27 +01:00
Matthew Meszaros 6fe614e909 feat: stop a lead's cold sequence once they book a meeting through a per-campaign stop_on_meeting setting (migration 000353, on by default including existing campaigns, plus a contact index on meeting_bookings in 000354) enforced in the campaign router alongside stop_on_reply, with settings and wizard toggles, a contact panel reason, live refresh on meeting events, the AI campaign tool field and API and guide docs 2026-11-05 15:26:20 +01:00
Matthew Meszaros 36d59d66b8 feat: report distinct, total and redelivered handlings when the saturated NATS lane test times out so a slow CI run shows whether redeliveries caused it 2026-11-05 14:18:21 +01:00
Matthew Meszaros 0ca3ed81b1 feat: keep consumer deliveries that wait for lane room on the in-progress heartbeat and state per-mailbox lane isolation only for NATS in the events docs 2026-11-05 14:01:24 +01:00
Matthew Meszaros f5d974bfd2 feat: run consumer worker events on per-mailbox queues that share a lane limit so a slow mailbox holds only its own lane, and size that limit from the consumer's database pool unless CONSUMER_EVENT_CONCURRENCY is set 2026-11-05 13:30:39 +01:00
Matthew Meszaros 67d61f24ba feat: handle worker events on ordered per-mailbox consumer lanes (CONSUMER_EVENT_CONCURRENCY, default 8) and hold warmup receipt locks on direct sessions behind a transaction pooler so a held lock never occupies a pooled server connection that receipt acceptance needs 2026-11-05 09:50:32 +01: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 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
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 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 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 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 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 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 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 d1b717cc06 feat: fence worker sync reports by the transport generation each worker incarnation was loaded with, carried as report_generation on SYNC_STATE 2026-11-03 09:15:40 +01:00