Skip to content

test(smart-notes): spy on Agent.addRequest instead of createConnection #677

test(smart-notes): spy on Agent.addRequest instead of createConnection

test(smart-notes): spy on Agent.addRequest instead of createConnection #677

Triggered via push July 15, 2026 09:05
Status Failure
Total duration 4m 20s
Artifacts

ci.yml

on: push
Check (pi-plugin)
57s
Check (pi-plugin)
Check (dashboard)
18s
Check (dashboard)
E2E (OpenCode, Docker)
E2E (OpenCode, Docker)
E2E (Pi, Docker)
1m 38s
E2E (Pi, Docker)
E2E (OpenCode, host behavior)
E2E (OpenCode, host behavior)
E2E (Pi, host behavior)
1m 36s
E2E (Pi, host behavior)
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
Check (plugin)
Process completed with exit code 1.
SQLiteError: unable to open database file: packages/cli/bun:sqlite#L260
at new Database (bun:sqlite:260:28) at openExistingDatabase (/home/runner/work/magic-context/magic-context/packages/cli/src/lib/database-access.ts:42:12) at openExistingContextDatabase (/home/runner/work/magic-context/magic-context/packages/cli/src/lib/database-access.ts:53:16) at <anonymous> (/home/runner/work/magic-context/magic-context/packages/cli/src/lib/database-access.test.ts:54:20)
error: expect(received).toThrow(expected): packages/cli/src/lib/database-access.test.ts#L35
Expected constructor: UnsupportedSchemaVersionError Received constructor: Error Received message: "unable to open database file" at <anonymous> (/home/runner/work/magic-context/magic-context/packages/cli/src/lib/database-access.test.ts:35:78)
error: expect(received).toThrow(expected): packages/cli/src/commands/migrate.test.ts#L443
Expected substring: "database schema v53 is newer than this CLI supports (max v52)" Received message: "unable to open database file" at <anonymous> (/home/runner/work/magic-context/magic-context/packages/cli/src/commands/migrate.test.ts:443:11)
Check (plugin)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/