fix(agent): bash Telegram edit-in-place + circuit breaker backoff#328
Merged
fix(agent): bash Telegram edit-in-place + circuit breaker backoff#328
Conversation
…entrypoint Three changes to deploy/agent-entrypoint.sh: 1. Telegram zero-spam: removed send_telegram() from report_status(), all updates now go through update_telegram_dashboard() (edit-in-place). Card shows timeline with timestamps + progress bar. 2. Circuit breaker exponential backoff: 30s → 60s → 120s (was 5s flat). On permanent failure: exit 0 (prevents Railway respawn loop). Comments on issue with CIRCUIT BREAKER TRIPPED. 3. Disabled TELEGRAM_STREAM (was sending new messages every 5s). This is the quick-deploy fix. Full Zig entrypoint (PR #326) activates on next Docker image rebuild. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Replace 7 send_telegram calls with update_telegram_dashboard (edit-in-place) - Dockerfile: bash entrypoint (Zig entrypoint pending #325) + gh/jq deps - Each agent = 1 Telegram message (edited), not 8 new messages Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
gHashTag
added a commit
that referenced
this pull request
Mar 18, 2026
fix(agent): bash Telegram edit-in-place + circuit breaker backoff
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
editMessageText, no newsendMessagecalls[####....] 4/8TELEGRAM_STREAM(was sending new messages every 5s)Why now
Zig entrypoint (PR #326) is merged but needs Docker rebuild. This patches the bash entrypoint that agents are currently running. Immediate effect on next agent spawn.
Test plan
🤖 Generated with Claude Code