Repository navigation
test(partners): telegram message parsing, chunking and typing contract suite - #1776
Closed
evan188199-tech wants to merge 3 commits into
Closed
evan188199-tech wants to merge 3 commits into
evan188199-tech wants to merge 3 commits into
Conversation
added 3 commits
October 3, 2026 15:37
…t suite Red-first coverage for deeptutor/partners/channels/telegram.py (coverage gap: 418 missing / 30.2%). 28 green tests pin current behavior; 2 red tests encode real defects for a fix card: 1. media-group straggler arriving while _flush_media_group dispatches is buffered but never flushed (message dropped, buffer leaks) 2. typing indicator for an ACL-denied sender runs forever No product code changed. Evidence in evidence/telegram-tests-20261003/.
…ed media-group stragglers - start the typing indicator only for senders passing is_allowed: a denied sender never receives a reply, so the 4-second send_chat_action loop used to run until channel restart - release the media-group task slot before dispatching the buffered album, so a straggler item arriving mid-dispatch schedules its own follow-up flush instead of being silently dropped (and leaking its buffer); the finally guard only drops the task's own registration
- fix ruff F541 (redundant f-string) and apply ruff format - reword red-test docstrings: both defects are fixed on this branch - remove evidence/telegram-tests-20261003/ (internal tracking artifacts, kept on the v1 branch) so the tree matches upstream conventions
Contributor
Author
|
Closing this PR — it was opened by mistake by an automated script and duplicates/supersedes other work. Sorry for the noise. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
myfork/test/telegram-message-parsing-20261003(from multica agent worktree)Test Plan
Auto-generated PR from multica agent worktree