test(smart-notes): spy on Agent.addRequest instead of createConnection #677
ci.yml
on: push
Check (plugin)
3m 12s
Check (pi-plugin)
57s
Check (dashboard)
18s
E2E (OpenCode, host behavior)
E2E (Pi, host behavior)
1m 36s
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/
|