The current Atlas repo does not yet bundle undici into the client output, but it already has the same leak shape:
createServerFnmodules are imported by client/query code.- Some of those modules statically import server/runtime exports from
@atlas/context-layer. - The
@atlas/context-layerpublic barrel re-exports server handlers, cache, logging, release notes, and runtime-only modules. - A production portal build shows browser externalization warnings for
node:cryptoand native/server dependencies, proving server-only modules are reachable from the client graph.