Skip to content

feat(integration): add spotify #6920

feat(integration): add spotify

feat(integration): add spotify #6920

Triggered via pull request December 13, 2025 03:05
@Sg312Sg312
synchronize #2347
feat/spotify
Status Failure
Total duration 57s
Artifacts

ci.yml

on: pull_request
Detect Version
Detect Version
Test and Build  /  Test and Build
45s
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
Fit to window
Zoom out
Zoom in

Annotations

10 errors
app/api/knowledge/search/utils.test.ts: apps/sim/tools/spotify/index.ts#L64
Error: Cannot find module './player_add_to_queue' imported from '/home/runner/_work/sim/sim/apps/sim/tools/spotify/index.ts' ❯ tools/spotify/index.ts:64:1 ❯ tools/registry.ts:1017:1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_MODULE_NOT_FOUND' } Caused by: Error: Failed to load url ./player_add_to_queue (resolved id: ./player_add_to_queue) in /home/runner/_work/sim/sim/apps/sim/tools/spotify/index.ts. Does the file exist? ❯ loadAndTransform ../../node_modules/vite/dist/node/chunks/config.js:22662:33
lib/workflows/persistence/utils.test.ts: apps/sim/tools/spotify/index.ts#L64
Error: Cannot find module './player_add_to_queue' imported from '/home/runner/_work/sim/sim/apps/sim/tools/spotify/index.ts' ❯ tools/spotify/index.ts:64:1 ❯ tools/registry.ts:1017:1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_MODULE_NOT_FOUND' } Caused by: Error: Failed to load url ./player_add_to_queue (resolved id: ./player_add_to_queue) in /home/runner/_work/sim/sim/apps/sim/tools/spotify/index.ts. Does the file exist? ❯ loadAndTransform ../../node_modules/vite/dist/node/chunks/config.js:22662:33
executor/handlers/workflow/workflow-handler.test.ts: apps/sim/tools/spotify/index.ts#L64
Error: Cannot find module './player_add_to_queue' imported from '/home/runner/_work/sim/sim/apps/sim/tools/spotify/index.ts' ❯ tools/spotify/index.ts:64:1 ❯ tools/registry.ts:1017:1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_MODULE_NOT_FOUND' } Caused by: Error: Failed to load url ./player_add_to_queue (resolved id: ./player_add_to_queue) in /home/runner/_work/sim/sim/apps/sim/tools/spotify/index.ts. Does the file exist? ❯ loadAndTransform ../../node_modules/vite/dist/node/chunks/config.js:22662:33
executor/handlers/agent/agent-handler.test.ts: apps/sim/tools/spotify/index.ts#L64
Error: Cannot find module './player_add_to_queue' imported from '/home/runner/_work/sim/sim/apps/sim/tools/spotify/index.ts' ❯ tools/spotify/index.ts:64:1 ❯ tools/registry.ts:1017:1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_MODULE_NOT_FOUND' } Caused by: Error: Failed to load url ./player_add_to_queue (resolved id: ./player_add_to_queue) in /home/runner/_work/sim/sim/apps/sim/tools/spotify/index.ts. Does the file exist? ❯ loadAndTransform ../../node_modules/vite/dist/node/chunks/config.js:22662:33
app/api/knowledge/utils.test.ts: apps/sim/tools/spotify/index.ts#L64
Error: Cannot find module './player_add_to_queue' imported from '/home/runner/_work/sim/sim/apps/sim/tools/spotify/index.ts' ❯ tools/spotify/index.ts:64:1 ❯ tools/registry.ts:1017:1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_MODULE_NOT_FOUND' } Caused by: Error: Failed to load url ./player_add_to_queue (resolved id: ./player_add_to_queue) in /home/runner/_work/sim/sim/apps/sim/tools/spotify/index.ts. Does the file exist? ❯ loadAndTransform ../../node_modules/vite/dist/node/chunks/config.js:22662:33
serializer/tests/dual-validation.test.ts: apps/sim/serializer/index.ts#L9
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ serializer/index.ts:9:1 ❯ serializer/tests/dual-validation.test.ts:11:1 Caused by: Caused by: Error: Failed to resolve import "./player_add_to_queue" from "tools/spotify/index.ts". Does the file exist? Plugin: vite:import-analysis File: /home/runner/_work/sim/sim/apps/sim/tools/spotify/index.ts:64:38 50 | export { spotifyGetUserPlaylistsTool } from "./get_user_playlists"; 51 | export { spotifyGetUserProfileTool } from "./get_user_profile"; 52 | export { spotifyAddToQueueTool } from "./player_add_to_queue"; | ^ 53 | export { spotifyPauseTool } from "./player_pause"; 54 | export { spotifyPlayTool } from "./player_play"; ❯ TransformPluginContext._formatLog ../../node_modules/vite/dist/node/chunks/config.js:28998:43 ❯ TransformPluginContext.error ../../node_modules/vite/dist/node/chunks/config.js:28995:14 ❯ normalizeUrl ../../node_modules/vite/dist/node/chunks/config.js:27118:18 ❯ ../../node_modules/vite/dist/node/chunks/config.js:27176:32 ❯ TransformPluginContext.transform ../../node_modules/vite/dist/node/chunks/config.js:27144:4 ❯ EnvironmentPluginContainer.transform ../../node_modules/vite/dist/node/chunks/config.js:28796:14 ❯ loadAndTransform ../../node_modules/vite/dist/node/chunks/config.js:22669:26
blocks/blocks/agent.test.ts: apps/sim/tools/spotify/index.ts#L64
Error: Cannot find module './player_add_to_queue' imported from '/home/runner/_work/sim/sim/apps/sim/tools/spotify/index.ts' ❯ tools/spotify/index.ts:64:1 ❯ tools/registry.ts:1017:1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_MODULE_NOT_FOUND' } Caused by: Error: Failed to load url ./player_add_to_queue (resolved id: ./player_add_to_queue) in /home/runner/_work/sim/sim/apps/sim/tools/spotify/index.ts. Does the file exist? ❯ loadAndTransform ../../node_modules/vite/dist/node/chunks/config.js:22662:33
tools/utils.test.ts: apps/sim/tools/spotify/index.ts#L64
Error: Cannot find module './player_add_to_queue' imported from '/home/runner/_work/sim/sim/apps/sim/tools/spotify/index.ts' ❯ tools/spotify/index.ts:64:1 ❯ tools/registry.ts:1017:1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_MODULE_NOT_FOUND' } Caused by: Error: Failed to load url ./player_add_to_queue (resolved id: ./player_add_to_queue) in /home/runner/_work/sim/sim/apps/sim/tools/spotify/index.ts. Does the file exist? ❯ loadAndTransform ../../node_modules/vite/dist/node/chunks/config.js:22662:33
providers/utils.test.ts: apps/sim/tools/spotify/index.ts#L64
Error: Cannot find module './player_add_to_queue' imported from '/home/runner/_work/sim/sim/apps/sim/tools/spotify/index.ts' ❯ tools/spotify/index.ts:64:1 ❯ tools/registry.ts:1017:1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_MODULE_NOT_FOUND' } Caused by: Caused by: Error: Failed to load url ./player_add_to_queue (resolved id: ./player_add_to_queue) in /home/runner/_work/sim/sim/apps/sim/tools/spotify/index.ts. Does the file exist? ❯ loadAndTransform ../../node_modules/vite/dist/node/chunks/config.js:22662:33
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)