Skip to content

fix(tools): normalize credential selectors before validation #34230

fix(tools): normalize credential selectors before validation

fix(tools): normalize credential selectors before validation #34230

Triggered via pull request October 3, 2026 03:22
Status Failure
Total duration 11m 13s
Artifacts 2

ci.yml

on: pull_request
Detect Version
Detect Version
Detect Desktop Changes
Detect Desktop Changes
Prepare Trigger.dev
Prepare Trigger.dev
Matrix: Build AMD64
Matrix: Build Dev ECR
Matrix: Build ARM64 (GHCR Only)
Matrix: Test and Build / postgres-integration
Test and Build  /  End-to-end over real HTTP
2m 35s
Test and Build / End-to-end over real HTTP
Test and Build  /  Lint and Test
5m 26s
Test and Build / Lint and Test
Test and Build  /  Build App
3m 48s
Test and Build / Build App
Check Docs Changes
Check Docs Changes
Migrate Dev DB  /  Apply Database Migrations
Migrate Dev DB / Apply Database Migrations
Check Desktop Signing Secrets
Check Desktop Signing Secrets
Migrate DB  /  Apply Database Migrations
Migrate DB / Apply Database Migrations
Create Desktop Prerelease
Create Desktop Prerelease
Promote Images
0s
Promote Images
Desktop Prerelease Build  /  Build, Sign, Notarize
Desktop Prerelease Build / Build, Sign, Notarize
Matrix: Create GHCR Manifests
Process Docs  /  Process Documentation Embeddings
Process Docs / Process Documentation Embeddings
Promote Trigger.dev
0s
Promote Trigger.dev
Publish Desktop Prerelease
0s
Publish Desktop Prerelease
Resolve Attestation Subjects
0s
Resolve Attestation Subjects
Prune Desktop Prereleases
0s
Prune Desktop Prereleases
Matrix: Attest Images
Create GitHub Release
Create GitHub Release
Desktop Release  /  Build, Sign, Notarize
Desktop Release / Build, Sign, Notarize
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 8 warnings
Test and Build / Lint and Test
Process completed with exit code 1.
lib/mothership/tool-executor/executor.test.ts > copilot tool executor fallback > preserves connected-service execution for workspace agent conversations: apps/sim/lib/mothership/tool-executor/executor.test.ts#L138
AssertionError: expected "vi.fn()" to be called with arguments: [ 'gmail_send', …(2) ] Received: 1st vi.fn() call: [ "gmail_send", - ObjectContaining { - "credential": "own", + { + "_context": { + "chatId": undefined, + "copilotToolExecution": undefined, + "currentAgentId": undefined, + "enforceCredentialAccess": true, + "executionId": undefined, + "organizationId": undefined, + "requestMode": "agent", + "runId": undefined, + "userId": "person", + "workflowId": undefined, + "workspaceId": "workspace", + }, + "credentialId": "own", + }, + { + "operationContext": { + "billingAttribution": undefined, + "chatId": undefined, + "copilotInteractionMode": undefined, + "copilotToolExecution": undefined, + "executionId": undefined, + "executorDelegationOrigin": { + "subjectUserId": "person", + "workflowId": undefined, + }, + "mcpBlockId": undefined, + "organizationId": undefined, + "requestMode": "agent", + "resolvedSecretTraceRegistry": undefined, + "toolCallId": undefined, + "userId": "person", + "workflowId": undefined, + "workspaceId": "workspace", + }, }, - Any<Object>, ] Number of calls: 1 ❯ lib/mothership/tool-executor/executor.test.ts:138:28
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
Test and Build / PostgreSQL integration (migrate)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test and Build / PostgreSQL integration (push)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

Artifacts

Produced during runtime
Name Size Digest
integration-reports-migrate
79.4 KB
sha256:714698fbb692b6dd7aee00189830656cedd14ef88b10534c3abf5fef027941d4
integration-reports-push
80.7 KB
sha256:cd4372e6803c996872971abbce19238ec0107970bfc9055ad4fa27f7ec03af25