diff --git a/scripts/release.py b/scripts/release.py index c8415636c27..28b3abd7c0a 100755 --- a/scripts/release.py +++ b/scripts/release.py @@ -169,6 +169,7 @@ AUTHOR_MAP = { "erhanyasarx@gmail.com": "erhnysr", # PR #25198 salvage (tool-progress flood-control) "cryptobyz.airdrop@gmail.com": "CryptoByz", # PR #25630 salvage (polling conflict Stage 1+2) "fabioxxx@gmail.com": "fabiosiqueira", # PR #27212 salvage (bg-process notif anchor) + "lordfalcon.exe@gmail.com": "falconexe", # PR #24511 salvage (sticky-IP reset) "androidhtml@yandex.com": "hllqkb", "25840394+Bongulielmi@users.noreply.github.com": "Bongulielmi", "jonathan.troyer@overmatch.com": "JTroyerOvermatch", diff --git a/tests/gateway/test_telegram_network.py b/tests/gateway/test_telegram_network.py index f464c337fd9..fe50fb8c57e 100644 --- a/tests/gateway/test_telegram_network.py +++ b/tests/gateway/test_telegram_network.py @@ -252,8 +252,10 @@ class TestFallbackTransport: resp = await transport.handle_async_request(_telegram_request()) assert resp.status_code == 200 - # Tried sticky (.220) first, then fell through to .221 - assert [c["url_host"] for c in calls] == ["149.154.167.220", "149.154.167.221"] + # After #24511: when sticky fails the transport also resets and + # re-tries the primary DNS path before falling through to other IPs. + # Path: sticky (.220) → primary (api.telegram.org) → .221 + assert [c["url_host"] for c in calls] == ["149.154.167.220", "api.telegram.org", "149.154.167.221"] assert transport._sticky_ip == "149.154.167.221"