Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
fix(gfs): raise profile-control-funnel body cap to 24MiB (desktop me-path)
Alfredo Lopez2f909cfef6e7
diff --git a/control-api/package-lock.json b/control-api/package-lock.jsonindex 8a0a20350..728b82da3 100644--- a/control-api/package-lock.json+++ b/control-api/package-lock.json@@ -1,12 +1,12 @@{"name": "clerum-control-api",- "version": "0.1.425",+ "version": "0.1.426","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "clerum-control-api",- "version": "0.1.425",+ "version": "0.1.426","dependencies": {"@clerum/image-policy": "file:../packages/image-policy","@clerum/llm-providers": "file:../packages/llm-providers",diff --git a/control-api/package.json b/control-api/package.jsonindex d8cbb7670..0a02298e8 100644--- a/control-api/package.json+++ b/control-api/package.json@@ -1,6 +1,6 @@{"name": "clerum-control-api",- "version": "0.1.425",+ "version": "0.1.426","description": "Internal Clerum control plane REST API + UI for managing CRDs and secrets","main": "dist/main.js","engines": {diff --git a/control-api/test/network.gateway.intent.test.ts b/control-api/test/network.gateway.intent.test.tsindex 2b3aeb698..3368cb1cd 100644--- a/control-api/test/network.gateway.intent.test.ts+++ b/control-api/test/network.gateway.intent.test.ts@@ -333,6 +333,16 @@ describe('network/gateway intent (manifest-level)', () => {expect(gatewayConf).not.toContain('/api/v1/external/')})+ it('keeps the profile-control-funnel body cap at gfsc write-cap parity (24MiB)', () => {+ const configmaps = read(`${BASE}/profiles/configmaps.yaml`)+ const funnelConf = docContaining(yamlDocs(configmaps), 'name: profile-control-funnel-nginx')+ // nginx defaults client_max_body_size to 1m. Without an explicit cap the+ // me-path (external-rest-api → funnel → control-api) 413s GFS uploads at+ // ~1MB, far below the gfsc write cap (GFS_MAX_WRITE_BODY_BYTES = 25165824,+ // 24MiB) that the operator path already honors end to end.+ expect(funnelConf).toContain('client_max_body_size 25165824;')+ })+it('keeps the Minikube control-api Marketplace on the shared registry', () => {const controlApiConfig = read(`${OVERLAYS}/minikube/configmaps/control-api-config.yaml`)diff --git a/deploy/base/profiles/configmaps.yaml b/deploy/base/profiles/configmaps.yamlindex d8f3746ae..b604bd289 100644--- a/deploy/base/profiles/configmaps.yaml+++ b/deploy/base/profiles/configmaps.yaml@@ -24,6 +24,13 @@ data:resolver kube-dns.kube-system.svc.cluster.local valid=10s ipv6=off;+ # nginx defaults client_max_body_size to 1m, which 413s me-path GFS+ # uploads (base64-in-JSON) at ~1MB. Homologate with the gfsc write cap+ # (GFS_MAX_WRITE_BODY_BYTES = 25165824 bytes, 24MiB) so the me-path+ # accepts the same payloads the operator path already does; gfsc remains+ # the authoritative size gate downstream.+ client_max_body_size 25165824;+server {listen 8080;