Skip to content

fix(unibtc): drop underscore from alert label that broke Telegram Markdown - #374

Draft
spalen0 wants to merge 1 commit into
mainfrom
unibtc-markdown-fix
Draft

spalen0 wants to merge 1 commit into
mainfrom
unibtc-markdown-fix

Conversation

@spalen0

@spalen0 spalen0 commented Sep 23, 2026

Copy link
Copy Markdown
Collaborator

Follow-up to #373.

The feeder-gap and PoR-coverage alerts contained API total_supply:. A bare _ is invalid Telegram Markdown V1, so Telegram rejected the 2026-09-23 08:05 uniBTC supply feeder wrong alert. It was resent as plain text, which is why literal * showed up (log: Markdown parse error from Telegram; retrying as plain text for unibtc).

  • The label now reads API total supply:.
  • Added a regression test that renders both alerts and asserts there's no bare _ outside the link. I confirmed the test fails with the old label.

Testing: uv run pytest passes (1345), and ruff check is clean.

🤖 Generated with Claude Code

…kdown

'API total_supply:' in the feeder-gap and PoR-coverage alerts is invalid
Markdown V1, so Telegram rejected it and the message was resent as plain
text (literal asterisks), as seen on the 2026-09-23 08:05 feeder alert.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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