[go: up one dir, main page]

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

fix(stages): set healthy status for promotions w/o checks #2951

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

hiddeco
Copy link
Contributor
@hiddeco hiddeco commented Nov 18, 2024

Follow up to #2905

Copy link
netlify bot commented Nov 18, 2024

Deploy Preview for docs-kargo-io ready!

Name Link
🔨 Latest commit 653339d
🔍 Latest deploy log https://app.netlify.com/sites/docs-kargo-io/deploys/673b855f833d5d00081ff12b
😎 Deploy Preview https://deploy-preview-2951.docs.kargo.io
📱 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.

Copy link
codecov bot commented Nov 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 50.91%. Comparing base (c09fec4) to head (653339d).
Report is 7 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2951      +/-   ##
==========================================
- Coverage   50.92%   50.91%   -0.01%     
==========================================
  Files         279      279              
  Lines       25180    25175       -5     
==========================================
- Hits        12823    12818       -5     
  Misses      11666    11666              
  Partials      691      691              

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


🚨 Try these New Features:

Signed-off-by: Hidde Beydals <hidde@hhh.computer>
Comment on lines +697 to +703
// If the last Promotion did not succeed, then we cannot perform any health
// checks because they are only available after a successful Promotion.
//
// TODO(hidde): Long term, this should probably be changed to allow to
// continue to run health checks from the last successful Promotion,
// even if the current Promotion did not succeed (e.g. because it was
// aborted).
Copy link
Member

Choose a reason for hiding this comment

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

We discussed offline and agreed that this is the right thing to do in the near-term and longer-term it would be nice to try to run whatever health checks were specified by the last successful promotion. This would likely involve copying health checks over to the Freight reference at the top of the Freight history stack.

This LGTM for now.

@hiddeco
Copy link
Contributor Author
hiddeco commented Nov 18, 2024

Double checking this solves all reported issues before merging.

@hiddeco hiddeco added this pull request to the merge queue Nov 19, 2024
Merged via the queue into akuity:main with commit d407679 Nov 19, 2024
19 checks passed
@hiddeco hiddeco deleted the fix-stage-health-condition branch November 19, 2024 06:44
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.

3 participants