Skip to content

feat(tools): added download file tool for onedrive, google drive, and slack; added move email tool for gmail and outlook #5322

feat(tools): added download file tool for onedrive, google drive, and slack; added move email tool for gmail and outlook

feat(tools): added download file tool for onedrive, google drive, and slack; added move email tool for gmail and outlook #5322

Triggered via pull request November 3, 2025 22:27
@aadamgoughaadamgough
synchronize #1785
sim-297
Status Failure
Total duration 39s
Artifacts

ci.yml

on: pull_request
Test and Build  /  Test and Build
28s
Test and Build / Test and Build
Matrix: Build AMD64
Matrix: Build ARM64 (GHCR Only)
Deploy Trigger.dev  /  Deploy to Trigger.dev
Deploy Trigger.dev / Deploy to Trigger.dev
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/copilot/chat/route.test.ts > Copilot Chat API Route > GET > should return 401 when user is not authenticated: apps/sim/lib/environment.ts#L25
Error: [vitest] No "getEnv" export is defined on the "@/lib/env" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock(import("@/lib/env"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ lib/environment.ts:25:3 ❯ lib/urls/utils.ts:2:1
app/api/copilot/chat/route.test.ts > Copilot Chat API Route > POST > should use ask mode when specified: apps/sim/lib/environment.ts#L25
Error: [vitest] No "getEnv" export is defined on the "@/lib/env" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock(import("@/lib/env"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ lib/environment.ts:25:3 ❯ lib/urls/utils.ts:2:1
app/api/copilot/chat/route.test.ts > Copilot Chat API Route > POST > should handle database errors during chat creation: apps/sim/lib/environment.ts#L25
Error: [vitest] No "getEnv" export is defined on the "@/lib/env" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock(import("@/lib/env"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ lib/environment.ts:25:3 ❯ lib/urls/utils.ts:2:1
app/api/copilot/chat/route.test.ts > Copilot Chat API Route > POST > should handle sim agent API errors: apps/sim/lib/environment.ts#L25
Error: [vitest] No "getEnv" export is defined on the "@/lib/env" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock(import("@/lib/env"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ lib/environment.ts:25:3 ❯ lib/urls/utils.ts:2:1
app/api/copilot/chat/route.test.ts > Copilot Chat API Route > POST > should include implicit feedback in messages: apps/sim/lib/environment.ts#L25
Error: [vitest] No "getEnv" export is defined on the "@/lib/env" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock(import("@/lib/env"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ lib/environment.ts:25:3 ❯ lib/urls/utils.ts:2:1
app/api/copilot/chat/route.test.ts > Copilot Chat API Route > POST > should load existing chat and include conversation history: apps/sim/lib/environment.ts#L25
Error: [vitest] No "getEnv" export is defined on the "@/lib/env" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock(import("@/lib/env"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ lib/environment.ts:25:3 ❯ lib/urls/utils.ts:2:1
app/api/copilot/chat/route.test.ts > Copilot Chat API Route > POST > should handle new chat creation and forward to sim agent: apps/sim/lib/environment.ts#L25
Error: [vitest] No "getEnv" export is defined on the "@/lib/env" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock(import("@/lib/env"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ lib/environment.ts:25:3 ❯ lib/urls/utils.ts:2:1
app/api/copilot/chat/route.test.ts > Copilot Chat API Route > POST > should return 400 for invalid request body: apps/sim/lib/environment.ts#L25
Error: [vitest] No "getEnv" export is defined on the "@/lib/env" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock(import("@/lib/env"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ lib/environment.ts:25:3 ❯ lib/urls/utils.ts:2:1
app/api/copilot/chat/route.test.ts > Copilot Chat API Route > POST > should return 401 when user is not authenticated: apps/sim/lib/environment.ts#L25
Error: [vitest] No "getEnv" export is defined on the "@/lib/env" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock(import("@/lib/env"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ lib/environment.ts:25:3 ❯ lib/urls/utils.ts:2:1
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)