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

buildcontrol: avoid spurious changes to the 'waiting' state on disabled resources #5516

Merged
merged 1 commit into from
Feb 17, 2022

Conversation

nicks
Copy link
Member

@nicks nicks commented Feb 17, 2022

Hello @landism, @milas,

Please review the following commits I made in branch nicks/holds:

38001b7 (2022-02-16 19:57:15 -0500)
buildcontrol: avoid spurious changes to the 'waiting' state on disabled resources
Before this change, the "waiting" state of disabled resources would be
continuously in flux. This is expensive and doesn't even make sense from a data
model perspective - a disabled resource isn't waiting or being held.

Code review reminders, by giving a LGTM you attest that:

  • Commits are adequately tested
  • Code is easy to understand and conforms to style guides
  • Incomplete code is marked with TODOs
  • Code is suitably instrumented with logging and metrics

…ed resources

Before this change, the "waiting" state of disabled resources would be
continuously in flux. This is expensive and doesn't even make sense from a data
model perspective - a disabled resource isn't waiting or being held.
@nicks nicks merged commit 9c64277 into master Feb 17, 2022
@nicks nicks deleted the nicks/holds branch February 17, 2022 17:05
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.

2 participants