Skip to content

fix(server): share listener memo map#32113

Open
rekram1-node wants to merge 1 commit into
devfrom
share-listener-runtime
Open

fix(server): share listener memo map#32113
rekram1-node wants to merge 1 commit into
devfrom
share-listener-runtime

Conversation

@rekram1-node

Copy link
Copy Markdown
Collaborator

What does this PR do?

Uses the process-shared Effect memo map when building the TCP listener instead of creating a fresh memo map per listener. This lets the TCP listener and in-process HTTP handler resolve shared application services from the same layer cache.

Verification

  • bun typecheck from packages/opencode: passed
  • bun test test/server/httpapi-listen.test.ts: failed locally (4 passed, 6 failed) with listener auth/config leakage symptoms, including unexpected 401/404 responses and shutdown/WebSocket timeouts

This is intentionally the minimal memo-map change so CI can expose its impact without additional refactoring.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant