Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
fix(codex): drop unused best-effort allowlist publisher
Alfredo Lopezfc7e8fd2785b
diff --git a/control-api/package-lock.json b/control-api/package-lock.jsonindex 0bb454f7e..6f783af21 100644--- a/control-api/package-lock.json+++ b/control-api/package-lock.json@@ -1,12 +1,12 @@{"name": "clerum-control-api",- "version": "0.1.506",+ "version": "0.1.507","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "clerum-control-api",- "version": "0.1.506",+ "version": "0.1.507","dependencies": {"@clerum/display-field": "file:../packages/display-field","@clerum/image-policy": "file:../packages/image-policy",diff --git a/control-api/package.json b/control-api/package.jsonindex 321d734f9..2f4609c3a 100644--- a/control-api/package.json+++ b/control-api/package.json@@ -1,6 +1,6 @@{"name": "clerum-control-api",- "version": "0.1.506",+ "version": "0.1.507","description": "Internal Clerum control plane REST API + UI for managing CRDs and secrets","main": "dist/main.js","engines": {diff --git a/control-api/src/routes/admin/codexSubscription.ts b/control-api/src/routes/admin/codexSubscription.tsindex 390831889..af5f962b9 100644--- a/control-api/src/routes/admin/codexSubscription.ts+++ b/control-api/src/routes/admin/codexSubscription.ts@@ -327,18 +327,6 @@ export function createAdminCodexSubscriptionRouter(await publishAllowedModelsConfigMapAfterGrantChange(gateway?.llmAllowedModelsConfigMap())}- async function publishRuntimeAllowlistBestEffort(): Promise<void> {- try {- await publishRuntimeAllowlist()- } catch (err) {- llmAllowlistConfigMapWriteFailuresTotal.inc({ phase: 'mutation' })- log.error(- { err, event: 'codex_allowed_models_cm_write_failed' },- 'Codex grant change saved but the runtime ConfigMap was not updated'- )- }- }-async function publishRuntimeAllowlistOrFail(res: {status: (n: number) => { json: (body: unknown) => void }}): Promise<boolean> {