-
Notifications
You must be signed in to change notification settings - Fork 144
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(promotion): wait for open pull request #2451
Conversation
This addresses the immediate issue, by ensuring the Phase of the Promotion is set to Running for as long as a pull request is open. However, I do feel this is the result of us not taking a defensive approach when composing the Phase the Promotion is in, by assuming a Promotion to be Successful (in multiple places) until we are told it isn't. The less error prone approach would be to assume the opposite, but this is arguably much more difficult to achieve. Signed-off-by: Hidde Beydals <[email protected]>
✅ Deploy Preview for docs-kargo-akuity-io ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2451 +/- ##
==========================================
- Coverage 48.44% 48.44% -0.01%
==========================================
Files 246 246
Lines 17724 17726 +2
==========================================
Hits 8587 8587
- Misses 8711 8713 +2
Partials 426 426 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Hidde Beydals <[email protected]> (cherry picked from commit bab3322)
Successfully created backport PR for |
This addresses the immediate issue (fixes #2450), by ensuring the Phase of the Promotion is set to Running for as long as a pull request is open.
However, I do feel this is the result of us not taking a defensive approach when composing the Phase the Promotion is in, by assuming a Promotion to be Successful (in multiple places) until we are told it isn't.
The less error prone approach would be to assume the opposite, but this is arguably much more difficult to achieve.