feat(yearn): internal maintenance chat for small flows and lender-borrower alerts - #369
Merged
Merged
Conversation
… 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
marked this pull request as ready for review
September 21, 2026 10:33
…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>
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
yearn_maintanace→TELEGRAM_CHAT_ID_YEARN_MAINTANACE(default bot, standalone chat). Replacessmall_deposits/TELEGRAM_CHAT_ID_SMALL_DEPOSITS.alert_small_parent_flows.pynow routes to the maintanace chat (already stored asyearn-internal).lender_borrower.pywarnings and monitor errors move from the curation chat to the maintanace chat and are now stored asyearn-internalinstead ofyearn, so they no longer appear on the public Yearn page.yearnchat when the maintanace chat id is unset.protocols/yearn/README.md; updated.env.example,monitoring.yaml.check_indexer_freshness.pyalerts are now stored asyearn-internal(Telegram routing unchanged: Envio chat).check_timelock_delay.pynow alerts the publicYEARN_TIMELOCKtopic (stored asyearn) and mirrors to the internal chat (stored asYEARN_TIMELOCK_INTERNAL), same as timelock event alerts. Previously internal-only.anyio4.12.1 → 4.14.2 inuv.lockto fix the failinguv auditCI job (GHSA-5p39-cfhj-2xmp, GHSA-82r6-8w77-94w6).Deploy
TELEGRAM_CHAT_ID_YEARN_MAINTANACEon the box and add the default bot to the group.TELEGRAM_CHAT_ID_SMALL_DEPOSITSis 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-internaltag)🤖 Generated with Claude Code