Skip to content

[build-tools] Wait up to five minutes for Google Play to process an uploaded bundle - #4700

Merged
hSATAC merged 1 commit into
mainfrom
ash/google-play-commit-wait-300s
Oct 20, 2026
Merged

hSATAC merged 1 commit into
mainfrom
ash/google-play-commit-wait-300s

Conversation

@hSATAC

@hSATAC hSATAC commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Why

Android submissions on job runs fail while Google Play is still processing a large uploaded bundle: edits.commit returns HTTP 400 "Some of the Android App Bundle uploads are not completed yet." The retry window added in #4651 is about 62 seconds, which is too short for large bundles: a 288 MB AAB exhausted all six attempts eight times since 2026-10-16 (Sentry TURTLE-V2-WORKER-2PK). The Fastlane-based submission path used a 300 s request timeout.

How

  • Extend the commit retry in GooglePlayUtils.commitEditAsync from six attempts over about a minute to 14 attempts with delays of 2, 4, 8, 16 s, then 32 s, about five minutes in total.
  • Reword the final error to say the bundle was not processed within five minutes.

Test Plan

Updated the exhausted-retries unit test to the new attempt count. Also ran lint, the format check, tsc, and the build-tools Google Play unit suites.

@codecov

codecov Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.30%. Comparing base (53ac936) to head (ee29273).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4700      +/-   ##
==========================================
+ Coverage   75.30%   75.30%   +0.01%     
==========================================
  Files        1053     1053              
  Lines       52170    52170              
  Branches    11356    11356              
==========================================
+ Hits        39281    39282       +1     
+ Misses      11901    11900       -1     
  Partials      988      988              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@hSATAC
hSATAC force-pushed the ash/google-play-commit-wait-300s branch from 94d3371 to 9c38e2f Compare October 20, 2026 09:16
@hSATAC
hSATAC force-pushed the ash/google-play-commit-wait-300s branch from 9c38e2f to ee29273 Compare October 20, 2026 09:18
@hSATAC
hSATAC marked this pull request as ready for review October 20, 2026 09:19
@github-actions

Copy link
Copy Markdown

✅ Thank you for adding a changeset!

@hSATAC
hSATAC merged commit e4bb181 into main Oct 20, 2026
11 checks passed
@hSATAC
hSATAC deleted the ash/google-play-commit-wait-300s branch October 20, 2026 09:30
@linear-code

linear-code Bot commented Oct 20, 2026

Copy link
Copy Markdown

ENG-28391

AndrewSouthpaw added a commit to AndrewSouthpaw/eas-cli that referenced this pull request Oct 22, 2026
…t-dirs

* upstream/main: (128 commits)
  [build-tools] stop logging workflow hook parsing in build logs (expo#4717)
  [build-tools] retry download_build network failures and report their cause (expo#4690)
  [eas-cli][build-tools] Bump Node.js to 22.23.4 (expo#4714)
  [eas-cli] make command descriptions lowercase without trailing periods (expo#4385)
  [build-tools] Add `max_duration_seconds` to sandboxes (expo#4702)
  [eas-cli] Show simulator session errors in simulator:get (expo#4694)
  [eas-cli] Show why a simulator session failed to start (expo#4693)
  [worker] Mask secrets in every field of uploaded log records (expo#4698)
  [eas-build-job][build-tools] Check Android launch inputs before the session starts (expo#4696)
  bump STAGING and PRODUCTION to 25.3.0 in cli-versions.json
  v25.3.0
  [eas-cli] Add --system-image to eas simulator:start (expo#4500)
  [build-tools] Wait up to five minutes for Google Play to process an uploaded bundle (expo#4700)
  [build-tools] Quote Android launch arguments for the device shell (expo#4695)
  [build-tools] Forward network capture through local egress (expo#4598)
  [build-tools] Let serve-sim start the iOS Simulator for Appium (expo#4603)
  [build-tools] Let serve-sim start the iOS Simulator for Argent (expo#4602)
  [build-tools] Upload iOS Simulator session screen recording metadata (expo#4689)
  [build-tools] Reset the session idle timer on serve-sim preview input (expo#4691)
  [eas-cli] Add a checkout prompt experiment to the Free plan build limit error (expo#4633)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants