AI-powered virtual executive team — a single coherent executive persona backed by 8 specialist agents (FastAPI + Next.js).
Run the UI unit tests in CI; restore the backend-sync comment
Rufus900230998ea2
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex b2fa75ef..075a5609 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -78,6 +78,11 @@ jobs:- name: Type checkrun: cd packages/ui && npx tsc --noEmit+ # node:test suites added in #100. Runs on the same Node 22 the job+ # already uses (--experimental-strip-types needs 22.6+).+ - name: Run UI unit tests+ run: cd packages/ui && npm test+- name: Buildrun: cd packages/ui && npm run buildenv:diff --git a/packages/ui/src/lib/file-attachments.ts b/packages/ui/src/lib/file-attachments.tsindex c183a3c5..b0e523b5 100644--- a/packages/ui/src/lib/file-attachments.ts+++ b/packages/ui/src/lib/file-attachments.ts@@ -1,3 +1,6 @@+// Mirror the backend's `_MAX_FILES_PER_TURN` / `_MAX_BYTES_PER_FILE`. Kept+// in sync manually; a mismatch only costs an extra round-trip + the user+// sees the server's 413 message, so no correctness risk.export const MAX_FILES_PER_TURN = 5;export const MAX_BYTES_PER_FILE = 20 * 1024 * 1024;