Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

test(hcc): make the uncertified-pass negative assertions observable

Jose Gabriel Ramirez Encinascfddc53c1a01
diff --git a/host-context-controller/package-lock.json b/host-context-controller/package-lock.json
index d2fc03c6f..29adc5140 100644
--- a/host-context-controller/package-lock.json
+++ b/host-context-controller/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "clerum-host-context-controller",
- "version": "0.1.320",
+ "version": "0.1.321",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "clerum-host-context-controller",
- "version": "0.1.320",
+ "version": "0.1.321",
"license": "SEE LICENSE IN LICENSE",
"dependencies": {
"@clerum/codex-catalog-projection": "file:../packages/codex-catalog-projection",
diff --git a/host-context-controller/package.json b/host-context-controller/package.json
index 2fdd53541..c88b6747c 100644
--- a/host-context-controller/package.json
+++ b/host-context-controller/package.json
@@ -1,6 +1,6 @@
{
"name": "clerum-host-context-controller",
- "version": "0.1.320",
+ "version": "0.1.321",
"description": "Host Context Controller - provides McpServer CRDs to mcp-host via REST API",
"main": "dist/main.js",
"engines": {
diff --git a/host-context-controller/src/k8sClient.test.ts b/host-context-controller/src/k8sClient.test.ts
index 5d4e3fc7a..0419fbb3e 100644
--- a/host-context-controller/src/k8sClient.test.ts
+++ b/host-context-controller/src/k8sClient.test.ts
@@ -4637,8 +4637,8 @@ describe('McpServerWatcher startup', () => {
expect(appliedContexts).toEqual(['stale-context'])
expect(appliedServers).toEqual(['stale-server'])
expect(
- warnSpy.mock.calls.some(
- call => String(call[0]) === '[K8s] pass ended without certifying: inventory authority lost'
+ warnSpy.mock.calls.some(call =>
+ String(call[0]).includes('pass ended without certifying: inventory authority lost')
)
).toBe(false)
expect((watcher as any).initialConvergenceRetryAttempts.has('NetworkPolicy')).toBe(false)
diff --git a/host-context-controller/src/readinessSafetyFence.integration.test.ts b/host-context-controller/src/readinessSafetyFence.integration.test.ts
index ff3d86767..95e5ba15b 100644
--- a/host-context-controller/src/readinessSafetyFence.integration.test.ts
+++ b/host-context-controller/src/readinessSafetyFence.integration.test.ts
@@ -623,8 +623,8 @@ describe('lost delete fence: per-request 503 while /ready stays 200', () => {
expect(w.contextDesiredRevision).toBe(revisionBefore.context)
expect(w.mcpServerDesiredRevision).toBe(revisionBefore.server)
expect(
- warnSpy.mock.calls.some(
- call => String(call[0]) === '[K8s] pass ended without certifying: inventory authority lost'
+ warnSpy.mock.calls.some(call =>
+ String(call[0]).includes('pass ended without certifying: inventory authority lost')
)
).toBe(false)
expect(