project-copacetic / copacetic

🧵 CLI tool for directly patching container images using reports from vulnerability scanners
https://project-copacetic.github.io/copacetic/
Apache License 2.0
845 stars 59 forks source link

feat: discard patch layer #634

Closed MiahaCybersec closed 1 month ago

MiahaCybersec commented 1 month ago

Closes #389

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 34.23%. Comparing base (2602d59) to head (7e030a5). Report is 70 commits behind head on main.

:exclamation: Current head 7e030a5 differs from pull request most recent head 5a18b3e

Please upload reports for the commit 5a18b3e to get more accurate results.

Files Patch % Lines
pkg/patch/patch.go 0.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #634 +/- ## ========================================== + Coverage 32.51% 34.23% +1.72% ========================================== Files 17 18 +1 Lines 1621 1522 -99 ========================================== - Hits 527 521 -6 + Misses 1062 968 -94 - Partials 32 33 +1 ```

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

MiahaCybersec commented 1 month ago

The failing tests seem to be due to the debian packaging manager resetting the connection. Would it be possible for someone with the correct permissions to rerun failed workflows?

sozercan commented 1 month ago

I am a bit confused about this. I updated #389 with more context. @MiahaCybersec let me know if you have any questions

MiahaCybersec commented 1 month ago

Since this PR will potentially require a design doc and a deeper understanding of the codebase, I'm closing this PR. A new one will be opened once a proper fix for the issue has been made.