Index sender evidence lookups in schema v12 #139
No reviewers
Labels
No labels
bug
enhancement
epic
needs-info
needs-triage
ready-for-agent
ready-for-human
svd:go
svd:hold
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dev/mail-mind-mcp!139
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/svd-dev-mail-mind-mcp-136-mail-evidence-costs-about-2-s-dc251286"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add messages_sender (from_addr, account, message_id) and preserve table scans for account-less people queries. Keep evidence SQL unchanged. Add migration, query-plan and output-parity tests, update schema assertions, and document the migration and new evidence benchmark.
Validation: native package and image builds succeeded; filtered suite passed 551 tests; make check passed with 839 tests, 8 skipped, clean lint, typing and audit.
SQLite 3.40.1 image benchmark: base/head/base/head in one container, 150000 inbox rows plus 30000 Sent rows, five samples per median. Base → head milliseconds, first pair / second pair:
Both head runs printed SEARCH m USING INDEX messages_sender (from_addr=?).
Closes #136
Co-Authored-By: gpt-6.1-sol noreply@openai.com