fix(gateway): exclude restart requester from drain#21036
Conversation
|
Reviewed the approach. The fix is minimal and correct:
One thing to verify: is |
Co-Authored-By: Paperclip <noreply@paperclip.ing>
|
Status: pushed follow-up repair for the PR-caused Telegram restart e2e failure.
|
|
Status update for This PR still addresses Current verification / classification:
So the Telegram e2e regression is repaired, but this PR still needs a small follow-up test update for the remaining restart-related unit assertions before it can be treated as baseline/external-only red. |
Summary
/restartfrom the restart drain count/snapshot so a self-restart does not wait on its own in-flight agent until the drain timeout.Verification
scripts/run_tests.sh tests/gateway/test_gateway_shutdown.py tests/gateway/test_restart_redelivery_dedup.py tests/gateway/test_session_race_guard.py-> 37 passedpython -m py_compile gateway/run.py tests/gateway/test_gateway_shutdown.py tests/gateway/restart_test_helpers.pygit diff --checkOverlap check
Searched current PRs for #20694/restart requester drain overlap. Existing restart PRs are adjacent, but no open PR covers excluding the requester session from the drain.