Skip to content

Fail the embedded media test on a truncated entry, not a short ID - #2568

Merged
abrignoni merged 1 commit into
mainfrom
fix/telegram-unreadable-media-fixture
Oct 24, 2026
Merged

abrignoni merged 1 commit into
mainfrom
fix/telegram-unreadable-media-fixture

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

The embedded media test now uses a truncated entry instead of a 1-byte ID to make the decode fail.

🤖 Generated with Claude Code

The test made an embedded media entry unreadable with a 1-byte ID. Once short
IDs decode to an unknown ID (#2564) that entry reads fine and the test fails
for the wrong reason. A media entry that ends inside a field's length prefix
fails in the reader itself, whatever the ID handling does.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@abrignoni
abrignoni merged commit 8191a05 into main Oct 24, 2026
24 checks passed
@abrignoni
abrignoni deleted the fix/telegram-unreadable-media-fixture branch October 24, 2026 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant