Skip to content

Commit 544c333

Browse files
sahrizviclaude
andcommitted
test: give the trace-context MCP stub the members #1308 added
`trace-context-loop.test.ts` (#1400) stubs `MCP.Service` without `listMeta` and `snapshot`, which #1308 added to the interface, so `tsgo` fails on main and the pre-push typecheck blocks any branch that merges it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018fJ3X7pcGT4R9yzjsJnqsV
1 parent 4da771b commit 544c333

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎packages/opencode/test/session/trace-context-loop.test.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ const mcp = Layer.succeed(
4242
hasStoredTokens: () => Effect.succeed(false),
4343
getAuthStatus: () => Effect.succeed("not_authenticated" as const),
4444
entry: () => Effect.succeed(undefined),
45+
listMeta: () => Effect.succeed(undefined),
46+
snapshot: () => Effect.succeed({ tools: {}, meta: undefined }),
4547
}),
4648
)
4749

0 commit comments

Comments
 (0)