Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve prebuild updatables #10648

Merged
merged 1 commit into from
Jun 15, 2022
Merged

Resolve prebuild updatables #10648

merged 1 commit into from
Jun 15, 2022

Conversation

AlexTugarev
Copy link
Member

@AlexTugarev AlexTugarev commented Jun 14, 2022

This PR ensures we resolve prebuild updatables even if there is an issue to create a commit status for.

Also to ensure we're not overloading this introduces proper limits to the periodic updater.

NONE

@AlexTugarev AlexTugarev changed the title Resolve prebuild updateables Resolve prebuild updatables Jun 15, 2022
Also, mark updatable as resolved if commit is gone.
@AlexTugarev AlexTugarev marked this pull request as ready for review June 15, 2022 07:27
@AlexTugarev AlexTugarev requested a review from a team June 15, 2022 07:27
@github-actions github-actions bot added the team: webapp Issue belongs to the WebApp team label Jun 15, 2022
@AlexTugarev
Copy link
Member Author

@geropl, I've added a test for getUnresolvedUpdatables as suggested.

}
log.info("Could not create commit status.", { updatable, errorMessage: err?.message });
// (AT) this might happen e.g. when a commit is removed from remote repository (force push).
// Note, we're ignoring those errors for tracing.
Copy link
Member

Choose a reason for hiding this comment

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

👍

Copy link
Member

@geropl geropl left a comment

Choose a reason for hiding this comment

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

Tests work, and changes LGTM! 👍

@werft-gitpod-dev-com
Copy link

started the job as gitpod-build-at-prebuild-updateables.2 because the annotations in the pull request description changed
(with .werft/ from main)

@roboquat roboquat merged commit 9f247ca into main Jun 15, 2022
@roboquat roboquat deleted the at/prebuild-updateables branch June 15, 2022 10:01
@roboquat roboquat added deployed: webapp Meta team change is running in production deployed Change is completely running in production labels Jun 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed: webapp Meta team change is running in production deployed Change is completely running in production release-note size/L team: webapp Issue belongs to the WebApp team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants