pipe-cd / pipecd

The One CD for All {applications, platforms, operations}
https://pipecd.dev
Apache License 2.0
1.09k stars 153 forks source link

Update FindRollbackStage logic to use pipeline stage rollback value #5313

Closed khanhtc1202 closed 1 week ago

khanhtc1202 commented 1 week ago

What this PR does:

We added rollback to pipelineStage model recently, so I updated the FindRollbackStage logic to depend on that field too

Why we need it:

Which issue(s) this PR fixes:

Fixes #

Does this PR introduce a user-facing change?:

codecov[bot] commented 1 week ago

Codecov Report

Attention: Patch coverage is 12.50000% with 21 lines in your changes missing coverage. Please review.

Project coverage is 25.31%. Comparing base (7676161) to head (242b995). Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
pkg/app/pipedv1/controller/scheduler.go 0.00% 13 Missing :warning:
pkg/app/pipedv1/controller/controller.go 0.00% 8 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #5313 +/- ## ========================================== + Coverage 25.27% 25.31% +0.03% ========================================== Files 444 444 Lines 47503 47476 -27 ========================================== + Hits 12006 12017 +11 + Misses 34555 34517 -38 Partials 942 942 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.