From fa27dd2e7b26b4443fc81b9ee70c0c6de0f555c6 Mon Sep 17 00:00:00 2001 From: Garry Tan Date: Thu, 11 Jun 2026 22:41:05 -0700 Subject: [PATCH] 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 --- test/e2e/helpers.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/e2e/helpers.ts b/test/e2e/helpers.ts index 683a83dd3..56cec2ff5 100644 --- a/test/e2e/helpers.ts +++ b/test/e2e/helpers.ts @@ -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',