Skip to content

feat(cloud): Stream all container logs to Telegram in realtime#142

Merged
gHashTag merged 1 commit into
mainfrom
feat/issue-131
Mar 11, 2026
Merged

feat(cloud): Stream all container logs to Telegram in realtime#142
gHashTag merged 1 commit into
mainfrom
feat/issue-131

Conversation

@gHashTag
Copy link
Copy Markdown
Owner

Closes #131

Changes

  • Added Telegram streaming functions with batch buffering (5s interval)
  • Replaced Claude Code launch with streaming pipe for all output
  • Streamed self-review steps (format check, generated files, diff size)
  • Streamed push and PR creation steps
  • Added TELEGRAM_STREAM=true env var to cloud_orchestrator.zig

Rate limiting

Telegram limits private chats to 20 msgs/min. With batch every 5s, max is 12 msgs/min per container. 3 concurrent containers = 36 msgs/min — safe.

Verification

After deploy, every agent run should produce Telegram messages every ~5 seconds.

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

- Add Telegram streaming functions with batch buffering (5s interval)
- Replace Claude Code launch with streaming pipe for all output
- Stream self-review steps (format check, generated files, diff size)
- Stream push and PR creation steps
- Add TELEGRAM_STREAM=true env var to cloud_orchestrator

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@gHashTag gHashTag merged commit f456a0c into main Mar 11, 2026
5 of 6 checks passed
gHashTag added a commit that referenced this pull request Mar 18, 2026
…ic Demo API 100/100, Community Testing 60/60, Release Validation 50/50 (210 queries 100%) [Golden Chain #142]

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
gHashTag added a commit that referenced this pull request Mar 18, 2026
feat(cloud): Stream all container logs to Telegram in realtime
@gHashTag gHashTag deleted the feat/issue-131 branch April 3, 2026 10:58
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.

feat(cloud): Stream all container logs to Telegram in realtime

1 participant