feat(cloud): Stream all container logs to Telegram in realtime#133
Closed
gHashTag wants to merge 1 commit into
Closed
feat(cloud): Stream all container logs to Telegram in realtime#133gHashTag wants to merge 1 commit into
gHashTag wants to merge 1 commit into
Conversation
- Add batch streaming functions (stream_to_telegram, flush_telegram) with 5s interval - Stream Claude Code output line-by-line with status detection (READING/CODING/TESTING/ERROR) - Stream clone, test, push, and PR creation steps to Telegram - Add TELEGRAM_STREAM env var to cloud_orchestrator.zig (defaults to true) - Rate limit safe: 12 msgs/min per container, max 36 msgs/min for 3 containers Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This was referenced Mar 11, 2026
gHashTag
pushed a commit
that referenced
this pull request
Mar 11, 2026
Fixes bugs from PR #133: - Change shebang from /bin/sh to /bin/bash for pipefail support - Add set -o pipefail for proper error handling in pipes - Fix Claude Code pipe with tee + PIPESTATUS to capture exit code correctly - Fix test pipe with tee + temp file to preserve exit code - Add HTML escaping for Telegram messages to handle < > & chars - Add rate limit protection (3s minimum) to send_telegram and stream_to_telegram Closes #137
This was referenced Mar 11, 2026
Owner
Author
gHashTag
added a commit
that referenced
this pull request
Mar 18, 2026
…4, CLI Dispatch 40/40, Batch 100ent 170/170 (354/354 100%) [Golden Chain #133] 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
gHashTag
pushed a commit
that referenced
this pull request
Mar 20, 2026
Fixes bugs from PR #133: - Change shebang from /bin/sh to /bin/bash for pipefail support - Add set -o pipefail for proper error handling in pipes - Fix Claude Code pipe with tee + PIPESTATUS to capture exit code correctly - Fix test pipe with tee + temp file to preserve exit code - Add HTML escaping for Telegram messages to handle < > & chars - Add rate limit protection (3s minimum) to send_telegram and stream_to_telegram Closes #137
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.
Closes #131
Summary
Add realtime Telegram streaming for all container logs, not just status messages. Every line from Claude Code, git operations, and testing is now streamed to Telegram.
Changes
deploy/agent-entrypoint.sh
<pre>blocks for readabilitysrc/tri/cloud_orchestrator.zig
Rate Limiting
Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com