Skip to content

Removing Gold checks on non-master branches - #800

Merged
Piinks merged 1 commit into
flutter:masterfrom
Piinks:goldMasterOnly
Jun 5, 2020
Merged

Piinks merged 1 commit into
flutter:masterfrom
Piinks:goldMasterOnly

Conversation

@Piinks

@Piinks Piinks commented Jun 5, 2020 •

Copy link
Copy Markdown
Contributor

Related issues: flutter/flutter#58627 flutter/flutter#58814

This removes the gold check from branches that are not staged to land on master (i.e. release branches) We've been hitting Github API rate limits, so this should help cut back on those requests.

@christopherfujino christopherfujino left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM! thanks @Piinks

@Piinks
Piinks merged commit aa4276b into flutter:master Jun 5, 2020

@keyonghan keyonghan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM with nit.

if ((lastUpdate.status == GithubGoldStatusUpdate.statusCompleted &&
lastUpdate.head == pr.head.sha) ||
(pr.base.ref != 'master')) {
log.debug('Completed status already reported for this commit.');

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nit: you want to update your below doc here too?

@Piinks Piinks Jun 5, 2020 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Whoops! Looks like I just missed this.
I'll send a quick nit follow up. 😅

@Piinks Piinks mentioned this pull request Jun 5, 2020
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