Commit abb89b6
fix(o11y): drop the string truncation, keep only what the batching needs [SDK-7399]
The 128KB per-event cap and 8KB string truncation were written for an earlier, wrong
theory (that oversized payloads were the cause). Batching is what fixes the timeout, so
the truncation fixed nothing and would have changed behaviour for customers who work
fine today: any command arg or log string over 8KB would have started arriving truncated.
Removed. Nothing under 512KB is altered any more.
Kept: the 512KB batch split, which is required -- a batch of many events can otherwise
cross the ~1MB per-cy.task ceiling measured on a remote terminal (768KB passes, 1MB fails).
Added: a single event larger than 512KB is dropped with a log line instead of being sent.
That is not a fidelity regression -- before batching such an event was dispatched on its
own and would have failed the command anyway, taking the spec with it.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent f64d61d commit abb89b6
1 file changed
Lines changed: 10 additions & 33 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | 35 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | 36 | | |
63 | 37 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
| 38 | + | |
71 | 39 | | |
72 | 40 | | |
73 | 41 | | |
| |||
427 | 395 | | |
428 | 396 | | |
429 | 397 | | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
430 | 407 | | |
431 | 408 | | |
432 | 409 | | |
| |||
0 commit comments