A run-time `sandbox.exec` span attached to a dead startup step. Two bridge startup steps start long-lived work inside their measured step body: a poll timer, socket handlers, and a callback-bridge worker loop. Node snapshots the active-step store on each async resource at creation time, so this work kept the ended step store. Each later run-time exec then read that store and opened its span under the ended step, and it copied a wrong `criticalPath: false` flag. Add an exported `runWithoutActiveStep` helper in startup-timing and wrap the long-lived poll timer, the socket handlers, and the callback-bridge worker loop of both bridge lanes. Each continuation now reads an empty store, so each run-time exec opens an unparented span with no stale `criticalPath` flag. Control flow is unchanged and the change adds no new dependency. Co-authored-by: Paperclip <noreply@paperclip.ing> |
||
|---|---|---|
| .. | ||
| scripts | ||
| src | ||
| CHANGELOG.md | ||
| package.json | ||
| tsconfig.json | ||
| vitest.config.ts | ||