Skip to content

Conversation

@godofredoc
Copy link
Contributor

@godofredoc godofredoc commented Nov 3, 2020

Sometimes the buildbucket requests are raising exceptions and github
status stays on pending forever.

Bug: flutter/flutter#69589

Sometimes the buildbucket requests are raising exceptions and github
status stays on pending forever.

Bug: flutter/flutter#69547
Copy link
Contributor

@CaseyHillers CaseyHillers left a comment

Choose a reason for hiding this comment

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

LGTM

() async {
await buildBucketClient.batch(BatchRequest(requests: requests));
},
retryIf: (Exception e) => e is BuildBucketException,
Copy link
Contributor

Choose a reason for hiding this comment

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

This will only do retries with in a 2 second span. Should we modify delayFactor to be longer? Like 1s, 10s, 30s?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added a 2 sec delayFactor.

Copy link
Contributor

@keyonghan keyonghan left a comment

Choose a reason for hiding this comment

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

LGTM

@godofredoc godofredoc merged commit 0598869 into flutter:master Nov 3, 2020
@godofredoc godofredoc deleted the retry_on_failure branch November 3, 2020 22:26
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.

3 participants