Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

test(doctor): hot-checks and content goldens list managed_sync_blocked (#6858)

garrytan2ab9093a556c
diff --git a/test/fixtures/goldens/doctor/content-pglite-human.json b/test/fixtures/goldens/doctor/content-pglite-human.json
index 70eac0d171..41d70c6ef8 100644
--- a/test/fixtures/goldens/doctor/content-pglite-human.json
+++ b/test/fixtures/goldens/doctor/content-pglite-human.json
@@ -56,6 +56,7 @@
" [OK] persistence_capacity: Managed write capacity is below 80% of every cumulative limit and none runs out within 30 days at its 7-day rate.",
" [OK] persistence_terminal_failures: No terminal write failures in the last 7 d.",
" [OK] managed_sync_not_moving: No managed sync is pending.",
+ " [OK] managed_sync_blocked: No managed sync run is blocked.",
" [OK] persistence_compaction: Receipt compaction last ran 0 hour(s) ago (compacted 0, freed 0 bytes).",
" [INFO] sync_soak_counters: Last 7 days: 0 managed-sync intervention(s), 0 content decision(s).",
" [OK] serve_build_drift: PGLite admits one process; no consumer heartbeat rows are kept to compare builds.",
diff --git a/test/fixtures/goldens/doctor/content-pglite-json.json b/test/fixtures/goldens/doctor/content-pglite-json.json
index 968d5d6d52..17b4906bad 100644
--- a/test/fixtures/goldens/doctor/content-pglite-json.json
+++ b/test/fixtures/goldens/doctor/content-pglite-json.json
@@ -649,6 +649,13 @@
"name": "managed_sync_not_moving",
"status": "ok"
},
+ {
+ "category": "ops",
+ "elapsed_ms": "<volatile>",
+ "message": "No managed sync run is blocked.",
+ "name": "managed_sync_blocked",
+ "status": "ok"
+ },
{
"category": "ops",
"details": {
diff --git a/test/fixtures/goldens/doctor/hot-checks-pglite-json.json b/test/fixtures/goldens/doctor/hot-checks-pglite-json.json
index 2ce1098498..1e7c1212bc 100644
--- a/test/fixtures/goldens/doctor/hot-checks-pglite-json.json
+++ b/test/fixtures/goldens/doctor/hot-checks-pglite-json.json
@@ -650,6 +650,13 @@
"name": "managed_sync_not_moving",
"status": "ok"
},
+ {
+ "category": "ops",
+ "elapsed_ms": "<volatile>",
+ "message": "No managed sync run is blocked.",
+ "name": "managed_sync_blocked",
+ "status": "ok"
+ },
{
"category": "ops",
"details": {
@@ -4567,6 +4574,13 @@
"name": "managed_sync_not_moving",
"status": "ok"
},
+ {
+ "category": "ops",
+ "elapsed_ms": "<volatile>",
+ "message": "No managed sync run is blocked.",
+ "name": "managed_sync_blocked",
+ "status": "ok"
+ },
{
"category": "ops",
"details": {
diff --git a/test/fixtures/goldens/doctor/hot-checks-postgres-json.json b/test/fixtures/goldens/doctor/hot-checks-postgres-json.json
index 882cacbef5..8565982aaf 100644
--- a/test/fixtures/goldens/doctor/hot-checks-postgres-json.json
+++ b/test/fixtures/goldens/doctor/hot-checks-postgres-json.json
@@ -644,6 +644,13 @@
"name": "managed_sync_not_moving",
"status": "ok"
},
+ {
+ "category": "ops",
+ "elapsed_ms": "<volatile>",
+ "message": "No managed sync run is blocked.",
+ "name": "managed_sync_blocked",
+ "status": "ok"
+ },
{
"category": "ops",
"details": {
@@ -4562,6 +4569,13 @@
"name": "managed_sync_not_moving",
"status": "ok"
},
+ {
+ "category": "ops",
+ "elapsed_ms": "<volatile>",
+ "message": "No managed sync run is blocked.",
+ "name": "managed_sync_blocked",
+ "status": "ok"
+ },
{
"category": "ops",
"details": {