Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
test(hcc): type the legacy deployment fence fixture
Alfredo Lopezd69d212ed14c
diff --git a/host-context-controller/package-lock.json b/host-context-controller/package-lock.jsonindex f0b4aa14b..ab259ecf7 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.354",+ "version": "0.1.355","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "clerum-host-context-controller",- "version": "0.1.354",+ "version": "0.1.355","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.jsonindex 6b87da092..3ecf6f0af 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.354",+ "version": "0.1.355","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.tsindex 062806fa9..5e226115f 100644--- a/host-context-controller/test/hostReconciler.lifecycle.test.ts+++ b/host-context-controller/test/hostReconciler.lifecycle.test.ts@@ -910,12 +910,8 @@ describe('HostReconciler stateless lifecycle — rejection matrix', () => {expect(appsApi.patchNamespacedDeployment).not.toHaveBeenCalled()})- it('never scales an unannotated legacy Deployment, even when created after the current Host', async () => {+ it('never scales an unannotated legacy Deployment with an existing UID and resourceVersion', async () => {const host = makeStatelessHost({ status: suspendedStatus() })- host.metadata = {- ...host.metadata,- creationTimestamp: new Date('2026-09-20T10:00:00Z'),- }const { reconciler, appsApi } = createReconciler()const legacy = reconciler.buildDeployment(host)delete legacy.metadata?.annotations?.['clerum.io/host-uid']@@ -923,7 +919,6 @@ describe('HostReconciler stateless lifecycle — rejection matrix', () => {...legacy.metadata,uid: 'deployment-uid',resourceVersion: '73',- creationTimestamp: new Date('2026-09-20T10:01:00Z'),}appsApi.readNamespacedDeployment.mockResolvedValue(legacy)