Commit Graph
2464 Commits
Author SHA1 Message Date
Matthew Meszaros 121503d709 Merge pull request #1170 from warmbly/feat/cloud-upgrade-path
feat: make upgrading from a self-hosted instance to a Warmbly Cloud plan one click
2026-11-06 12:40:29 +00:00
Matthew Meszaros b6c31852c2 feat: scale the AWS consumer service between one and six tasks on a WorkerEventBacklog CloudWatch metric the consumer publishes when CONSUMER_METRICS_CLOUDWATCH is set, and let backend, tracking and forms opt into CPU target tracking through the runtime root's autoscaling map 2026-11-06 13:11:13 +01:00
Matthew Meszaros c934e1230d feat: open the plan chooser from a linked instance's See plans link (upgrade_url ?pool=1) with premium-pool copy, point the unlinked self-host Mailboxes banner at Warmbly Cloud sign-up that lands on the plan chooser plus Settings > Data for the workspace export, keep a sign-up's next target through onboarding, and update the warmup and Warmbly Cloud guides 2026-11-06 13:05:11 +01:00
Matthew Meszaros 9ba62967ed feat: send campaign copy warmup only to business inboxes on Google Workspace and Microsoft 365 (never free Gmail, Outlook.com, Yahoo or small hosts), read each step arm's warmup placement there alone, and show an arm only after 20 receipts and a provider after 10 2026-11-06 10:44:19 +01:00
Matthew Meszaros 86214b9070 feat: document automatic campaign copy warmup and its prospect replies in the warmup guide, add GET /campaigns/:id/warmup-placement to the campaigns reference, scope map and openapi.json, and unexport the campaign copy eligibility check 2026-11-06 06:42:32 +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 d7535b2d25 feat: send a workspace's own warmup copy only to pool mailboxes that file warmup mail out of the inbox so it meets a provider's filter rather than a reader, and add GET /warmup/templates/:id so the template drawer shows the body 2026-11-05 20:12:53 +01:00
Matthew Meszaros cbd936d065 feat: let warmup templates and campaign copy pass the dispatch-time warmup check as single openings (an active template of the sender's workspace, campaign copy with no bank conversation) instead of being refused and requeued, keep the HTML part through the task sender, repeat the least recently sent own copy under own-copy-only and fall back to the bank only with no own copy at all, show recipient names only when displayname allows them, gate campaign copy on campaign view access, and check rendered copy before minting tracking tickets 2026-11-05 19:39:28 +01:00
Matthew Meszaros 042b4ede09 feat: report a reported count on warmup copy placement so landing rates are read over receipts that arrived, and make POST /warmup/templates/check return the same refusal a create would (wording, send gate, merge fields, length) in blocked_reason, with docs and openapi 2026-11-05 19:12:30 +01:00
Matthew Meszaros 5a3d10eb0a feat: keep the campaign's open pixel and wrapped links on its tracking domain when warmup carries campaign copy, with link tickets bound to the warmup task and no campaign so warmup engagement never reaches campaign analytics, and document it 2026-11-05 18:55:35 +01:00
Matthew Meszaros 2315e0f120 feat: document campaign copy warmup in the warmup guide, the deliverability-ops API reference, the endpoint scope map and openapi.json (GET /warmup/templates/campaign-copy, campaign_copy setting, 25 percent default share, big-three headline placement, 7-day maturity gate), and refuse merge fields and AI blocks in verbatim warmup templates 2026-11-05 18:47:38 +01:00
Matthew Meszaros 0d39874bfa feat: live-test campaign copy warmup against Postgres: openers only (entry step and own-thread steps, never follow-ups, paused Originals or paused variants), the one-day per-sender resend gate, paused campaigns and other workspaces excluded, and per-arm placement with the big-three headline that survives a pause 2026-11-05 18:38:02 +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 f226ef5ad2 Merge pull request #1166 from warmbly/fix/warmup-reply-conversations
feat: hold the warmup reply share evenly, keep replies out of the inbound cap, and refresh the drawer's warmup figures live
2026-11-05 17:05:01 +00: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 ec50b82c91 feat: publish the warmup recipient's WARMUP_ACTIVITY as soon as its receipt is stored, before and regardless of the sender's placement claim 2026-11-05 17:51:21 +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 b8d3f127ad feat: fail a warmup reply's execution recheck closed when the premium sender's routing rules cannot be read, matching the new-thread recheck 2026-11-05 17:35:28 +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 3a9fb1322b Merge pull request #1165 from warmbly/fix/positive-reply-classification
feat: read reply sentiment from the stored TypeSafe verdict everywhere, and count pricing or info requests as positive
2026-11-05 15:39:45 +00: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 fd730805ae feat: record opt_out as the stored reply intent when a campaign reply's class is unsubscribe so a reply_intent branch never routes an opt-out as interest, and give the LLM fallback the whole reply when quote stripping leaves nothing so a reply written below the quote is still read 2026-11-05 16:25:11 +01:00
Matthew Meszaros 95e9541629 feat: classify campaign replies on the whole body so an opt-out past the 200-character preview is read, feed the LLM fallback the reply without quoted history capped at 4000 runes, and word the keyword fallback in the inbox tagging docs as applying only when no verdict is stored 2026-11-05 16:10:51 +01:00
Matthew Meszaros e0a1ce3a5d feat: read every reply's sentiment from the stored TypeSafe verdict ahead of keyword phrases, so campaign reply_class, the recorded reply intent (webhooks, timeline, CRM tasks, auto-pause) and the Slack inbox card agree, and count pricing or info requests as positive 2026-11-05 15:47:45 +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 a027135bc5 Merge pull request #1159 from warmbly/feat/attachment-preflight-inventory
feat: add offline archive attachment preflight with resumable SHA-256-bound pages
2026-11-05 13:59:06 +00:00
Matthew Meszaros fd11313a04 feat: clear the Graph relay cache entry before relaying a known message and cache a reconcile only when its resolved folder matches the walked folder 2026-11-05 14:21:35 +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 465493d1dc feat: record in the Graph relay cache the read state a message reconcile actually relayed and clear it when the reconcile reports a removal, so a later delta walk compares against what the platform last received 2026-11-05 14:07:02 +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 6a5f5ecb56 feat: relay an Outlook known message's read state and folder from the Graph delta walk only when it differs from what the worker relayed within the last six hours, forgetting the entry when the message is removed 2026-11-05 13:53:06 +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 c03aea1c6b feat: preserve attachment inventory interruption causes and discard incomplete reports at the read boundary 2026-11-05 10:10:47 +01:00
Matthew Meszaros 7949e5137b Merge pull request #1161 from warmbly/fix/consumer-keyed-lanes
feat: consumer per-mailbox event lanes and warmup receipt locks on direct sessions behind a pooler
2026-11-05 09:06:10 +00:00
Matthew Meszaros 419b3ca231 feat: verify attachment inventory member checksums and cancellation while admitting only regular archive files 2026-11-05 09:51:20 +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
Jaseem ThayalandClaude Opus 5.5 f04d2a1bad fix: log silent IMAP publish failures and dropped sync state reports (#1157)
Two paths left last_synced_at stale with nothing in the logs, which is
what shows as "No recent successful sync check":

- The IMAP pass ended with nil when a MAILBOX_UPDATE, MAILBOX_DELETE or
  MAILBOX_RENAME publish failed. Those five sites now go through
  controlPlaneError, the helper the rest of the pass already uses for
  publish failures: it logs a warning with email_id and the error and
  emits ControlPlaneHeld evidence. It still returns nil and holds cursors.
- HandleSyncState returned nil without a word when PutFromWorker rejected
  a report because the worker or transport generation no longer matched.
  It now logs a warning with email_id, worker_id, report_generation and
  transport_generation, and still returns nil.

Logging only, no behaviour change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 14:08:17 +05:30
Matthew Meszaros 4188a90b45 feat: add offline private attachment preflight to warmblyctl with archive-bound resumable pages and unchanged portability 2026-11-05 09:32:09 +01:00
Matthew Meszaros 0273b54dfc feat: cover the warmup scheduler's mailbox-local daily count with a Tokyo-zone test that fails on the UTC day 2026-11-05 09:24:15 +01:00
Matthew Meszaros 97aff1e855 feat: count a mailbox's warmup sends on its own local day in the warmup scheduler and show the queued warmup send on the mailbox's clock with its zone named in the mailbox list and Warmup tab 2026-11-05 08:58:45 +01:00
Matthew Meszaros 0df02b570c Merge pull request #1153 from warmbly/fix/campaign-attachment-validation
feat: validate campaign attachment formats and preserve portable existing files
2026-11-04 21:01:27 +00:00
Matthew Meszaros 9441ad3b50 feat: bound new campaign CSV and TSV uploads to 4096 fields per logical record with a pinned Go reader while preserving import and attachment transport profiles 2026-11-04 21:47:14 +01:00
Matthew Meszaros 7806d57da2 feat: require listed presentation slides and matching Office member types and enforce classic PDF revision object ranges while preserving attachment transport 2026-11-04 21:35:36 +01:00
Matthew Meszaros 664a2facaf feat: enforce shared stream size and CRC contracts for campaign ZIP directories and cover production reader metadata and physical range equivalence 2026-11-04 21:17:43 +01:00
Matthew Meszaros 14684e7af7 feat: bind campaign ZIP attachment readers to validated member metadata and ranges with shared compressed limits and CRC checks 2026-11-04 20:58:21 +01:00