Skip to content

Check inactive shards for UUID for /retrieve endpoint#905

Merged
dlorenc merged 2 commits intosigstore:mainfrom
priyawadhwa:retrieve-inactive-bug
Jul 6, 2022
Merged

Check inactive shards for UUID for /retrieve endpoint#905
dlorenc merged 2 commits intosigstore:mainfrom
priyawadhwa:retrieve-inactive-bug

Conversation

@priyawadhwa
Copy link
Contributor

Moved the logic for finding a UUID into a separate function so that get and retrieve can both use it

Fixes #899

Signed-off-by: Priya Wadhwa priya@chainguard.dev

Summary

Release Note

Documentation

@priyawadhwa priyawadhwa requested a review from a team as a code owner July 5, 2022 14:49
@priyawadhwa priyawadhwa force-pushed the retrieve-inactive-bug branch from 3541ef9 to 16a430d Compare July 5, 2022 14:53
dlorenc
dlorenc previously approved these changes Jul 5, 2022
Signed-off-by: Priya Wadhwa <priya@chainguard.dev>
@codecov-commenter
Copy link

codecov-commenter commented Jul 5, 2022

Codecov Report

Merging #905 (0367027) into main (79540f9) will decrease coverage by 0.14%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #905      +/-   ##
==========================================
- Coverage   47.86%   47.72%   -0.15%     
==========================================
  Files          62       62              
  Lines        5461     5461              
==========================================
- Hits         2614     2606       -8     
- Misses       2559     2565       +6     
- Partials      288      290       +2     
Impacted Files Coverage Δ
pkg/types/alpine/v0.0.1/entry.go 53.30% <0.00%> (-2.48%) ⬇️
pkg/types/rekord/v0.0.1/entry.go 48.18% <0.00%> (-0.67%) ⬇️
pkg/types/helm/v0.0.1/entry.go 48.08% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 79540f9...0367027. Read the comment docs.

Signed-off-by: Priya Wadhwa <priya@chainguard.dev>
@priyawadhwa priyawadhwa force-pushed the retrieve-inactive-bug branch from a140b43 to 0367027 Compare July 5, 2022 18:29
@priyawadhwa
Copy link
Contributor Author

Thanks for the review @bobcallaway, addressed all comments!

@dlorenc dlorenc merged commit 45becc9 into sigstore:main Jul 6, 2022
@github-actions github-actions bot added this to the v1.0.0 milestone Jul 6, 2022
@priyawadhwa priyawadhwa deleted the retrieve-inactive-bug branch July 6, 2022 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

api/v1/log/entries/retrieve by UUID doesn't return entries in inactive shards

4 participants