Mail: thread flow searches for a Receipt in the People-only Inbox #1328

Open
opened 2026-10-07 06:20:10 +00:00 by kayg · 2 comments
Owner

Command: CALTERNAL_MAIL_SYNC_MESSAGES=10000 bun run test:e2e:mail-sync-613
Actual: The TLS backfill completed 10,000 messages in 39.292 s (254.50 messages/s), then the UI flow timed out after 30 s waiting for the fixed Northstar invoice thread in the first thread list page. The fixture places that thread at messages 1,998/1,999, while a 10,000-message newest-first page contains message 10,000 and omits that older thread.
Expected: The existing sender/thread/attachment UI flow remains on the first page for every supported profile size.
Evidence file: target/tmp/bash-perf-mail-10k-fixture-finding.txt
Severity: minor (test fixture coverage; no product data loss or wrong sync count).

Command: CALTERNAL_MAIL_SYNC_MESSAGES=10000 bun run test:e2e:mail-sync-613 Actual: The TLS backfill completed 10,000 messages in 39.292 s (254.50 messages/s), then the UI flow timed out after 30 s waiting for the fixed Northstar invoice thread in the first thread list page. The fixture places that thread at messages 1,998/1,999, while a 10,000-message newest-first page contains message 10,000 and omits that older thread. Expected: The existing sender/thread/attachment UI flow remains on the first page for every supported profile size. Evidence file: target/tmp/bash-perf-mail-10k-fixture-finding.txt Severity: minor (test fixture coverage; no product data loss or wrong sync count).
kayg changed title from Mail: 10k sync profile hides the thread fixture below the first page to Mail: thread flow searches for a Receipt in the People-only Inbox 2026-10-07 06:31:49 +00:00
Author
Owner

Correction after the default 2,000-message reproduction: the Northstar thread does not appear in the Inbox because its invoice subject classifies it as a Receipt, while DESIGN §45 says the Inbox shows People only by default. The first Inbox page showed Fixture 2000, Fixture 1997, …; the thread was not part of that category. The 10k first attempt also exposed that the canned thread must remain among the newest records. I updated the fixture to place it newest and changed the E2E flow to open /mail/c/receipts before testing thread and sender-category actions. The expectation remains that the thread and attachment actions work in their category.

Correction after the default 2,000-message reproduction: the Northstar thread does not appear in the Inbox because its invoice subject classifies it as a Receipt, while DESIGN §45 says the Inbox shows People only by default. The first Inbox page showed Fixture 2000, Fixture 1997, …; the thread was not part of that category. The 10k first attempt also exposed that the canned thread must remain among the newest records. I updated the fixture to place it newest and changed the E2E flow to open `/mail/c/receipts` before testing thread and sender-category actions. The expectation remains that the thread and attachment actions work in their category.
Author
Owner

Fixed on branch in ad5de1b04. DESIGN §45 says the Inbox shows People only by default; the Northstar invoice is classified as a Receipt. The E2E now opens /mail/c/receipts before its thread, attachment and sender-category checks. Scaled fixtures also keep the two-message thread among the newest provider dates. The 2k run now opens the thread; its body wait later timed out under local load and is tracked separately in #1330. No existing product expectation was changed.

Fixed on branch in `ad5de1b04`. DESIGN §45 says the Inbox shows People only by default; the Northstar invoice is classified as a Receipt. The E2E now opens `/mail/c/receipts` before its thread, attachment and sender-category checks. Scaled fixtures also keep the two-message thread among the newest provider dates. The 2k run now opens the thread; its body wait later timed out under local load and is tracked separately in #1330. No existing product expectation was changed.
Commenting is not possible because the repository is archived.
No labels
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal-v0#1328
No description provided.