Skip to content

refactor: use InstanceState context in worktree cleanup paths#23019

Open
kitlangton wants to merge 1 commit intodevfrom
kit/worktree-instance-context
Open

refactor: use InstanceState context in worktree cleanup paths#23019
kitlangton wants to merge 1 commit intodevfrom
kit/worktree-instance-context

Conversation

@kitlangton
Copy link
Copy Markdown
Contributor

Summary

  • replace legacy ambient Instance.* reads in packages/opencode/src/worktree/index.ts remove/reset paths with yielded InstanceState.context
  • keep the existing Instance.provide(...) bootstrap boundary in place because InstanceBootstrap still crosses into a non-migrated boundary

Testing

  • bun typecheck in packages/opencode (fails locally: tsgo not found in this worktree environment)
  • bunx --bun @typescript/native-preview --noEmit in packages/opencode (fails in existing workspace type setup; unrelated project-wide type errors surfaced)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant