Commit 831aefa
createLiveDimensionConsistencyGatherer awaited storageRouter.ready() +
getMemoryCollection()/getSummaryCollection() with no guard, so a Chroma
connection failure threw. In Orchestrator.dataIntegrityEvidenceGatherer
(coverage gathered first, then await dimensionGatherer()), that throw discarded
the already-gathered coverage diagnosis and blanked the entire hourly
data-integrity sweep — violating #14130 AC3 (connection failure -> empty
samples, never a thrown gather or a suppressed coverage signal).
Wrap the live-binding resolution in try-catch -> return null on failure
(degrade-not-throw; null is filtered by the evidence-gather's .filter(Boolean),
so coverage survives). The audit primitive already degraded on a probe failure;
this extends the same contract to the connection boundary.
7 specs pass (+ a new AC3 test: ready()-throws and mid-resolution
getCollection()-throws both resolve to null). node --check clean.
Co-authored-by: tobiu <tobiasuhlig78@gmail.com>
1 parent 42e925d commit 831aefa
2 files changed
Lines changed: 35 additions & 6 deletions
File tree
- ai/daemons/orchestrator/services
- test/playwright/unit/ai/daemons/orchestrator/services
Lines changed: 16 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
77 | 87 | | |
78 | 88 | | |
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
77 | 96 | | |
78 | 97 | | |
0 commit comments