Skip to content

fix(credentials): credential dependent endpoints #10430

fix(credentials): credential dependent endpoints

fix(credentials): credential dependent endpoints #10430

Triggered via pull request February 23, 2026 11:17
Status Failure
Total duration 1m 16s
Artifacts

ci.yml

on: pull_request
Detect Version
Detect Version
Test and Build  /  Test and Build
1m 5s
Test and Build / Test and Build
Check Docs Changes
Check Docs Changes
Matrix: Build AMD64
Matrix: Build ARM64 (GHCR Only)
Process Docs  /  Process Documentation Embeddings
Process Docs / Process Documentation Embeddings
Matrix: Create GHCR Manifests
Create GitHub Release
0s
Create GitHub Release
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 3 warnings
Test and Build / Test and Build
Process completed with exit code 1.
executor/handlers/router/router-handler.test.ts > RouterBlockHandler > should handle Vertex AI models with OAuth credential: apps/sim/app/api/auth/oauth/utils.ts#L36
Error: Failed query: select "type", "account_id" from "credential" where $1 limit $2 params: [object Object],1 ❯ PostgresJsPreparedQuery.queryWithCache ../../node_modules/src/pg-core/session.ts:73:11 ❯ ../../node_modules/src/postgres-js/session.ts:58:17 ❯ resolveOAuthAccountId app/api/auth/oauth/utils.ts:36:27 ❯ RouterBlockHandler.resolveVertexCredential executor/handlers/router/router-handler.ts:428:22 ❯ RouterBlockHandler.executeLegacy executor/handlers/router/router-handler.ts:90:23 ❯ executor/handlers/router/router-handler.test.ts:282:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { query: 'select "type", "account_id" from "credential" where $1 limit $2', params: [ { type: 'eq', left: { name: 'id', keyAsName: false, primary: true, notNull: true, default: undefined, defaultFn: undefined, onUpdateFn: undefined, hasDefault: false, isUnique: false, uniqueName: 'credential_id_unique', uniqueType: undefined, dataType: 'string', columnType: 'PgText', enumValues: undefined, generated: undefined, generatedIdentity: undefined, config: { name: 'id', keyAsName: false, notNull: true, default: undefined, hasDefault: false, primaryKey: true, isUnique: false, uniqueName: 'credential_id_unique', uniqueType: undefined, dataType: 'string', columnType: 'PgText', generated: undefined, enumValues: undefined }, table: { id: [Circular], workspaceId: { name: 'workspace_id', keyAsName: false, primary: false, notNull: true, default: undefined, defaultFn: undefined, onUpdateFn: undefined, hasDefault: false, isUnique: false, uniqueName: 'credential_workspace_id_unique', uniqueType: undefined, dataType: 'string', columnType: 'PgText', enumValues: undefined, generated: undefined, generatedIdentity: undefined, config: { name: 'workspace_id', keyAsName: false, notNull: true, default: undefined, hasDefault: false, primaryKey: false, isUnique: false, uniqueName: 'credential_workspace_id_unique', uniqueType: undefined, dataType: 'string', columnType: 'PgText', generated: undefined, enumValues: undefined }, table: [Circular], constructor: 'Function<PgText>', getSQLType: 'Function<getSQLType>', mapFromDriverValue: 'Function<mapFromDriverValue>', mapToDriverValue: 'Function<mapToDriverValue>', shouldDisableInsert: 'Function<shouldDisableInsert>', getSQL: 'Function<anonymous>' }, type: { name: 'type', keyAsName: false, primary: false, notNull: true, default: undefined, defaultFn: undefined, onUpdateFn: undefined, hasDefault: false, isUnique: false, uniqueName: 'credential_type_unique', uniqueType: undefined, dataType: 'string', columnType: 'PgEnumColumn', enumValues: [ 'oauth', 'env_workspace', 'env_personal' ], generated: undefined, generatedIdentity: undefined, config: { name: 'type', keyAsName: false, notNull: true, default: undefined, hasDefault: false, primaryKey: false, isUnique: false, uniqueName: 'credential_type_unique', uniqueType: undefined, dataType: 'string', columnType: 'PgEnumColumn', generated: undefined, enum: 'Function<anonymous>' }, table: [Circular], enum: 'Function<anonymous>', constructor: 'Function<PgEnumColumn>', getSQLType: 'Function<getSQLType>', mapFromDriverValue: 'Function<mapFromDriverValue>', mapToDriverValue: 'Function<mapToDriverValue>', shouldDisableInsert: 'Function<shouldDisableInsert>', getSQL: 'Function<anonymous>' }, displayName: { name: 'display_name', keyAsName: false, primary: false, notNull: true, default: undefined, defaultFn: undefined, onUpdateFn: undefined, hasDefault: false, isUnique: false, uniqueName: 'credential_display_name_unique', uniqueType: undefined, dataType: 'string', columnType: 'PgText', enumValues: undefined, generated: undefined, generatedIdentity: undefined, config: { name: 'display_name', keyAsName: false, notNull: true, default: undefined, hasDefault: false, primaryKey: false, isUnique: false, uniqueName: 'credential_display_name_unique', uniqueType: undefined, dataType: 'string', columnType: 'PgText', generated: undefined, enumValues: undefined }, table: [Circular], constructor: 'Function<PgText>', getSQLType
executor/handlers/evaluator/evaluator-handler.test.ts > EvaluatorBlockHandler > should handle Vertex AI models with OAuth credential: apps/sim/app/api/auth/oauth/utils.ts#L36
Error: Failed query: select "type", "account_id" from "credential" where $1 limit $2 params: [object Object],1 ❯ PostgresJsPreparedQuery.queryWithCache ../../node_modules/src/pg-core/session.ts:73:11 ❯ ../../node_modules/src/postgres-js/session.ts:58:17 ❯ resolveOAuthAccountId app/api/auth/oauth/utils.ts:36:27 ❯ EvaluatorBlockHandler.resolveVertexCredential executor/handlers/evaluator/evaluator-handler.ts:287:22 ❯ EvaluatorBlockHandler.execute executor/handlers/evaluator/evaluator-handler.ts:47:21 ❯ executor/handlers/evaluator/evaluator-handler.test.ts:427:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { query: 'select "type", "account_id" from "credential" where $1 limit $2', params: [ { type: 'eq', left: { name: 'id', keyAsName: false, primary: true, notNull: true, default: undefined, defaultFn: undefined, onUpdateFn: undefined, hasDefault: false, isUnique: false, uniqueName: 'credential_id_unique', uniqueType: undefined, dataType: 'string', columnType: 'PgText', enumValues: undefined, generated: undefined, generatedIdentity: undefined, config: { name: 'id', keyAsName: false, notNull: true, default: undefined, hasDefault: false, primaryKey: true, isUnique: false, uniqueName: 'credential_id_unique', uniqueType: undefined, dataType: 'string', columnType: 'PgText', generated: undefined, enumValues: undefined }, table: { id: [Circular], workspaceId: { name: 'workspace_id', keyAsName: false, primary: false, notNull: true, default: undefined, defaultFn: undefined, onUpdateFn: undefined, hasDefault: false, isUnique: false, uniqueName: 'credential_workspace_id_unique', uniqueType: undefined, dataType: 'string', columnType: 'PgText', enumValues: undefined, generated: undefined, generatedIdentity: undefined, config: { name: 'workspace_id', keyAsName: false, notNull: true, default: undefined, hasDefault: false, primaryKey: false, isUnique: false, uniqueName: 'credential_workspace_id_unique', uniqueType: undefined, dataType: 'string', columnType: 'PgText', generated: undefined, enumValues: undefined }, table: [Circular], constructor: 'Function<PgText>', getSQLType: 'Function<getSQLType>', mapFromDriverValue: 'Function<mapFromDriverValue>', mapToDriverValue: 'Function<mapToDriverValue>', shouldDisableInsert: 'Function<shouldDisableInsert>', getSQL: 'Function<anonymous>' }, type: { name: 'type', keyAsName: false, primary: false, notNull: true, default: undefined, defaultFn: undefined, onUpdateFn: undefined, hasDefault: false, isUnique: false, uniqueName: 'credential_type_unique', uniqueType: undefined, dataType: 'string', columnType: 'PgEnumColumn', enumValues: [ 'oauth', 'env_workspace', 'env_personal' ], generated: undefined, generatedIdentity: undefined, config: { name: 'type', keyAsName: false, notNull: true, default: undefined, hasDefault: false, primaryKey: false, isUnique: false, uniqueName: 'credential_type_unique', uniqueType: undefined, dataType: 'string', columnType: 'PgEnumColumn', generated: undefined, enum: 'Function<anonymous>' }, table: [Circular], enum: 'Function<anonymous>', constructor: 'Function<PgEnumColumn>', getSQLType: 'Function<getSQLType>', mapFromDriverValue: 'Function<mapFromDriverValue>', mapToDriverValue: 'Function<mapToDriverValue>', shouldDisableInsert: 'Function<shouldDisableInsert>', getSQL: 'Function<anonymous>' }, displayName: { name: 'display_name', keyAsName: false, primary: false, notNull: true, default: undefined, defaultFn: undefined, onUpdateFn: undefined, hasDefault: false, isUnique: false, uniqueName: 'credential_display_name_unique', uniqueType: undefined, dataType: 'string', columnType: 'PgText', enumValues: undefined, generated: undefined, generatedIdentity: undefined, config: { name: 'display_name', keyAsName: false, notNull: true, default: undefined, hasDefault: false, primaryKey: false, isUnique: false, uniqueName: 'credential_display_name_unique', uniqueType: undefined, dataType: 'string', columnType: 'PgText', generated: undefined, enumValues: undefined }, table: [Circular], constructor: 'Function<Pg
Test and Build / Test and Build
sim#test: command (/home/runner/_work/sim/sim/apps/sim) /home/runner/.bun/bin/bun run test exited (1)
Test and Build / Test and Build
Skipping sticky disk commit due to previous step failures
Test and Build / Test and Build
- Step: unknown (failed)
Test and Build / Test and Build
Found 2 failed/cancelled steps in previous workflow steps