policy-controller icon indicating copy to clipboard operation
policy-controller copied to clipboard

Fix memory leak issue by implementing an LRU cache for AWS credentials.

Open dlorenc opened this issue 8 months ago • 2 comments

Summary

Try to fix https://github.com/sigstore/policy-controller/issues/1820

Release Note

Documentation

dlorenc avatar Apr 20 '25 23:04 dlorenc

Codecov Report

:x: Patch coverage is 86.07595% with 11 lines in your changes missing coverage. Please review. :white_check_mark: Project coverage is 31.17%. Comparing base (ea54b96) to head (873b812). :warning: Report is 22 commits behind head on main.

Files with missing lines Patch % Lines
pkg/webhook/registryauth/bounded_cache.go 91.17% 6 Missing :warning:
pkg/webhook/registryauth/registryauth.go 54.54% 4 Missing and 1 partial :warning:
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1825       +/-   ##
===========================================
- Coverage   42.78%   31.17%   -11.61%     
===========================================
  Files         121      123        +2     
  Lines        8994     9151      +157     
===========================================
- Hits         3848     2853      -995     
- Misses       4791     6065     +1274     
+ Partials      355      233      -122     

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

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov[bot] avatar Apr 20 '25 23:04 codecov[bot]

@dlorenc one lint error otherwise lgtm

cpanato avatar Apr 21 '25 07:04 cpanato