Closed ffjlabo closed 1 month ago
Attention: Patch coverage is 0%
with 3 lines
in your changes missing coverage. Please review.
Project coverage is 22.83%. Comparing base (
5d3e17d
) to head (f87754a
). Report is 1 commits behind head on master.
Files with missing lines | Patch % | Lines |
---|---|---|
pkg/app/piped/deploysource/deploysource.go | 0.00% | 2 Missing :warning: |
pkg/app/pipedv1/deploysource/deploysource.go | 0.00% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
What this PR does / why we need it:
This modification is necessary to avoid an error when executing a cancellation while executing deploySourceProvider.Get in another stage.
I encountered such a situation when canceling the deployment via WebUI during the SCRIPT_RUN stage execution. I reproduced the behavior when checking the behavior for the PR https://github.com/pipe-cd/pipecd/pull/5215 like this↓
Which issue(s) this PR fixes:
Part of https://github.com/pipe-cd/pipecd/issues/5214
Does this PR introduce a user-facing change?: