zapret-kvn/scripts
Repository files (latest commit first)
Filename Latest commit message Latest commit date
loop-uh 76d434f54b fix: tolerate intermittent Telegram in the release auto-publish step
MTProto egress is intermittent (DPI flaps), not blocked: the publisher client
can read-time-out while the bot finishes the upload in a later good window, so a
client timeout is not a delivery failure. The runner previously wrapped the
publisher call in a hard 1800s timeout and failed the whole release the moment
it fired — even though the bot then delivered (this is what "failed" v0.6.6's
TG step while the post actually went out).

publish_telegram now:
- runs the publisher with ZAPRET_PUBLISH_TIMEOUT (default 7200s), matching the
  client's own read timeout so the client normally returns on its own;
- on a client TimeoutExpired, polls telegram_has_version for up to
  ZAPRET_PUBLISH_POLL (default 1800s) before declaring failure, so a delivery
  that lands after the client gave up is recognized.

Runner-side counterpart to the client-side timeout raise done in the ZapretGPT
publisher. Covered by PublishTelegramTimeoutTests.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HAjvZYzPW2yTtToKJXGdbS
2026-09-14 18:02:51 +03:00
..
build_core_bundle.ps1 fix: shorten Windows core build paths for Go subprocesses 2026-09-06 02:19:16 +03:00
build_singbox_front.py fix: preserve interactive server table and bound DNS fallback readiness 2026-09-06 02:07:48 +03:00
check_core_release_freeze.py feat: use official Amnezia transport and organize runtime modules 2026-09-06 00:14:08 +03:00
core-lock.windows-x64.json release: refresh Windows routing-data core pin to c7f3f7b6 2026-09-14 12:36:28 +03:00
core_bundle_fingerprint.py feat: use official Amnezia transport and organize runtime modules 2026-09-06 00:14:08 +03:00
geoip-lock.json feat: use official Amnezia transport and organize runtime modules 2026-09-06 00:14:08 +03:00
install_core_bundle.ps1 sing-box extended 2026-07-11 21:01:15 +03:00
prepare_core_release.py feat: use official Amnezia transport and organize runtime modules 2026-09-06 00:14:08 +03:00
prepare_geoip.py feat: use official Amnezia transport and organize runtime modules 2026-09-06 00:14:08 +03:00
prepare_sing_udp_patch.py feat: use official Amnezia transport and organize runtime modules 2026-09-06 00:14:08 +03:00
release_windows.py fix: tolerate intermittent Telegram in the release auto-publish step 2026-09-14 18:02:51 +03:00
release_windows_gate.ps1 feat: use official Amnezia transport and organize runtime modules 2026-09-06 00:14:08 +03:00
resolve_core_versions.py feat: use official Amnezia transport and organize runtime modules 2026-09-06 00:14:08 +03:00
verify_core_bundle.ps1 feat: use official Amnezia transport and organize runtime modules 2026-09-06 00:14:08 +03:00
verify_hysteria_windows_runtime.py feat: use official Amnezia transport and organize runtime modules 2026-09-06 00:14:08 +03:00