• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

popstas / telegram-mention-resender / 25902479782
85%

Build:
DEFAULT BRANCH: main
Ran 15 May 2026 05:44AM UTC
Jobs 1
Files 15
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

15 May 2026 05:43AM UTC coverage: 84.522% (-2.6%) from 87.086%
25902479782

push

github

web-flow
feat: add target_webhook delivery for matched messages (#53)

* add plan: target-webhook-support

* feat: extend config schema for target_webhook

Add TargetWebhook dataclass with url and format fields, expose
target_webhook on Instance, parse it in load_instances with
validation (text/json formats only, url required), and document
it in config-example.yml.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* feat: deliver matched messages to target_webhook

Add src/webhook.py with send_webhook helper that POSTs the matched
message to the per-instance target_webhook URL in either text or json
format. Wire the call into src/app.py's forward branch so webhook
delivery runs alongside target_chat/target_entity forwarding without
replacing it. Failures are logged and swallowed; non-2xx responses are
logged as warnings; httpx requests use a 10s timeout.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* feat: add standalone webhook test server script

Add scripts/test_webhook_server.py — a tiny stdlib HTTP listener on port
8002 that logs incoming requests and responds with 200 OK + JSON ack.
Useful for manually verifying target_webhook end-to-end delivery.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* feat: document target_webhook config and webhook helper modules

* feat: verify target_webhook acceptance criteria

Fix pre-existing test_main_flow.py mocks to accept proxy kwarg so the
suite reflects current src/app.py TelegramClient signature. Two
test_folders.py failures remain due to a telethon 1.42.0 API removal
(GetForumTopicsRequest), unrelated to target_webhook work.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* fix(review): address webhook delivery review findings

- Add httpx to requirements.txt and pyproject.toml (was imported but undeclared)
- Move webhook delivery out of Telegram forwarding try/except so a Telegram
  send error no longer silently suppre... (continued)

1043 of 1234 relevant lines covered (84.52%)

0.85 hits per line

Coverage Regressions

Lines Coverage ∆ File
76
76.47
-2.17% telegram_utils.py
11
93.94
0.39% app.py
11
91.2
1.62% stats.py
3
96.63
-1.37% config.py
3
87.72
0.22% generate_evals.py
1
94.57
0.0% prompts.py
Jobs
ID Job ID Ran Files Coverage
1 25902479782.1 15 May 2026 05:44AM UTC 15
84.52
GitHub Action Run
Source Files on build 25902479782
  • Tree
  • List 15
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25902479782
  • 7b291467 on github
  • Prev Build on main (#16725655396)
  • Next Build on main (#25960162294)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc