mirror of
https://github.com/garrytan/gbrain.git
synced 2026-07-27 22:15:33 +00:00
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:
co-authored by
Claude Fable 5
parent
6f9d8d4241
commit
fa27dd2e7b
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user