Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
## [Unreleased]
- Proposed: repair fresh-install and upgrade failures while retaining existing
mail and its read state. Real database smoke tests preserve the complete
historical upgrade path and verify the repaired installation.
- Proposed: repair storage failures for long email and document content while
retaining complete text and search scores. Search latency and deployment
validation remain required before this change is released.
Expand Down
4 changes: 4 additions & 0 deletions backend/tests/test_bootstrap_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@ def test_schema_backfill_adds_email_indexes(monkeypatch):
and "user_id, organization_id, date" in statement
for statement in statements
)
assert not any(
"on emails (user_id, organization_id, date)" in statement
for statement in statements
)
assert any(
"drop index if exists ix_email_records_message_id" in statement
for statement in statements
Expand Down