()
| 25 | // before NodeSDK installs the global TracerProvider (Next.js 16/Turbopack |
| 26 | // can evaluate modules before instrumentation-node.ts finishes). |
| 27 | const getAsyncRunsTracer = () => trace.getTracer('sim-copilot-async-runs', '1.0.0') |
| 28 | |
| 29 | // Wrap an async DB op in a client-kind span with canonical `db.*` attrs. |
| 30 | // Cancellation is routed through `markSpanForError` so aborts record the |