Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
test(gfs): fix finalizer integration and CodeQL fixture
Alfredo Lopez0da309894df3
diff --git a/control-api/test/gfsUploadFinalizer.realPostgres.integration.test.ts b/control-api/test/gfsUploadFinalizer.realPostgres.integration.test.tsindex 5e793c6b1..9b87f3a8f 100644--- a/control-api/test/gfsUploadFinalizer.realPostgres.integration.test.ts+++ b/control-api/test/gfsUploadFinalizer.realPostgres.integration.test.ts@@ -142,7 +142,7 @@ describeRealPostgres('GFS upload finalizer on real PostgreSQL + BlobStore', () =request_fingerprint, parent_rid, resource_name, expected_bytes, part_bytes,part_count, whole_sha256, committed_bytes, contiguous_bytes,committed_part_count, active_part_count, session_epoch, state, expires_at)- VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18,$19)`,+ VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18,$19,$20)`,[upload.uploadId,upload.idempotencyKey,diff --git a/desktop-app/src/__tests__/appService.rpc.test.ts b/desktop-app/src/__tests__/appService.rpc.test.tsindex 3242edb1f..56d4fed1c 100644--- a/desktop-app/src/__tests__/appService.rpc.test.ts+++ b/desktop-app/src/__tests__/appService.rpc.test.ts@@ -239,7 +239,7 @@ describe('AppService.invokeHostMessage', () => {await expect(service.runWithTeamContext('team-b', async () => {await expect(- service.startGfsFileUpload('parent-a', 'upload.bin', '/tmp/upload.bin')+ service.startGfsFileUpload('parent-a', 'upload.bin', 'upload.bin')).rejects.toThrow('GFS upload dispatch is unavailable during a transient team hop')return 'team-b-operation'})@@ -472,7 +472,7 @@ describe('AppService.invokeHostMessage', () => {service.rpcTokenManager = { clear: vi.fn() }service.suspendDesktopGfsUploadsForAuthBoundary = vi.fn(async () => {await expect(- service.startGfsFileUpload('parent-a', 'upload.bin', '/tmp/upload.bin')+ service.startGfsFileUpload('parent-a', 'upload.bin', 'upload.bin')).rejects.toThrow('GFS upload dispatch is unavailable during a transient team hop')})service.activateGfsAuthScope = vi.fn()