Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

test(doctor): Postgres doctor golden gains the fresh-install minions_migration info row (E8)

garrytane4239daf0bb3
diff --git a/test/fixtures/goldens/doctor/json-postgres-fresh.json b/test/fixtures/goldens/doctor/json-postgres-fresh.json
index df77ada2e3..ca1e3f9c0a 100644
--- a/test/fixtures/goldens/doctor/json-postgres-fresh.json
+++ b/test/fixtures/goldens/doctor/json-postgres-fresh.json
@@ -208,6 +208,45 @@
"name": "dream_paid_loop",
"status": "ok"
},
+ {
+ "category": "meta",
+ "details": {
+ "pending_fresh_install": [
+ "0.11.0",
+ "0.14.0",
+ "0.22.4",
+ "0.28.0",
+ "0.53.0"
+ ]
+ },
+ "fix": {
+ "actor": "agent",
+ "argv": [
+ "gbrain",
+ "apply-migrations",
+ "--yes",
+ "--no-autopilot-install"
+ ],
+ "command": "gbrain apply-migrations --yes --no-autopilot-install",
+ "consent": [],
+ "next": "run",
+ "requires_exclusive": true,
+ "verify": {
+ "argv": [
+ "gbrain",
+ "doctor",
+ "--only",
+ "minions_migration",
+ "--json"
+ ]
+ },
+ "why": "Runs the setup migrations gbrain init left pending (preferences, host-work notes, shared-skill checkpoints) on the brain host, without installing background services."
+ },
+ "message": "5 setup migration(s) not run yet on this new brain (pending_fresh_install: 0.11.0, 0.14.0, 0.22.4, 0.28.0, 0.53.0). Expected after gbrain init, not a failed upgrade.",
+ "name": "minions_migration",
+ "severity": "info",
+ "status": "ok"
+ },
{
"category": "ops",
"message": "mode=notify",