Closed MrFreezeex closed 8 months ago
Attention: 23 lines
in your changes are missing coverage. Please review.
Comparison is base (
2daee60
) 55.05% compared to head (f523570
) 54.79%.:exclamation: Current head f523570 differs from pull request most recent head be7b188. Consider uploading reports for the commit be7b188 to get more accurate results
Files | Patch % | Lines |
---|---|---|
pkg/services/github.go | 0.00% | 23 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Hi @jaredtbates I saw that you mentioned in your Initial pull request that you didn't find a way to preserve deployment id, what do you think about this patch?
@MrFreezeex could you please resolve conflicts and make sure that you have added tests?
@MrFreezeex could you please resolve conflicts and make sure that you have added tests?
Hi @pasha-codefresh! I just rebased the code but I can't realistically add test unfortunately. This whole function is not tested and AFAIK there are no tests on any Send
method anywhere. The tests are up until the actual Send
is done but then it's always not covered by tests.
LGTM, thank you
Try to list existing deployment with the same sha/environment/ref and reuse it if found. This allows ArgoCD notification to update the same deployment with multiple deployment status instead of creating a new one on each deployment notification.