Skip to content

feat(yearn): internal maintenance chat for small flows and lender-borrower alerts - #369

Merged
spalen0 merged 5 commits into
mainfrom
feat/yearn-maintanace-chat
Sep 21, 2026
Merged

spalen0 merged 5 commits into
mainfrom
feat/yearn-maintanace-chat

Conversation

@spalen0

@spalen0 spalen0 commented Sep 21, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • New channel yearn_maintanaceTELEGRAM_CHAT_ID_YEARN_MAINTANACE (default bot, standalone chat). Replaces small_deposits / TELEGRAM_CHAT_ID_SMALL_DEPOSITS.
  • alert_small_parent_flows.py now routes to the maintanace chat (already stored as yearn-internal).
  • lender_borrower.py warnings and monitor errors move from the curation chat to the maintanace chat and are now stored as yearn-internal instead of yearn, so they no longer appear on the public Yearn page.
  • Both fall back to the yearn chat when the maintanace chat id is unset.
  • Added an alert routing table to protocols/yearn/README.md; updated .env.example, monitoring.yaml.
  • check_indexer_freshness.py alerts are now stored as yearn-internal (Telegram routing unchanged: Envio chat).
  • check_timelock_delay.py now alerts the public YEARN_TIMELOCK topic (stored as yearn) and mirrors to the internal chat (stored as YEARN_TIMELOCK_INTERNAL), same as timelock event alerts. Previously internal-only.
  • Bump anyio 4.12.1 → 4.14.2 in uv.lock to fix the failing uv audit CI job (GHSA-5p39-cfhj-2xmp, GHSA-82r6-8w77-94w6).

Deploy

  • Set TELEGRAM_CHAT_ID_YEARN_MAINTANACE on the box and add the default bot to the group.
  • TELEGRAM_CHAT_ID_SMALL_DEPOSITS is no longer read and can be removed.

Test plan

  • uv run ruff format . / uv run ruff check .
  • uv run pytest tests/, including a new lender-borrower routing test (maintanace chat + yearn fallback, yearn-internal tag)

🤖 Generated with Claude Code

spalen0 and others added 3 commits September 21, 2026 12:23
… maintanace chat

Replace the small_deposits channel with yearn_maintanace
(TELEGRAM_CHAT_ID_YEARN_MAINTANACE). Lender-borrower alerts move from the
curation chat to it and are stored under yearn-internal so they stay off the
public Yearn page. Add an alert routing table to the Yearn README.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…-8w77-94w6

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@spalen0
spalen0 marked this pull request as ready for review September 21, 2026 10:33
spalen0 and others added 2 commits September 21, 2026 12:35
…mirror

Store the public copy as yearn and the mirror as YEARN_TIMELOCK_INTERNAL,
matching the timelock event alerts.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@spalen0 spalen0 changed the title feat(yearn): internal maintanace chat for small flows and lender-borrower alerts feat(yearn): internal maintenance chat for small flows and lender-borrower alerts Sep 21, 2026
@spalen0
spalen0 merged commit 88cedbe into main Sep 21, 2026
3 checks passed
@spalen0
spalen0 deleted the feat/yearn-maintanace-chat branch September 21, 2026 11:02
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