Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
ci(gfs): run control-ui vitest in CI; document RC3 GKE overlay + profile-ui RC2
Alfredo Lopez5c3f67ac922c
diff --git a/.github/workflows/ci-public.yml b/.github/workflows/ci-public.ymlindex 0b5668de0..553fab500 100644--- a/.github/workflows/ci-public.yml+++ b/.github/workflows/ci-public.yml@@ -187,12 +187,13 @@ jobs:# gfs-controller matrix entry skips it.run: npm test -- --run realPostgres- # ─── control-ui build check ──────────────────────────────────────────────- # control-ui is intentionally NOT in the build/test matrix: its vitest suite- # has known pre-existing failures and its tsconfig spans test files, so the- # matrix's `npm test` + bare `tsc --noEmit` would be red. A clean install +- # production `next build` runs the TypeScript typecheck and ESLint over the- # app and fails on any compile error.+ # ─── control-ui build + test check ───────────────────────────────────────+ # control-ui stays out of the SHARED build/test matrix because its tsconfig+ # spans test files and a bare `tsc --noEmit` there hits a pre-existing error in+ # a *.test.tsx that `next build` does not typecheck. But its vitest suite IS+ # green, so it runs here as a dedicated step — otherwise the GFS proxy body-cap,+ # Expect-strip and timeout-knob tests this repo relies on would guard nothing in+ # CI. A production `next build` still runs the app TypeScript typecheck + ESLint.control-ui-build:name: Build (control-ui)runs-on: ubuntu-latest@@ -206,6 +207,9 @@ jobs:- name: Install dependenciesworking-directory: control-uirun: npm ci+ - name: Test (vitest)+ working-directory: control-ui+ run: npm test- name: Build (next build — typecheck + lint + compile)working-directory: control-uirun: npm run builddiff --git a/deploy/base/control-plane/control-api.yaml b/deploy/base/control-plane/control-api.yamlindex 8c5e32c20..3d178e768 100644--- a/deploy/base/control-plane/control-api.yaml+++ b/deploy/base/control-plane/control-api.yaml@@ -131,8 +131,13 @@ spec:# gfsc write cap is 24MiB (GFS_MAX_WRITE_BODY_BYTES), i.e. a 16MB raw file# → ~22.4MB body → ~125MiB transient over the ~86MiB idle baseline. At 256Mi# 2 concurrent uploads OOMKilled (exit 137) the pod; 768Mi holds ~5 concurrent- # worst-case uploads with margin. The minikube overlay must not reduce this- # (see deploy/overlays/minikube/patches/resource-limits.yaml).+ # worst-case uploads with margin. EVERY overlay must keep >=768Mi or the OOM+ # returns exactly where the 7.5MB PDF failure was reported:+ # - deploy/overlays/minikube/patches/resource-limits.yaml (in this repo)+ # - keyper-labs/evenfire-infra gcp-dev/gcp-prod patches/resource-limits.yaml+ # (private infra repo — both currently pin 512Mi; a companion PR must+ # raise them to 768Mi before/with the next GKE deploy, or RC3 is inert+ # in dev/prod exactly as it was in minikube before the audit caught it).memory: 768Mirequests:cpu: 50mdiff --git a/profile-ui/next.config.js b/profile-ui/next.config.jsindex 7ff07a6b0..d857fd0b3 100644--- a/profile-ui/next.config.js+++ b/profile-ui/next.config.js@@ -8,6 +8,13 @@ const nextConfig = {const destination =process.env.EXTERNAL_REST_API_INTERNAL_URL ||'http://external-rest-api.profiles.svc.cluster.local:8091'+ // WARNING (see evenfire #287, and RC2 in PR #280): this rewrite routes through+ // Next's internal proxy, which silently truncates request bodies at 10MiB and+ // hard-caps at a 30s proxyTimeout — the exact construct RC2 removed from+ // control-ui. It is latent here only because profile-ui has NO large-body /+ // base64 / file-upload route. Do NOT add a GFS-style upload route behind this+ // rewrite without first replacing it with an app-router handler (as control-ui+ // did), or uploads will truncate at 10MiB / time out at 30s.return [{source: '/external-rest-api/:path*',diff --git a/profile-ui/package-lock.json b/profile-ui/package-lock.jsonindex 02924a6c2..7a7e16e64 100644--- a/profile-ui/package-lock.json+++ b/profile-ui/package-lock.json@@ -1,12 +1,12 @@{"name": "clerum-profile-ui",- "version": "0.1.118",+ "version": "0.1.119","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "clerum-profile-ui",- "version": "0.1.118",+ "version": "0.1.119","dependencies": {"@clerum/desktop-app-links": "file:../packages/desktop-app-links","next": "16.2.11",diff --git a/profile-ui/package.json b/profile-ui/package.jsonindex 5bbc3dd18..39b6bbb23 100644--- a/profile-ui/package.json+++ b/profile-ui/package.json@@ -1,6 +1,6 @@{"name": "clerum-profile-ui",- "version": "0.1.118",+ "version": "0.1.119","private": true,"scripts": {"dev": "next dev",