Skip to content

test(workspace): avoid legacy instance reads#27727

Merged
nexxeln merged 1 commit into
devfrom
nxl/reduce-workspace-instance-test-shim
May 15, 2026
Merged

test(workspace): avoid legacy instance reads#27727
nexxeln merged 1 commit into
devfrom
nxl/reduce-workspace-instance-test-shim

Conversation

@nexxeln
Copy link
Copy Markdown
Member

@nexxeln nexxeln commented May 15, 2026

summary

  • remove control-plane workspace tests' direct reads from the legacy project/instance shim
  • pass explicit loaded instance context through Promise-style workspace fixtures
  • use InstanceRef for Effect-scoped workspace tests that need project metadata

testing

  • bun test "test/control-plane/workspace.test.ts"
  • bun typecheck

@nexxeln nexxeln merged commit 1c7c033 into dev May 15, 2026
12 checks passed
@nexxeln nexxeln deleted the nxl/reduce-workspace-instance-test-shim branch May 15, 2026 11:37
rustybret pushed a commit to rustybret/opencode that referenced this pull request May 15, 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