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

refactor: queue processing and build conditions #274

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

shreddedbacon
Copy link
Member

Checklist

  • Affected Issues have been mentioned in the Closing issues section
  • Documentation has been written/updated
  • PR title is ready for changelog and subsystem label(s) applied

Modifies the queue processor to only run when a build is created, cancelled, failed, or completed. Previously it would run on any update which could result in excessive attempts to try and reconcile builds during high activity periods.

Additionally, updates the CR for cancellations. Also the BuildStep status condition remains, but all other buildsteps will also be their own condition now to retain the full build step transitions of a build in the CR

@shreddedbacon shreddedbacon marked this pull request as ready for review December 17, 2024 03:02
@shreddedbacon shreddedbacon requested a review from bomoko December 18, 2024 00:01
@bomoko
Copy link
Contributor

bomoko commented Dec 18, 2024

The core logic for reducing the total number of calls makes sense.
All other changes look good and useful.

@shreddedbacon shreddedbacon merged commit e7c023d into main Dec 18, 2024
10 checks passed
@shreddedbacon shreddedbacon deleted the queue-state-tweaks branch December 18, 2024 01:33
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