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 ae9bf6b
Browse filesBrowse the repository at this point in the historyBrowse files
fix(server): detach immortal parent spans from idle background work
Parked forkParked roots and the PortDiscovery poll loop inherited the
ambient Effect ParentSpan, pinning short-lived startup spans for the
process lifetime while idle pollTick/secret-get spans piled up under
them (~25-30 MB/h Private, #5410).
Re-root long-lived fibers under a fresh stateless external span via
withDetachedSpan instead of omitting ParentSpan from the context:
provideService keeps the Exclude<R, ParentSpan> return type honest,
so effects that explicitly require a ParentSpan observe the fresh
root instead of dying with Service-not-found. Idle poll ticks exit
before Effect.fn so they create no span, and ServerSecretStore.get
runs untraced.
0 commit comments