You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8fc126c
Browse filesBrowse the repository at this point in the historyBrowse files
fix: WebSocket RPC hang — nested Effect.gen deadlock in request fiber
Root cause: yield*-ing an Effect.gen from inside another Effect.gen
within the HTTP request fiber caused the inner generator to never
start executing. The first yield* statement inside makeWsRpcContext
never ran, silently hanging every /ws connection after auth.
Fix:
- Replaced Effect.gen in makeWsRpcContext with flat pipeline
composition (Effect.flatMap/Effect.andThen chaining)
- Moved Effect.context<never>() capture to startup via a new
WsAppServices service that pre-builds the full app-level context
once at boot
- Fixed vendored Effect API mismatches: Context.Tag -> Context.Service,
removed nonexistent Effect.tapErrorCause calls
Also includes layer-wiring fixes for startup services and auth
session infrastructure.
0 commit comments