chore(release): 1.3.10 — ship the scoped-count cache that stops the sidebar re-walking the mailbox - #208
Merged
Conversation
…idebar re-walking the mailbox Ships #206. Measured A/B against the production serve (mailbox 175,344 messages), driving the real mailboxCounts({source:{address}}) on the TUI's 30s cadence: BEFORE 357s 3 walks 618 reqs 213.1 MB 104 req/min 2.10 GB/h AFTER 334s 1 walk 206 reqs 71.0 MB 37 req/min 0.75 GB/h 3.00x in the measured window, 6.8x in steady state. The burst per refill is unchanged and needs the server-side recipient filter tracked as 3ae0181e. Refs: 41529344, 370fd95e Agent: agent-chief-operations
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ships the scoped-count cache merged in #206 as
1.3.10. Version bump only — no code change in this PR.Why this needs to ship rather than sit on main
emails uiis the client behind the 2026-07-31 runaway egress (370fd95e). The bounding fixes already in1.3.9cut it roughly 14x, and1.3.9is still expensive when a mailbox address is selected in the sidebar. Measured on the installed build's code path today, against the production serve, mailbox 175,344 messages:3.00x in the measured window; 6.8x in steady state (206 req/132s becomes 206 req/900s). The window understates it because it contains the fixed build's one-and-only walk and none of its cached interval.
A merged fix changes nothing for the process that is actually running — the TUI runs the installed package, so this is the rung that makes the fix real.
What this does NOT fix
Each refill is still one whole walk of 206 requests and 71 MB; only the duty cycle improves.
/v1/messages/countsaccepts?to=and silently discards it (measured today:?to=<real>and?to=<cannot-exist>both return the whole-store total516565, while?domain=correctly returns361410). Removing the burst needs that server-side filter, tracked as3ae0181e.Refs: 41529344, 370fd95e, 3ae0181e
Agent: agent-chief-operations
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.