Commit 3982d8d
committed
fix(tracing): clarify interrupted-span message so restarts aren't read as agent failures
Pre-release review (End User + Chaos Gremlin personas) flagged that the
`statusMessage` set on in-flight generation spans during `rehydrateFromFile`
reused internal jargon ("cache eviction before step-finish") and read like a
tool/agent bug. On a postmortem surface, a span reconstructed after a worker
restart must not be mistaken for a real agent failure.
Reword to plain language that names the cause and explicitly disambiguates it
from an agent failure. The span keeps `status: "error"` (the boundary stays
visible in the waterfall) and the message still contains "interrupted", so the
rehydrate behavioral test contract is unchanged.
Edit is inside the existing `altimate_change` block (tracing.ts:499-600).1 parent 89699f6 commit 3982d8d
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
591 | 591 | | |
592 | 592 | | |
593 | 593 | | |
594 | | - | |
| 594 | + | |
595 | 595 | | |
596 | 596 | | |
597 | 597 | | |
| |||
0 commit comments