Keep health probes independent of mirror status scans #95
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!95
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/svd-dev-imap-mailmind-mcp-90-healthz-runs-the-full-statu-5ee6851d"
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?
Read the last successful sync through a short-lived read-only connection, reuse the aggregate in status(), and run both health-route reads in worker threads. Preserve response contracts and add four regression tests covering query scope, connection mode, event-loop isolation and lock independence.
Validation: make check passed with 342 tests passing and 4 skipped; source and wheel builds passed. On 200,000 synthetic messages, 20 health probes measured 0.79 ms median and 2.06 ms maximum; status() measured 65.15 ms median.
Closes #90
Co-Authored-By: gpt-6.1-sol noreply@openai.com