Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
fix: make R1-B1 password admission proofs runnable in CI
Josué14cc77e1d59c
diff --git a/.github/workflows/ci-public.yml b/.github/workflows/ci-public.ymlindex 024d3db1a..ac176c855 100644--- a/.github/workflows/ci-public.yml+++ b/.github/workflows/ci-public.yml@@ -114,6 +114,11 @@ jobs:working-directory: ${{ matrix.service }}run: npm ci+ - name: Install External REST contract-test dependencies+ if: matrix.service == 'control-api'+ working-directory: external-rest-api+ run: npm ci+- name: Verify Electron runtimeif: matrix.service == 'desktop-app'working-directory: desktop-app@@ -279,6 +284,10 @@ jobs:working-directory: packages/workflow-runtime-corerun: npm run build+ - name: Install External REST contract-test dependencies+ working-directory: external-rest-api+ run: npm ci+- name: Run control-api real Postgres suites (migration + GFS)working-directory: control-apienv:diff --git a/control-api/package-lock.json b/control-api/package-lock.jsonindex ff69417b7..33f2df8e4 100644--- a/control-api/package-lock.json+++ b/control-api/package-lock.json@@ -1,12 +1,12 @@{"name": "clerum-control-api",- "version": "0.1.712",+ "version": "0.1.713","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "clerum-control-api",- "version": "0.1.712",+ "version": "0.1.713","dependencies": {"@clerum/display-field": "file:../packages/display-field","@clerum/grok-provider-attempt-contract": "file:../packages/grok-provider-attempt-contract",diff --git a/control-api/package.json b/control-api/package.jsonindex 7488e270c..0a60f5958 100644--- a/control-api/package.json+++ b/control-api/package.json@@ -1,6 +1,6 @@{"name": "clerum-control-api",- "version": "0.1.712",+ "version": "0.1.713","description": "Internal Clerum control plane REST API + UI for managing CRDs and secrets","main": "dist/main.js","engines": {diff --git a/control-api/test/bug192.passwordPersistence.realPostgres.integration.test.ts b/control-api/test/bug192.passwordPersistence.realPostgres.integration.test.tsindex d1705f8c8..d41b627a1 100644--- a/control-api/test/bug192.passwordPersistence.realPostgres.integration.test.ts+++ b/control-api/test/bug192.passwordPersistence.realPostgres.integration.test.ts@@ -281,7 +281,9 @@ realPg('Spec 043 persistence, migration, atomicity and fencing design acceptanceawait expect(reservePasswordPace()).rejects.toMatchObject({ status: 429 })})it('persisted aggregate pacing works across independent Node processes', async () => {- const script = `const {reservePasswordPace}=require('./dist/services/auth/passwordCredentialVerification.js');reservePasswordPace().then(()=>{console.log('ALLOWED');process.exit(0)},e=>{console.log('DENIED:'+e.status);process.exit(e.status===429?0:1)})`+ // The required hosted PostgreSQL lane runs source tests without building Control API.+ // Reuse its declared ts-node resolver so both processes execute the real producer.+ const script = `require('ts-node').register({project:'./tsconfig.json',experimentalResolver:true,transpileOnly:true});const {reservePasswordPace}=require('./src/services/auth/passwordCredentialVerification.ts');reservePasswordPace().then(()=>{console.log('ALLOWED');process.exit(0)},e=>{console.log('DENIED:'+e.status);process.exit(e.status===429?0:1)})`const run = () =>new Promise<string>((resolve, reject) => {const child = spawn(process.execPath, ['-e', script], {