fix: increase Play Store upload timeout and add retries #40

Merged
guettlibot merged 1 commits from fix/playstore-upload-timeout into main 2026-05-14 07:47:00 +00:00
guettlibot commented 2026-05-14 07:46:41 +00:00 (Migrated from codeberg.org)

The httplib2 default timeout (60 s) was too short for AAB uploads,
causing TimeoutError: The read operation timed out in the
deploy-android-bundle CI step (run 107).

Changes:

  • scripts/deploy_playstore.py: switch from credentials=creds to
    an AuthorizedHttp with timeout=300; add num_retries=3 to all
    .execute() calls so transient server errors also retry automatically.
  • flake.nix: add google-auth-httplib2 and httplib2 to the Nix
    devshell Python packages (required by the new imports).
The `httplib2` default timeout (60 s) was too short for AAB uploads, causing `TimeoutError: The read operation timed out` in the `deploy-android-bundle` CI step (run 107). Changes: - `scripts/deploy_playstore.py`: switch from `credentials=creds` to an `AuthorizedHttp` with `timeout=300`; add `num_retries=3` to all `.execute()` calls so transient server errors also retry automatically. - `flake.nix`: add `google-auth-httplib2` and `httplib2` to the Nix devshell Python packages (required by the new imports).
Sign in to join this conversation.