Skip to content

fix(effect): add effect bridge for callback contexts#22504

Open
kitlangton wants to merge 6 commits intodevfrom
effect-bridge-clean
Open

fix(effect): add effect bridge for callback contexts#22504
kitlangton wants to merge 6 commits intodevfrom
effect-bridge-clean

Conversation

@kitlangton
Copy link
Copy Markdown
Contributor

Summary

  • add EffectBridge.make() to capture the current Effect context plus instance/workspace context for later callback-boundary execution
  • switch prompt and the remaining callback bridges over to EffectBridge instead of ad hoc runPromise / runFork calls with manually provided logger layers
  • add regression coverage proving EffectBridge preserves both logger and instance context across an async boundary

Testing

  • bun run typecheck
  • bun run test test/effect/app-runtime-logger.test.ts test/plugin/trigger.test.ts test/pty/pty-output-isolation.test.ts test/mcp/lifecycle.test.ts

Notes

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.

2 participants