diff options
| author | Adam Malczewski <[email protected]> | 2026-06-05 15:35:21 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-06-05 15:35:21 +0900 |
| commit | 2bf8f9ec9714cbd33a0ecfb7b40dd7a335180fb7 (patch) | |
| tree | c9b0a6203621df44a0687e1aed1d8d4d923c8297 /packages/host-bin/src | |
| parent | 20c6c675a11b887c603be5ff08165cb182c7db65 (diff) | |
| download | dispatch-2bf8f9ec9714cbd33a0ecfb7b40dd7a335180fb7.tar.gz dispatch-2bf8f9ec9714cbd33a0ecfb7b40dd7a335180fb7.zip | |
fix(observability): nest turn/step/prompt/provider.request spans into a tree (+ buildSpanOpen parent propagation)
run-turn: step is now turnSpan.child; prompt/provider.request/tool-call are step's children (stepSpan.log passed into provider.stream). logger.ts: buildSpanOpen now propagates the child's computed parentSpanId onto the span-open record — a latent bug where span.child(...) never set parentSpanId on open (close was already correct).
Verified: tsc -b clean, 279 tests, biome 0/0. Live: span tree turn->step->{prompt,provider.request}; the trace CLI easy-view renders the nesting.
Diffstat (limited to 'packages/host-bin/src')
0 files changed, 0 insertions, 0 deletions
