Skip to content

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

TypeScript

fix(ci): typecheck HCC snapshot tests without Set.has

Alfredo Lopezf44e8fc80b84
diff --git a/host-context-controller/package-lock.json b/host-context-controller/package-lock.json
index b75c7ef2b..9783bd956 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.236",
+ "version": "0.1.237",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "clerum-host-context-controller",
- "version": "0.1.236",
+ "version": "0.1.237",
"license": "SEE LICENSE IN LICENSE",
"dependencies": {
"@clerum/image-policy": "file:../packages/image-policy",
diff --git a/host-context-controller/package.json b/host-context-controller/package.json
index b02f8befc..63f7ecdd8 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.236",
+ "version": "0.1.237",
"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/llmAllowedModelsSnapshot.test.ts b/host-context-controller/src/llmAllowedModelsSnapshot.test.ts
index dcf4716a2..9410730fa 100644
--- a/host-context-controller/src/llmAllowedModelsSnapshot.test.ts
+++ b/host-context-controller/src/llmAllowedModelsSnapshot.test.ts
@@ -70,7 +70,9 @@ describe('parseAllowedModelsSnapshot per assigned connection', () => {
cm.metadata.annotations['clerum.io/codex-connections'] = JSON.stringify(parsed)
const snapshot = parseAllowedModelsSnapshot(cm, 'deployment-default')
expect(snapshot.connectionStatus).toBe('disconnected')
- expect(snapshot.enabledModels?.has('codex-subscription:gpt-5.3-codex')).toBe(false)
+ expect(Array.from(snapshot.enabledModels ?? [])).not.toContain(
+ 'codex-subscription:gpt-5.3-codex'
+ )
})
it('does not mark a Host eligible for a model that only another grant serves', () => {
diff --git a/workflow-recipes/package-lock.json b/workflow-recipes/package-lock.json
index 2d128d296..cabd1ecf7 100644
--- a/workflow-recipes/package-lock.json
+++ b/workflow-recipes/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "workload-recipes-controller",
- "version": "0.1.306",
+ "version": "0.1.307",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "workload-recipes-controller",
- "version": "0.1.306",
+ "version": "0.1.307",
"license": "SEE LICENSE IN LICENSE",
"dependencies": {
"@aws-sdk/client-s3": "^3.1009.0",
diff --git a/workflow-recipes/package.json b/workflow-recipes/package.json
index 4a6681ac1..9e808e715 100644
--- a/workflow-recipes/package.json
+++ b/workflow-recipes/package.json
@@ -1,6 +1,6 @@
{
"name": "workload-recipes-controller",
- "version": "0.1.306",
+ "version": "0.1.307",
"description": "Workload Recipes Controller (WRC) - WorkloadRecipe lifecycle management and MCP server interface",
"main": "dist/main.js",
"engines": {
diff --git a/workflow-recipes/src/workflow/llmAllowedModelsSnapshot.test.ts b/workflow-recipes/src/workflow/llmAllowedModelsSnapshot.test.ts
index 06004ba76..3043571e0 100644
--- a/workflow-recipes/src/workflow/llmAllowedModelsSnapshot.test.ts
+++ b/workflow-recipes/src/workflow/llmAllowedModelsSnapshot.test.ts
@@ -54,6 +54,8 @@ describe('WRC parseAllowedModelsSnapshot per assigned connection', () => {
cm.metadata.annotations['clerum.io/codex-connections'] = JSON.stringify(parsed)
const snapshot = parseAllowedModelsSnapshot(cm, 'deployment-default')
expect(snapshot.connectionStatus).toBe('disconnected')
- expect(snapshot.enabledModels?.has('codex-subscription:gpt-5.3-codex')).toBe(false)
+ expect(Array.from(snapshot.enabledModels ?? [])).not.toContain(
+ 'codex-subscription:gpt-5.3-codex'
+ )
})
})