test(e2e): truncate context_volunteer_events in setupDB (#2095)

The new feedback-log table wasn't in ALL_TABLES, so volunteered-event rows
persisted across e2e runs on a reused database and poisoned count/stats
assertions in volunteer-context-postgres on the second run. No FK to pages
(slug join), so position before pages is for hygiene only.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Garry Tan
2026-06-11 22:41:05 -07:00
co-authored by Claude Fable 5
parent 6f9d8d4241
commit fa27dd2e7b
+3
View File
@@ -49,6 +49,9 @@ const ALL_TABLES = [
'page_versions',
'ingest_log',
'files',
// v0.43 (#2095): volunteered-context feedback log — no FK to pages (slug
// join), but stale rows poison stats/count assertions across runs.
'context_volunteer_events',
'pages', // last because of foreign keys
'config',
'minion_attachments',