From 363b7706f2b266708709a41b4a62edeb591b0191 Mon Sep 17 00:00:00 2001 From: Gabor Gevay Date: Tue, 1 Sep 2026 16:09:31 +0200 Subject: [PATCH] console: correct the source status values in MaintainedObjectSourceStatus `MaintainedObjectSourceStatus` documents the `status` and `error` fields of the hydration-aggregate feed, which reads `mz_source_statuses`. That relation never reports `failed`: the storage status enum has no such variant, its parser rejects the string, and no writer produces it. It can report `dropped`, which the comment omitted. Only `stalled` carries an error. Comment-only; see #38585 for the catalog-side correction. Co-Authored-By: Claude Fable 5 --- console/src/platform/maintained-objects/queries.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/console/src/platform/maintained-objects/queries.ts b/console/src/platform/maintained-objects/queries.ts index ca50e4f3d0068..db74576ef9400 100644 --- a/console/src/platform/maintained-objects/queries.ts +++ b/console/src/platform/maintained-objects/queries.ts @@ -71,9 +71,9 @@ export interface MaintainedObjectLag { * initial snapshot. */ export interface MaintainedObjectSourceStatus { - /** One of `created`, `starting`, `running`, `paused`, `stalled`, `failed`. */ + /** One of `created`, `starting`, `running`, `paused`, `stalled`, or `dropped`. */ status: string; - /** Populated when the source is `stalled` or `failed`. */ + /** Populated when the source is `stalled`. */ error: string | null; /** Null while no replica has reported statistics yet. */ snapshotCommitted: boolean | null;