Skip to content

fix(server): upstream's ProviderTurnStartService tests no longer need the fork's InlineShellStore - #75

Merged
tannerpolley merged 1 commit into
mainfrom
issue-70-upstreams-new-providerturnstartservice
Oct 21, 2026
Merged

tannerpolley merged 1 commit into
mainfrom
issue-70-upstreams-new-providerturnstartservice

Conversation

@tannerpolley

Copy link
Copy Markdown
Owner

Upstream's new ProviderTurnStartService.memory.test.ts (upstream pingdotgg#22117, from today's sync) failed all 5 cases on main. The fork's version of the service hard-required the fork's InlineShellStore, which upstream's test layer doesn't provide.

ProviderTurnStartService now reads InlineShellStore through Effect.serviceOption, and it's no longer a required layer dependency. Without it, the original provider session is used unchanged. With it, inline-shell delivery and its error mapping are exactly as before.

  • Production unchanged: runtimeLayer.ts still provides InlineShellStore.layer directly to this service.
  • Upstream test untouched: the memory test file itself is unchanged.
  • Checks: 51 tests pass across the memory test, the service tests and the inline-shell tests, and the server typecheck passes.

Other upstream constructors with hard fork-only dependencies, all already provided in their test layers: ProviderTurnControlService needs InlineShellStore, ProjectService needs SidebarLayoutService, and WorktreeMcpService needs ThreadWorkspaceService.

Closes #70

🤖 Generated with Claude Code (implemented by GPT-6.1 Sol via T3 Code; orchestrated by Claude Opus 5.5)

Use Effect.serviceOption for the fork-only InlineShellStore and start provider turns directly when it is absent. Preserve inline shell delivery when production supplies the store.

Closes #70

Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
@tannerpolley
tannerpolley merged commit fed5a1c into main Oct 21, 2026
@tannerpolley
tannerpolley deleted the issue-70-upstreams-new-providerturnstartservice branch October 21, 2026 00:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upstream's new ProviderTurnStartService memory test fails: the fork's InlineShellStore isn't provided

1 participant