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

Handle context cancelled properly + tests. #1796

Merged
merged 1 commit into from Apr 24, 2022

Conversation

vaikas
Copy link
Contributor

@vaikas vaikas commented Apr 24, 2022

Signed-off-by: Ville Aikas vaikas@chainguard.dev

Summary

Handle closing of the context properly and return an error for it.

Ticket Link

Fixes

Release Note


Signed-off-by: Ville Aikas <vaikas@chainguard.dev>
@codecov-commenter
Copy link

codecov-commenter commented Apr 24, 2022

Codecov Report

Merging #1796 (a0df4f9) into main (0c4cf2e) will increase coverage by 0.04%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##             main    #1796      +/-   ##
==========================================
+ Coverage   32.56%   32.61%   +0.04%     
==========================================
  Files         147      147              
  Lines        9297     9303       +6     
==========================================
+ Hits         3028     3034       +6     
  Misses       5915     5915              
  Partials      354      354              
Impacted Files Coverage Δ
pkg/cosign/kubernetes/webhook/validator.go 75.55% <66.66%> (+0.32%) ⬆️

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 0c4cf2e...a0df4f9. Read the comment docs.

@mattmoor mattmoor merged commit f08ae46 into sigstore:main Apr 24, 2022
@github-actions github-actions bot added this to the v1.8.0 milestone Apr 24, 2022
@vaikas vaikas deleted the context-done branch April 24, 2022 19:09
mlieberman85 pushed a commit to mlieberman85/cosign that referenced this pull request May 6, 2022
Signed-off-by: Ville Aikas <vaikas@chainguard.dev>
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.

None yet

3 participants