summaryrefslogtreecommitdiffhomepage
path: root/packages/kernel/src/runtime
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-06-06 23:18:13 +0900
committerAdam Malczewski <[email protected]>2026-06-06 23:18:13 +0900
commit395d7565b46416e9914db099b9a4c226f4c95648 (patch)
tree8b3c58bfb0db9bbe0025f6d2029885fa2bee92d0 /packages/kernel/src/runtime
parent3e95b26ee2928c40db581bed4c138d3fa842b753 (diff)
downloaddispatch-395d7565b46416e9914db099b9a4c226f4c95648.tar.gz
dispatch-395d7565b46416e9914db099b9a4c226f4c95648.zip
refactor(transport-http,host-bin): transport-http owns its Bun.serve (fix log scope)
Make transport-http a full-fidelity extension that runs its own Bun.serve inside activate(host) — symmetric with transport-ws. The Hono app is now built with the extension-scoped host, so all HTTP edge logs are correctly attributed extensionId=transport-http instead of the host-bin __host__ scope (verified live in the journal). - transport-http: createTransportHttpExtension() factory; activate builds the app + Bun.serve, reads host.config httpPort (?? 24203); deactivate stops it. - host-bin: drops the HTTP Bun.serve + createServer call; config.ts maps BACKEND_PORT/PORT -> httpPort. host-bin now serves no transport (both transports self-serve); boot log -> 'Dispatch booted'. - +5 bun lifecycle tests wired into test:bun. No contract change (composition wiring). Verified live: HTTP serves on :24203; journal edge logs now scoped transport-http. typecheck clean, 498 vitest + 89 bun, biome clean.
Diffstat (limited to 'packages/kernel/src/runtime')
0 files changed, 0 insertions, 0 deletions