Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

test: exempt preparation_attempts from the forward-reference bootstrap (migration-created column)

garrytan17fb067dac51
diff --git a/test/schema-bootstrap-coverage.test.ts b/test/schema-bootstrap-coverage.test.ts
index 5e4c104860..053b4ba5df 100644
--- a/test/schema-bootstrap-coverage.test.ts
+++ b/test/schema-bootstrap-coverage.test.ts
@@ -1052,6 +1052,10 @@ const COLUMN_EXEMPTIONS = new Set<string>([
// as v178/v198: persistence_requests is migration-created on PGLite, no
// index references the column, and every reader treats NULL as no recorded phase.
'persistence_requests.claim_phase',
+ // #6278 (migration v221) — preparation attempt counter. Same posture as
+ // v178/v198/v217: migration-created on PGLite, no index references the
+ // column, and every reader treats a missing value as 0 attempts.
+ 'persistence_requests.preparation_attempts',
// #5455 (migration v183) — managed mode epoch. persistence_brain is
// migration-created on PGLite; no index in either blob references it, and
// pre-migration readers go through to_jsonb(persistence_brain)->'mode_epoch'.