Skip to content

fix: poll for provenance before deploying#4987

Merged
jtmcdole merged 3 commits into
mainfrom
deploy_looks_for_provenance
Mar 17, 2026
Merged

fix: poll for provenance before deploying#4987
jtmcdole merged 3 commits into
mainfrom
deploy_looks_for_provenance

Conversation

@jtmcdole
Copy link
Copy Markdown
Member

This adds a delay of up to 2 minutes for the docker image to be ready.

fixes: flutter/flutter#183787

This adds a delay of up to 2 minutes for the docker image to be ready.

fixes: flutter/flutter#183787
@github-actions
Copy link
Copy Markdown
Contributor

🤖 Hi @jtmcdole, I've received your request, and I'm working on it now! You can track my progress in the logs for more details.

@jtmcdole jtmcdole requested a review from ievdokdm March 17, 2026 16:58
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

## 📋 Review Summary

This Pull Request successfully introduces a polling mechanism to verify the availability of build provenance before deploying the Docker images. The logic is sound, utilizing a sensible retry and timeout approach to handle potential delays in provenance indexing.

🔍 General Feedback

  • The polling implementation effectively ensures that subsequent deployment steps won't fail due to missing provenance data.
  • The 2-minute timeout period with 10-second intervals is well-balanced for this type of operation.
  • Please address the minor typographical errors in the comments to maintain clarity.

Comment thread app_dart/cloudbuild_app_dart_deploy.yaml Outdated
Comment thread auto_submit/cloudbuild_auto_submit_deploy.yaml Outdated
jtmcdole and others added 2 commits March 17, 2026 10:22
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@jtmcdole jtmcdole added the CICD Run CI/CD label Mar 17, 2026
@jtmcdole jtmcdole merged commit e48778e into main Mar 17, 2026
25 checks passed
@jtmcdole jtmcdole deleted the deploy_looks_for_provenance branch April 16, 2026 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CICD Run CI/CD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cocoon app_dart and auto_submit have flaky deploy

2 participants