_Kerman
35f3abf1fa
fix(agent-loop): copy the cancel cause before logging turn/end
...
Node's fetch assigns an enumerable `stack` string onto the abort reason
object it receives, and the loop logged that same object into `turn/end`.
The undici trace became durable session data under a field no reader
declares. A transport adding a property JSON discards instead made
`Session.append` reject the ending, leaving a turn with no close.
`abortedCancelCause()` narrows the untyped `AbortSignal.reason` once and
copies the declared fields, replacing the three `as AgentCancelCause`
assertions at the two read sites and the log write.
2026-09-21 11:45:03 +08:00
..
2026-09-20 17:00:17 +08:00
2026-09-21 00:04:06 +08:00
2026-09-21 00:04:06 +08:00
2026-09-11 23:15:26 +08:00
2026-09-20 15:09:37 +08:00
2026-09-21 11:45:03 +08:00
2026-09-20 18:20:24 +08:00
2026-09-07 11:09:40 +08:00
2026-09-07 11:09:40 +08:00
2026-09-07 11:09:40 +08:00
2026-09-17 16:23:18 +08:00
2026-09-20 17:53:18 +08:00
2026-09-20 17:53:18 +08:00
2026-09-20 17:53:18 +08:00
2026-09-21 11:45:03 +08:00
2026-09-21 11:45:03 +08:00
2026-09-21 11:45:03 +08:00
2026-09-17 15:33:25 +08:00
2026-09-17 15:33:25 +08:00
2026-09-17 15:33:25 +08:00
2026-09-20 20:44:25 +08:00
2026-09-20 20:44:25 +08:00
2026-09-20 20:44:25 +08:00
2026-09-20 14:37:19 +08:00
2026-09-20 14:37:19 +08:00
2026-09-20 14:37:19 +08:00
2026-09-12 17:06:38 +08:00
2026-09-20 15:50:41 +08:00
2026-09-20 15:50:41 +08:00
2026-09-20 15:50:41 +08:00
2026-09-20 17:53:17 +08:00
2026-09-20 17:53:17 +08:00
2026-09-20 17:53:17 +08:00
2026-09-09 17:14:53 +08:00
2026-09-09 17:14:53 +08:00
2026-09-09 17:14:53 +08:00
2026-09-20 17:53:18 +08:00
2026-09-20 17:53:18 +08:00
2026-09-20 17:53:18 +08:00
2026-09-20 15:09:37 +08:00
2026-09-20 15:09:37 +08:00
2026-09-20 15:09:37 +08:00
2026-09-20 15:09:37 +08:00
2026-09-09 18:34:11 +08:00
2026-09-09 18:34:11 +08:00
2026-09-09 18:34:11 +08:00
2026-09-19 15:43:09 +08:00
2026-09-19 15:43:09 +08:00
2026-09-19 15:43:09 +08:00
2026-09-12 15:03:04 +08:00
2026-09-12 15:03:04 +08:00
2026-09-12 15:03:04 +08:00
2026-09-20 14:50:54 +08:00
2026-09-20 14:50:54 +08:00
2026-09-20 14:50:54 +08:00
2026-09-06 14:53:16 +08:00
2026-09-06 14:53:16 +08:00
2026-09-06 14:53:16 +08:00
2026-09-18 04:50:47 +00:00
2026-09-18 04:50:47 +00:00
2026-09-18 04:50:47 +00:00