You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Server typecheck fails on main: McpHttpServer.test.ts tool-hiding test misses issue services #472
Introduced by the #469 sync's follow-up (the test "hides ungated issue writes from managed threads and their descendants", apps/server/src/mcp/McpHttpServer.test.ts:1711). It registers the real issues toolkit, but the Effect it builds still requires IssueService | OrchestratorV2 | ProjectService | ThreadIssueService, which the test doesn't provide, so effect-tsgo reports TS2375/TS377004. The test passes when run; only the typecheck fails, and so does check:changed for anything that selects this package.
Fix: provide the smallest stub layers for those four services (or build the toolkit with a stub handler layer), so the test keeps exercising the real tool annotations. Don't weaken it: it must still fail if create_issue loses its annotation.
Done: the server typecheck is clean apart from the 3 known mobile errors in other packages, and the test still passes and still fails without the annotation.
I fixed #472 and opened draft PR #473, which closes it. I did not merge it.
The test "hides ungated issue writes from managed threads and their descendants" now provides empty Layer.mock stubs for IssueService, OrchestratorV2, ProjectService and ThreadIssueService. This follows the pattern its neighbours in apps/server/src/mcp/McpHttpServer.test.ts already use, and I added two imports for it. The test still uses the real tool annotations.
Typecheck after the fix: it reports no errors. The 3 mobile errors you mentioned are in apps/mobile, which this server-only run doesn't cover.
Test: it passes.
Mutation: I deleted the hiddenFromRepositoryManaged annotation from create_issue in tools.ts and the test failed, with create_issue showing up in the managed list. I then reverted tools.ts with git checkout, and the tree is clean apart from the intended test change.
check:changed:vp run check:changed passes (format, lint, knip, typecheck of 3 packages, tests).
GitHub has reported no CI checks on the PR yet. All commands ran through agent-heavy. I did not touch ~/.t3/userdata or kill any processes.
PR #473, head f58f5fc, checks and reviews: none reported yet (draft).
Activity
tannerpolley commentedon Nov 18, 2026
T3 Code status: Unavailable
Issue: #472 Server typecheck fails on main: McpHttpServer.test.ts tool-hiding test misses issue services
Thread: thread:delegated-task:command%3Amcp%3A53eed4d4-49de-4205-ba6f-a35a0b15b7c9%3Adelegate-task%3Aissue-472-typecheck-2026-11-18
Model: claude-sonnet-5-5
Branch: issue-472-server-typecheck-fails-on-main
Updated: 2026-11-23T19:32:31.691Z
tannerpolley commentedon Nov 18, 2026
T3 Code closeout: done
Issue: #472 Server typecheck fails on main: McpHttpServer.test.ts tool-hiding test misses issue services
Thread: thread:delegated-task:command%3Amcp%3A53eed4d4-49de-4205-ba6f-a35a0b15b7c9%3Adelegate-task%3Aissue-472-typecheck-2026-11-18
Model: claude-sonnet-5-5
Branch: issue-472-server-typecheck-fails-on-main
Completed: 2026-11-18T01:37:10.549Z
I fixed #472 and opened draft PR #473, which closes it. I did not merge it.
The test "hides ungated issue writes from managed threads and their descendants" now provides empty
Layer.mockstubs forIssueService,OrchestratorV2,ProjectServiceandThreadIssueService. This follows the pattern its neighbours inapps/server/src/mcp/McpHttpServer.test.tsalready use, and I added two imports for it. The test still uses the real tool annotations.effect-tsgo tsrs --noEmit -p .inapps/servershowed exactly the two Server typecheck fails on main: McpHttpServer.test.ts tool-hiding test misses issue services #472 errors, TS2375 and TS377004, atMcpHttpServer.test.ts:1711.apps/mobile, which this server-only run doesn't cover.hiddenFromRepositoryManagedannotation fromcreate_issueintools.tsand the test failed, withcreate_issueshowing up in the managed list. I then revertedtools.tswithgit checkout, and the tree is clean apart from the intended test change.check:changed:vp run check:changedpasses (format, lint, knip, typecheck of 3 packages, tests).GitHub has reported no CI checks on the PR yet. All commands ran through
agent-heavy. I did not touch~/.t3/userdataor kill any processes.PR #473, head f58f5fc, checks and reviews: none reported yet (draft).
test(server): provide issue service stubs in the tool-hiding test (#472)