feat(api): make the platform operable headless over v2 #28293
ci.yml
on: pull_request
Detect Version
Migrate Dev DB
/
Apply Database Migrations
Detect Desktop Changes
Matrix: Build AMD64
Matrix: Build ARM64 (GHCR Only)
Test and Build
/
Lint and Test
5m 29s
Test and Build
/
Build App
4m 12s
Check Docs Changes
Matrix: Build Dev ECR
Deploy Trigger.dev (Dev)
Matrix: Create GHCR Manifests
Process Docs
/
Process Documentation Embeddings
Prune Desktop Prereleases
0s
Desktop Release
/
Build, Sign, Notarize
Annotations
7 errors and 9 warnings
|
Test and Build / Lint and Test
Process completed with exit code 1.
|
|
lib/api/contracts/v2/__tests__/knowledge.test.ts > v2 knowledge chunking configuration > keeps the response tolerant of a stored key the input rejects:
apps/sim/lib/api/contracts/v2/__tests__/knowledge.test.ts#L280
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ lib/api/contracts/v2/__tests__/knowledge.test.ts:280:30
|
|
app/api/chat/manage/[id]/route.test.ts > internal chat deployment routes > PATCH > auth-type field-clearing matrix > re-encrypts a replacement password for a password-gated chat:
apps/sim/app/api/chat/manage/[id]/route.test.ts#L422
AssertionError: expected "vi.fn()" to be called with arguments: [ 'new-secret' ]
Number of calls: 0
❯ app/api/chat/manage/[id]/route.test.ts:422:53
|
|
app/api/chat/manage/[id]/route.test.ts > internal chat deployment routes > PATCH > auth-type field-clearing matrix > never stores a supplied password on a chat that is not password-gated:
apps/sim/app/api/chat/manage/[id]/route.test.ts#L124
TypeError: Cannot read properties of undefined (reading '1')
❯ writtenValues app/api/chat/manage/[id]/route.test.ts:124:51
❯ app/api/chat/manage/[id]/route.test.ts:398:16
|
|
app/api/chat/manage/[id]/route.test.ts > internal chat deployment routes > PATCH > auth-type field-clearing matrix > clears the allow-list when switching to password:
apps/sim/app/api/chat/manage/[id]/route.test.ts#L124
TypeError: Cannot read properties of undefined (reading '1')
❯ writtenValues app/api/chat/manage/[id]/route.test.ts:124:51
❯ app/api/chat/manage/[id]/route.test.ts:361:24
|
|
Test and Build / Lint and Test
@sim/app#test: command (/home/runner/_work/sim/sim/apps/sim) /home/runner/.bun/bin/bun run test exited (1)
|
|
Test and Build / Lint and Test
Process completed with exit code 1.
|
|
Test and Build / Lint and Test
Skipping sticky disk commit due to previous step failures
|
|
Test and Build / Lint and Test
- Step: unknown (failed)
|
|
Test and Build / Lint and Test
Found 2 failed/cancelled steps in previous workflow steps
|
|
Test and Build / Lint and Test
Skipping sticky disk commit due to previous step failures
|
|
Test and Build / Lint and Test
- Step: unknown (failed)
|
|
Test and Build / Lint and Test
Found 2 failed/cancelled steps in previous workflow steps
|
|
Test and Build / Lint and Test
Skipping sticky disk commit due to previous step failures
|
|
Test and Build / Lint and Test
- Step: unknown (failed)
|
|
Test and Build / Lint and Test
Found 2 failed/cancelled steps in previous workflow steps
|