Repository navigation
Commit 224880a
committed
Fixed: normalize ContextInfo telemetry in stream equivalence test
The run-event equivalence test compared ContextInfo byte/token counts
verbatim. serdes-ai-agent derives them from the serialized request, and
request part timestamps render with variable-width fractional seconds,
so two otherwise identical streams could differ by a few bytes
(258 vs 261) and fail the assert intermittently. Zero the telemetry in
normalized_events; presence and ordering stay asserted.1 parent 6e52f8e commit 224880a
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1567 | 1567 | | |
1568 | 1568 | | |
1569 | 1569 | | |
| 1570 | + | |
| 1571 | + | |
| 1572 | + | |
| 1573 | + | |
| 1574 | + | |
| 1575 | + | |
1570 | 1576 | | |
1571 | 1577 | | |
1572 | 1578 | | |
| |||
1578 | 1584 | | |
1579 | 1585 | | |
1580 | 1586 | | |
| 1587 | + | |
| 1588 | + | |
| 1589 | + | |
| 1590 | + | |
| 1591 | + | |
1581 | 1592 | | |
1582 | 1593 | | |
1583 | 1594 | | |
| |||
0 commit comments