improvement(selectors): unify server-side selector execution #28838
ci.yml
on: pull_request
Detect Version
Migrate Dev DB
/
Apply Database Migrations
Detect Desktop Changes
0s
Matrix: Build AMD64
Matrix: Build ARM64 (GHCR Only)
Test and Build
/
Lint and Test
4m 12s
Test and Build
/
Build App
2m 39s
Check Docs Changes
0s
Matrix: Build Dev ECR
Deploy Trigger.dev (Dev)
0s
Matrix: Create GHCR Manifests
Process Docs
/
Process Documentation Embeddings
Prune Desktop Prereleases
Desktop Release
/
Build, Sign, Notarize
Annotations
5 errors and 6 warnings
|
Test and Build / Lint and Test
Process completed with exit code 1.
|
|
lib/credentials/client-credential-accounts/minters/zoho-desk.test.ts > mintZohoDeskServiceAccountToken > prefers api_domain over the selected region and warns when the two disagree:
apps/sim/lib/credentials/client-credential-accounts/minters/zoho-desk.test.ts#L275
AssertionError: expected "vi.fn()" to be called with arguments: [ …(2) ]
Received:
1st vi.fn() call:
[
"Zoho api_domain disagrees with the selected data center",
- ObjectContaining {
- "reportedDeskBase": "https://desk.zoho.in",
+ {
"selectedDataCenter": "eu",
- "selectedDeskBase": "https://desk.zoho.eu",
+ "usedProviderReportedDomain": true,
},
]
Number of calls: 1
❯ lib/credentials/client-credential-accounts/minters/zoho-desk.test.ts:275:28
|
|
hooks/queries/utils/invalidate-workflow-lists.test.ts > invalidateWorkflowLists > invalidates scoped workflow lists and workflow selector caches:
apps/sim/hooks/queries/utils/invalidate-workflow-lists.test.ts#L21
AssertionError: expected 3rd "vi.fn()" call to have been called with [ { queryKey: [ 'selectors', …(2) ] } ]
- Expected
+ Received
[
{
"queryKey": [
"selectors",
- "sim.workflows",
- "ws-1",
],
},
]
❯ hooks/queries/utils/invalidate-workflow-lists.test.ts:21:43
|
|
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
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
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
Found 2 failed/cancelled steps in previous workflow steps
|