Add Cursor provider sessions and model selection #3505
ci.yml
on: pull_request
Format, Lint, Typecheck, Test, Browser Test, Build
1m 0s
Release Smoke
11s
Annotations
4 errors
|
Format, Lint, Typecheck, Test, Browser Test, Build
Process completed with exit code 1.
|
|
src/provider/acp/AcpJsonRpcConnection.test.ts > AcpJsonRpcConnection > performs initialize → session/new → session/prompt against mock agent:
apps/server/src/provider/acp/AcpJsonRpcConnection.test.ts#L35
AssertionError: expected { sessionId: 'mock-session-1', …(2) } to deeply equal { sessionId: 'mock-session-1' }
- Expected
+ Received
{
+ "configOptions": [
+ {
+ "category": "model",
+ "currentValue": "default",
+ "id": "model",
+ "name": "Model",
+ "options": [
+ {
+ "name": "Auto",
+ "value": "default",
+ },
+ {
+ "name": "Composer 2",
+ "value": "composer-2",
+ },
+ {
+ "name": "Composer 2 Fast",
+ "value": "composer-2[fast=true]",
+ },
+ {
+ "name": "Codex 5.3",
+ "value": "gpt-5.3-codex[reasoning=medium,fast=false]",
+ },
+ ],
+ "type": "select",
+ },
+ ],
+ "modes": {
+ "availableModes": [
+ {
+ "description": "Request permission before making any changes",
+ "id": "ask",
+ "name": "Ask",
+ },
+ {
+ "description": "Design and plan software systems without implementation",
+ "id": "architect",
+ "name": "Architect",
+ },
+ {
+ "description": "Write and modify code with full tool access",
+ "id": "code",
+ "name": "Code",
+ },
+ ],
+ "currentModeId": "ask",
+ },
"sessionId": "mock-session-1",
}
❯ Array.<anonymous> src/provider/acp/AcpJsonRpcConnection.test.ts:35:25
❯ next ../../node_modules/.bun/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@8881a9b/node_modules/effect/src/internal/effect.ts:1264:25
❯ Object.~effect/Effect/evaluate ../../node_modules/.bun/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@8881a9b/node_modules/effect/src/internal/core.ts:531:30
❯ FiberImpl.runLoop ../../node_modules/.bun/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@8881a9b/node_modules/effect/src/internal/effect.ts:626:39
❯ runLoop ../../node_modules/.bun/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@8881a9b/node_modules/effect/src/internal/effect.ts:587:22
❯ evaluate ../../node_modules/.bun/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@8881a9b/node_modules/effect/src/internal/effect.ts:1018:14
❯ effect ../../node_modules/.bun/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@8881a9b/node_modules/effect/src/Deferred.ts:1150:22
❯ doneUnsafe ../../node_modules/.bun/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@8881a9b/node_modules/effect/src/Deferred.ts:384:30
❯ Object.~effect/Effect/evaluate ../../node_modules/.bun/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@8881a9b/node_modules/effect/src/internal/effect.ts:866:28
|
|
src/provider/Layers/ProviderRegistry.test.ts > ProviderRegistry > ProviderRegistryLive > reruns codex health when codex provider settings change:
apps/server/src/provider/Layers/ProviderRegistry.test.ts#L406
Error: Unexpected args: about
❯ src/provider/Layers/ProviderRegistry.test.ts:406:23
❯ Object.spawn src/provider/Layers/ProviderRegistry.test.ts:78:40
❯ Array.<anonymous> src/provider/Layers/CursorProvider.ts:389:34
❯ next ../../node_modules/.bun/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@8881a9b/node_modules/effect/src/internal/effect.ts:1264:25
❯ Object.~effect/Effect/evaluate ../../node_modules/.bun/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@8881a9b/node_modules/effect/src/internal/core.ts:531:30
❯ FiberImpl.runLoop ../../node_modules/.bun/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@8881a9b/node_modules/effect/src/internal/effect.ts:626:39
❯ runLoop ../../node_modules/.bun/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@8881a9b/node_modules/effect/src/internal/effect.ts:587:22
❯ evaluate ../../node_modules/.bun/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@8881a9b/node_modules/effect/src/internal/effect.ts:4831:10
❯ forkUnsafe ../../node_modules/.bun/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@8881a9b/node_modules/effect/src/internal/effect.ts:1466:22
|
|
Format, Lint, Typecheck, Test, Browser Test, Build
t3#test: command (/home/runner/_work/t3code/t3code/apps/server) /home/runner/.bun/bin/bun run test exited (1)
|