3d962a183c774eafa13170953eae1242dd4f44b2
Optional SOAK_MAIL=1 makes the mock deliver synthetic messages (unique UIDs, well-formed RFC822) on INBOX polls, so the full parse -> blob -> DB -> index path actually runs and CPU/RSS move under real throughput. Tunables: SOAK_MAIL_PER_POLL, SOAK_MSG_KB, SOAK_BIG_MSG_PCT (percent above STREAM_PARSE_MB -> streaming/§8 path). Blob store + search backend are isolated (temp BLOB_ROOT, SEARCH_BACKEND=pg) and torn down. Output gains msgs + msg/s columns and a delivered/peak-RSS summary. RSS check is now a trend (early-third vs late-third mean, not min-to-max) so it detects a real leak without flaking on transient large-message parse spikes. Validated: mail run delivers ~4.2 msg/s (incl. 5% 10MB messages); RSS oscillates 123-267MB but its mean is flat (+3.7% over the run) -> no leak, parse memory bound holds (§8); tier re-promotion on new mail exercised; all §10.7 checks pass. Full gate green (238 tests). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Description
No description provided
11 MiB
Languages
Python
57.3%
TypeScript
31.7%
JavaScript
8.1%
Shell
1.5%
HTML
0.8%
Other
0.5%