Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

test: doctor JSON goldens carry terminal-failure ranking and managed-guard columns (#7145, #7146)

garrytan2655d26ef9c9
diff --git a/test/fixtures/goldens/doctor/json-pglite-degraded.json b/test/fixtures/goldens/doctor/json-pglite-degraded.json
index 9d81061774..f85441c086 100644
--- a/test/fixtures/goldens/doctor/json-pglite-degraded.json
+++ b/test/fixtures/goldens/doctor/json-pglite-degraded.json
@@ -590,6 +590,18 @@
"docs": "docs/guides/troubleshooting.md#terminal-write-failures",
"historical_rows": 0,
"new_last_24h": 0,
+ "ranked": {
+ "blocking": [],
+ "historical": {
+ "rows": 0
+ },
+ "unresolved": {
+ "group_by": [],
+ "groups": [],
+ "pages": 0,
+ "rows": 0
+ }
+ },
"sources": [],
"spike": {
"daily_7d": [
@@ -859,6 +871,7 @@
{
"category": "ops",
"details": {
+ "columns": [],
"extra_columns": [],
"page_child_source_columns": [],
"runbook": "docs/guides/write-refusals.md#managed-guard-page-children"
diff --git a/test/fixtures/goldens/doctor/json-pglite-fresh.json b/test/fixtures/goldens/doctor/json-pglite-fresh.json
index bae03e6967..c50317b426 100644
--- a/test/fixtures/goldens/doctor/json-pglite-fresh.json
+++ b/test/fixtures/goldens/doctor/json-pglite-fresh.json
@@ -593,6 +593,18 @@
"docs": "docs/guides/troubleshooting.md#terminal-write-failures",
"historical_rows": 0,
"new_last_24h": 0,
+ "ranked": {
+ "blocking": [],
+ "historical": {
+ "rows": 0
+ },
+ "unresolved": {
+ "group_by": [],
+ "groups": [],
+ "pages": 0,
+ "rows": 0
+ }
+ },
"sources": [],
"spike": {
"daily_7d": [
@@ -906,6 +918,7 @@
{
"category": "ops",
"details": {
+ "columns": [],
"extra_columns": [],
"page_child_source_columns": [],
"runbook": "docs/guides/write-refusals.md#managed-guard-page-children"