fix(gateway): harden Telegram outbound delivery against PoolTimeout#2
fix(gateway): harden Telegram outbound delivery against PoolTimeout#2theplatformx wants to merge 10 commits into
Conversation
|
Deployment gate: do not merge or deploy this PR until it passes independent verification. Required before live: clean test run in a fresh environment, staging image build, staging Telegram bot/chat smoke test, forced PoolTimeout recovery test, Docker/gateway health verification, and rollback command confirmed. Local author verification was limited to py_compile; pytest was blocked locally by disk space, and this fork currently reports no GitHub checks/workflows. |
|
Verification update for commit 041d973: Passed:
Still red:
I inspected the failed broad test log after the compatibility fix. The Telegram thread-fallback failures caused by the first PR revision are gone. Remaining broad-suite failures are outside this Telegram change set: Matrix nio mock/spec failures, missing OpenAI credentials in streaming/token tests, logging handler isolation, CLI/provider tests, skill-manager tests, and existing gateway/session/OpenClaw setup failures. Gate decision: do not deploy directly to production from this PR. The next safe step is review/merge only after accepting the unrelated broad-suite baseline, then build a staging/new container and run a real Telegram smoke/soak test before promoting to the live Hermes_Viewport_Bot container. |
Fixes #1
Summary
Verification
Deployment gate
Do not deploy directly to production. Build a staging image and test with a safe Telegram bot/chat first.
Rollback
Notes
This PR intentionally does not patch the live VPS. It follows the GitHub source-of-truth path requested for the Viewport Hermes incident.