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(promotion): remove priority queue #2779

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

hiddeco
Copy link
Contributor

@hiddeco hiddeco commented Oct 18, 2024

Follow up to #2762

As the Stage now decides which Promotion is the next candidate, a priority queue is no longer required. Instead, the Promotion reconciler watches Stages for a change that indicates what Promotion should be handled next and queues this object.

Copy link

netlify bot commented Oct 18, 2024

Deploy Preview for docs-kargo-io ready!

Name Link
🔨 Latest commit 468f9cd
🔍 Latest deploy log https://app.netlify.com/sites/docs-kargo-io/deploys/6712846c6fa3ad000812c3f5
😎 Deploy Preview https://deploy-preview-2779--docs-kargo-io.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Signed-off-by: Hidde Beydals <hidde@hhh.computer>
@hiddeco hiddeco force-pushed the remove-priority-queue branch from 70b3652 to 468f9cd Compare October 18, 2024 15:53
Copy link

codecov bot commented Oct 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 48.90%. Comparing base (4459ce2) to head (468f9cd).
Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2779      +/-   ##
==========================================
- Coverage   49.05%   48.90%   -0.16%     
==========================================
  Files         272      270       -2     
  Lines       24196    23893     -303     
==========================================
- Hits        11870    11684     -186     
+ Misses      11690    11581     -109     
+ Partials      636      628       -8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@krancour krancour enabled auto-merge October 18, 2024 22:51
@krancour krancour added this pull request to the merge queue Oct 18, 2024
@krancour krancour added this to the v1.0.0 milestone Oct 18, 2024
@hiddeco hiddeco changed the title refactor(promotion)!: remove priority queue refactor(promotion): remove priority queue Oct 18, 2024
@hiddeco hiddeco removed this pull request from the merge queue due to a manual request Oct 18, 2024
@hiddeco hiddeco added this pull request to the merge queue Oct 18, 2024
Merged via the queue into akuity:main with commit bfb2d64 Oct 18, 2024
17 of 18 checks passed
@hiddeco hiddeco deleted the remove-priority-queue branch October 18, 2024 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants