fix(depot): add ltx decode diagnostics#4953
Conversation
Code Review: fix(depot): add ltx decode diagnosticsOverview This PR improves error diagnostics when LTX blob decoding fails by including the source key (hot path only), blob length, and hex dumps of the first/last 64 bytes in the error context. It is a small, focused diagnostic improvement with no behavior changes. Code Quality
Potential IssuesHead/tail overlap on short blobs: When Asymmetric diagnostics: The hot-path ( Minor Style
AssessmentThe change is correct and valuable for debugging LTX decode failures in production. The only substantive concern is the duplicated head/tail hex output for blobs shorter than 64 bytes. Everything else is a minor style note. Good to merge once the overlap case is handled or explicitly accepted as-is. |
4f8735e to
ee08c9b
Compare
e30eccb to
bed338f
Compare

Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context.
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Checklist: