Skip to content

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

TypeScript

test(hcc): satisfy full typescript check

Alfredo Lopez185c16ccc8ef
diff --git a/host-context-controller/package-lock.json b/host-context-controller/package-lock.json
index ca132875a..2d4c773c8 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.361",
+ "version": "0.1.362",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "clerum-host-context-controller",
- "version": "0.1.361",
+ "version": "0.1.362",
"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 f772b7b60..75a8356e2 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.361",
+ "version": "0.1.362",
"description": "Host Context Controller - provides McpServer CRDs to mcp-host via REST API",
"main": "dist/main.js",
"engines": {
diff --git a/host-context-controller/test/hostReconciler.lifecycle.test.ts b/host-context-controller/test/hostReconciler.lifecycle.test.ts
index 76e5a8980..ce5cc1bcf 100644
--- a/host-context-controller/test/hostReconciler.lifecycle.test.ts
+++ b/host-context-controller/test/hostReconciler.lifecycle.test.ts
@@ -268,7 +268,9 @@ function trustedRuntimeDeployment(
'clerum.io/host-uid': host.uid ?? '',
},
}
- deployment.spec = { ...deployment.spec, replicas: options.replicas ?? 1 }
+ if (deployment.spec) {
+ deployment.spec.replicas = options.replicas ?? 1
+ }
deployment.status = { readyReplicas: options.readyReplicas ?? 1 }
return deployment
}