fix: read active workspace state beneath the operator registry root

This commit is contained in:
2026-08-11 19:18:02 +02:00
parent 436d8d2720
commit fe49f5b6d8
2 changed files with 15 additions and 5 deletions
@@ -129,7 +129,8 @@ export class WorkspacePreprocessingService {
{ kind: "runtime_config", digest: runtime.configLease.configDigest },
],
});
} catch {
} catch (error) {
const detail = error instanceof Error ? error.message : String(error);
return {
schemaVersion: 1,
status: "failed",
@@ -139,6 +140,7 @@ export class WorkspacePreprocessingService {
descriptorBlob: "",
operation: "inspect",
completedStages: [],
warnings: detail.length > 0 ? [detail.slice(0, 512)] : undefined,
};
}
}