Commit ebc3512
committed
fix: improve error trace propagation for telemetry
- post_update_to_api: Attempts 2/3 now send medium_error (16KB truncated
log) instead of short_error (generic description only). This is the
primary fix — when attempt 1 fails (120KB payload too large/timeout),
attempts 2/3 no longer discard all log data.
- _send_abort_telemetry: Increased container fallback from 20 to 200
log lines (capped at 16KB). Added SILENT_LOGFILE as fallback source.
Added exit code explanation header and error_category to payload.
- get_error_text/get_full_log: Added SILENT_LOGFILE as last-resort
fallback when INSTALL_LOG, combined log, and BUILD_LOG are all
empty/missing.1 parent 564a813 commit ebc3512
2 files changed
Lines changed: 57 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
393 | 393 | | |
394 | 394 | | |
395 | 395 | | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
396 | 401 | | |
397 | 402 | | |
398 | 403 | | |
| |||
438 | 443 | | |
439 | 444 | | |
440 | 445 | | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
441 | 453 | | |
442 | 454 | | |
443 | 455 | | |
| |||
876 | 888 | | |
877 | 889 | | |
878 | 890 | | |
879 | | - | |
| 891 | + | |
880 | 892 | | |
881 | 893 | | |
882 | 894 | | |
| |||
896 | 908 | | |
897 | 909 | | |
898 | 910 | | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
899 | 923 | | |
900 | 924 | | |
901 | 925 | | |
| |||
954 | 978 | | |
955 | 979 | | |
956 | 980 | | |
957 | | - | |
| 981 | + | |
958 | 982 | | |
959 | 983 | | |
960 | 984 | | |
| |||
974 | 998 | | |
975 | 999 | | |
976 | 1000 | | |
977 | | - | |
| 1001 | + | |
978 | 1002 | | |
979 | 1003 | | |
980 | 1004 | | |
| |||
997 | 1021 | | |
998 | 1022 | | |
999 | 1023 | | |
1000 | | - | |
| 1024 | + | |
1001 | 1025 | | |
1002 | 1026 | | |
1003 | 1027 | | |
| |||
1009 | 1033 | | |
1010 | 1034 | | |
1011 | 1035 | | |
1012 | | - | |
| 1036 | + | |
1013 | 1037 | | |
1014 | 1038 | | |
1015 | 1039 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
408 | 408 | | |
409 | 409 | | |
410 | 410 | | |
411 | | - | |
| 411 | + | |
| 412 | + | |
412 | 413 | | |
| 414 | + | |
413 | 415 | | |
414 | | - | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
415 | 434 | | |
416 | 435 | | |
417 | 436 | | |
| |||
420 | 439 | | |
421 | 440 | | |
422 | 441 | | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
423 | 448 | | |
424 | 449 | | |
425 | 450 | | |
426 | 451 | | |
| 452 | + | |
427 | 453 | | |
428 | 454 | | |
429 | 455 | | |
| |||
0 commit comments