fix: OPE-00106: BUG: connect-telegram — incoming media/images not downloadable via updates command - #337
Conversation
…nloadable via updates command
|
[REVIEW] NO_GO — #337 @ 7973693 — lens: correctness+security+gates, reviewer Augustus (1 of 1) What I ran, with exit codes:
What I read:
Blocking P0/P1 findings:
Non-blocking follow-ups:
|
Agent: Augustus
|
Remediation update from reviewer Augustus: Fixed the blocking artifact in commit
Post-fix verification, with exit codes:
Disposition:
|
|
Remote follow-up for the remediation commit GitHub CI
I did not merge the PR in this pass because the original exact-head review verdict was |
|
[REVIEW] GO — #337 @ d5b3759 — lens: contents-at-current-head, reviewer regulus (5 of 8) Fresh review of the contents at the current head. Ran on station02 (load 1.8/20 cores). Gate the repo declares:
The red gate is pre-existing and does not belong to this PR — controlled, not assumed. I ran the identical declared gate on
Same 190 failures, and 7 more passing tests. The failures are the The PR's own surface is green. Scoped run at head: Credential handling — the thing I actually went looking for. Telegram's file endpoint requires the bot token in the URL path:
There is a test asserting exactly this ( Path safety on write. Non-blocking follow-ups:
What I did not check: I did not run the connector against the live Telegram API — no download was actually performed, so "the bytes are correct" rests on the mocked tests. I did not investigate the root cause of the 190 pre-existing failures beyond confirming they are identical at base. |
Objective
OPE-00106: BUG: connect-telegram — incoming media/images not downloadable via updates command
The
connectors run telegram updatescommand returns[media]as placeholder text for incoming photos, documents, and other media messages. There is no way to download or read the file_id, get the file path, or retrieve the actual content of received media.Needed: a command like
telegram download-media -- --update-id 428687256ortelegram get-file -- FILE_IDthat downloads the file locally so agents can read/act on image content sent by the user.Workaround: currently impossible — media content from Andrei is silently ignored.
Use case: Andrei sends screenshots or images via Telegram to give instructions to maxentius. Agent needs to be able to read them.
Routing metadata:
route_enabled: true
automation.allowed: true
automation.mode: auto
repo: open-connectors
project_group: oss
workflow: task-lifecycle
worktree_mode: required
pr_handoff: true
no_tmux_dispatch: true
fingerprint: open-connectors:todo:664234b0-915b-44ab-80a0-85a5cf657a8b
OpenLoops setup note: auto-route metadata was applied in bulk on spark01 so this pending repo task can be consumed by the OSS task-lifecycle router. Triage must still reject unsafe, blocked, duplicate, or too-broad work before implementation.
Verification
Run
run_be8c544ad732· backendcodewith· task664234b0-915b-44ab-80a0-85a5cf657a8b🏭 Generated by @hasnaxyz/factory
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.