-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Resolve prebuild updatables #10648
Conversation
components/server/ee/src/prebuilds/prebuilt-status-maintainer.ts
Outdated
Show resolved
Hide resolved
Also, mark updatable as resolved if commit is gone.
918cc54
to
301aaab
Compare
@geropl, I've added a test for |
} | ||
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this 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! 👍
started the job as gitpod-build-at-prebuild-updateables.2 because the annotations in the pull request description changed |
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.