E2E: empty tables with TRUNCATE so full-text indexes keep matching #163
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MassiveDynamic/kataba!163
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/e2e-reset-truncate"
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?
Summary
Emptying the tables with
DELETErun after run left thePagefull-text index inkataba_e2ematching nothing: the stored search text was right, but even a freshly inserted row wasn't found, while a new table in the same database matched fine.TRUNCATErebuilds the index. The app is not affected; it never empties tables, and page search works in the dev database.Evidence
pages.spec.ts:127"search finds pages only for those who may see them" andpages.spec.ts:333"…search finds their text" fail with "Nothing found"; 92/94 passed.After: full e2e suite, 95 passed.
Merge Danger
Door: two-way
Blast Radius: none — test setup only.
🤖 Generated with Claude Code