cloudaxe-opencode/packages/opencode/test/effect
Kit Langton bb039496d5 refactor: propagate Instance context through Effect fibers via InstanceRef
Add a ServiceMap.Reference that carries InstanceContext through the
Effect service graph so child fibers retain instance context even when
resumed by external I/O events outside the ALS boundary.

- Add InstanceRef to instance-state.ts; InstanceState.get/has/invalidate
  try the Reference first, fall back to ALS
- makeRuntime automatically captures ALS into InstanceRef at the boundary
- provideInstance (test fixture) sets InstanceRef for Effect.runPromiseWith
- Remove all redundant provideInstance(dir) wrappers from prompt tests
- Fix test/lib/effect.ts type params (drop unnecessary S/T generics)
2026-03-31 16:42:16 -04:00
..
cross-spawn-spawner.test.ts refactor(effect): yield services instead of promise facades (#19325) 2026-03-26 21:46:38 -04:00
instance-state.test.ts refactor: propagate Instance context through Effect fibers via InstanceRef 2026-03-31 16:42:16 -04:00
run-service.test.ts effectify Bus service: migrate to Effect PubSub + InstanceState (#18579) 2026-03-25 20:19:24 -04:00
runner.test.ts test: add live effect helper mode 2026-03-31 16:42:13 -04:00