Skip to content

test(opencode): migrate tool registry fixtures#29042

Merged
kitlangton merged 1 commit into
test/config-effect-dslfrom
test/tool-registry-effect-fixtures
May 24, 2026
Merged

test(opencode): migrate tool registry fixtures#29042
kitlangton merged 1 commit into
test/config-effect-dslfrom
test/tool-registry-effect-fixtures

Conversation

@kitlangton
Copy link
Copy Markdown
Contributor

Summary

  • add ToolRegistry.use service accessors
  • migrate registry test fixture writes to AppFileSystem.use.writeWithDirs
  • keep the zod fixture copy as a Promise boundary for fs.cp

Verification

  • bunx prettier --write packages/opencode/test/tool/registry.test.ts packages/opencode/src/tool/registry.ts
  • bun typecheck (packages/opencode)
  • bun typecheck (packages/core)
  • bun test --timeout 5000 test/tool/registry.test.ts (packages/opencode)
  • bunx oxlint packages/opencode/src/tool/registry.ts packages/opencode/test/tool/registry.test.ts (warnings only: pre-existing unsafe assertion/unbound-method/no-unneeded-ternary warnings)

@kitlangton kitlangton merged commit 84eff93 into test/config-effect-dsl May 24, 2026
10 checks passed
@kitlangton kitlangton deleted the test/tool-registry-effect-fixtures branch May 24, 2026 15:15
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