Skip to content

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

Merged
kitlangton merged 4 commits intodevfrom
effect-bridge-clean
Apr 15, 2026
Merged

fix(effect): add effect bridge for callback contexts#22504
kitlangton merged 4 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

@kitlangton kitlangton force-pushed the effect-bridge-clean branch from 006e28c to f39d37d Compare April 15, 2026 15:14
@kitlangton kitlangton enabled auto-merge (squash) April 15, 2026 15:15
@kitlangton kitlangton merged commit f175140 into dev Apr 15, 2026
11 checks passed
@kitlangton kitlangton deleted the effect-bridge-clean branch April 15, 2026 15:22
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