Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cache: add caching for manifest requests (PROJQUAY-6482) #2522

Merged
merged 1 commit into from
Mar 4, 2024

Conversation

kleesc
Copy link
Member

@kleesc kleesc commented Dec 1, 2023

No description provided.

@kleesc kleesc changed the title cache: add caching for manifest requests cache: add caching for manifest requests (PROJQUAY-6482) Dec 1, 2023
@kleesc kleesc force-pushed the cache-manifest-requests branch 6 times, most recently from 1875fab to 2028924 Compare December 1, 2023 20:13
@kleesc kleesc force-pushed the cache-manifest-requests branch 4 times, most recently from c6bc215 to e449f8b Compare February 29, 2024 14:17
Copy link

codecov bot commented Feb 29, 2024

Codecov Report

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

Project coverage is 70.79%. Comparing base (74fd23d) to head (24eb217).
Report is 1 commits behind head on master.

Files Patch % Lines
data/cache/impl.py 47.82% 12 Missing ⚠️
data/cache/redis_cache.py 50.00% 1 Missing ⚠️
data/registry_model/registry_oci_model.py 95.23% 0 Missing and 1 partial ⚠️
endpoints/v1/tag.py 50.00% 0 Missing and 1 partial ⚠️
endpoints/v2/manifest.py 50.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2522   +/-   ##
=======================================
  Coverage   70.79%   70.79%           
=======================================
  Files         436      436           
  Lines       40526    40573   +47     
  Branches     5283     5286    +3     
=======================================
+ Hits        28690    28725   +35     
- Misses      10159    10172   +13     
+ Partials     1677     1676    -1     
Flag Coverage Δ
unit 70.79% <71.42%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kleesc kleesc force-pushed the cache-manifest-requests branch 7 times, most recently from baeb51a to 374550e Compare February 29, 2024 22:08
"repository"
].asdict()
manifest_dict["inputs"]["legacy_image_handler"] = None # TODO(kleesc): Remove
manifest_dict["inputs"]["legacy_id_handler"] = None # TODO(kleesc): Remove
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did you miss removing the above 2 lines?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These should be removed once #2555 is merged. For now, they're still expected.

Copy link
Contributor

@Sunandadadi Sunandadadi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@kleesc kleesc merged commit be4edd0 into quay:master Mar 4, 2024
19 checks passed
@kleesc kleesc deleted the cache-manifest-requests branch March 4, 2024 21:56
Sunandadadi pushed a commit to Sunandadadi/quay that referenced this pull request Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants