Skip to content

refactor(instance): remove legacy runtime fallback#27757

Merged
nexxeln merged 9 commits into
devfrom
nxl/inst-8-remove-instance-fallbacks
May 15, 2026
Merged

refactor(instance): remove legacy runtime fallback#27757
nexxeln merged 9 commits into
devfrom
nxl/inst-8-remove-instance-fallbacks

Conversation

@nexxeln
Copy link
Copy Markdown
Member

@nexxeln nexxeln commented May 15, 2026

Summary

  • remove project/instance fallback reads from InstanceState.context, run-service.attach, and EffectBridge
  • keep EffectBridge as the explicit JS interop boundary by running bound callbacks with captured InstanceRef/WorkspaceRef fiber refs
  • pass explicit adapter context into workspace adapters, including the builtin worktree adapter re-entry boundary

Testing

  • bun typecheck from packages/opencode
  • bun test \"test/effect/instance-state.test.ts\" \"test/effect/run-service.test.ts\" \"test/effect/app-runtime-logger.test.ts\" \"test/cli/effect-cmd-instance-als.test.ts\"
  • bun test \"test/server/worktree-endpoint-repro.test.ts\" \"test/server/httpapi-workspace.test.ts\"
  • bun test \"test/storage/db.test.ts\" \"test/sync/index.test.ts\" \"test/session/llm.test.ts\"
  • push hook: repo-wide bun turbo typecheck

@nexxeln nexxeln merged commit 0c9cfe9 into dev May 15, 2026
10 checks passed
@nexxeln nexxeln deleted the nxl/inst-8-remove-instance-fallbacks branch May 15, 2026 17:35
rustybret pushed a commit to rustybret/opencode that referenced this pull request May 15, 2026
zenoda pushed a commit to zenoda/opencode that referenced this pull request May 16, 2026
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.

1 participant