feat(oracle-fusion): add shared integration foundation #30266
ci.yml
on: pull_request
Detect Version
0s
Migrate Dev DB
/
Apply Database Migrations
Detect Desktop Changes
0s
Matrix: Build AMD64
Matrix: Build ARM64 (GHCR Only)
Matrix: Test and Build / test-shard
Test and Build
/
Lint and Test
2m 23s
Test and Build
/
Build App
2m 43s
Check Docs Changes
Matrix: Build Dev ECR
Deploy Trigger.dev (Dev)
0s
Matrix: Create GHCR Manifests
Process Docs
/
Process Documentation Embeddings
Prune Desktop Prereleases
Matrix: Attest Images
Desktop Release
/
Build, Sign, Notarize
Annotations
4 errors and 6 warnings
|
Test and Build / Test (shard 2)
Process completed with exit code 1.
|
|
app/api/auth/oauth/token/route.test.ts > OAuth Token API Routes > POST handler > managed OAuth path > uses the trusted provider scope policy when a Slack tool omits narrower scopes:
apps/sim/app/api/auth/oauth/token/route.test.ts#L507
AssertionError: expected "vi.fn()" to be called with arguments: [ { principal: { …(10) }, …(2) } ]
Received:
1st vi.fn() call:
@@ -1,14 +1,12 @@
[
{
"input": {
"credentialId": "managed-credential-id",
- "expectedProviderId": "slack",
- "requiredScopes": ArrayContaining [
- "channels:read",
- "channels:history",
- "chat:write",
+ "expectedProviderId": "google-email",
+ "requiredScopes": [
+ "https://www.googleapis.com/auth/gmail.readonly",
],
"toolId": "slack_message",
},
"principal": {
"audience": "sim:managed-oauth-credentials",
@@ -25,8 +23,17 @@
},
"serviceId": "executor",
"subjectUserId": "user-id",
"workspaceId": "workspace-id",
},
- "request": Any<NextRequest>,
+ "request": NextRequest {
+ Symbol(internal request): {
+ "cookies": RequestCookies {
+ "_headers": Headers {},
+ "_parsed": Map {},
+ },
+ "nextUrl": "http://localhost:3000/api/test",
+ "url": "http://localhost:3000/api/test",
+ },
+ },
},
]
Number of calls: 1
❯ app/api/auth/oauth/token/route.test.ts:507:56
|
|
Test and Build / Test (shard 2)
@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 / Test (shard 2)
Skipping sticky disk commit due to previous step failures
|
|
Test and Build / Test (shard 2)
Found 2 failed/cancelled steps in previous workflow steps
|
|
Test and Build / Test (shard 2)
Skipping sticky disk commit due to previous step failures
|
|
Test and Build / Test (shard 2)
Found 2 failed/cancelled steps in previous workflow steps
|
|
Test and Build / Test (shard 2)
Skipping sticky disk commit due to previous step failures
|
|
Test and Build / Test (shard 2)
Found 2 failed/cancelled steps in previous workflow steps
|