Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

test: expect failureCount in reviewer health outcome evidence

Adam Eivyf2d938167dab
diff --git a/server/routes/codeReview.outcome.test.js b/server/routes/codeReview.outcome.test.js
index db62ade227..824d3e8dea 100644
--- a/server/routes/codeReview.outcome.test.js
+++ b/server/routes/codeReview.outcome.test.js
@@ -42,7 +42,7 @@ describe('CLI reviewer outcome reporting', () => {
expect(settings.current.codeReview).toEqual({
...configured,
reviewerHealth: {
- opencode: { code: 'REVIEWER_ACCESS_DENIED', reason: 'configuration', lastFailureAt: expect.any(Number) },
+ opencode: { code: 'REVIEWER_ACCESS_DENIED', reason: 'configuration', failureCount: 1, lastFailureAt: expect.any(Number) },
},
})
expect(pickCodeReviewDefaults(settings.current).reviewerConfigFaults).toEqual({