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

feat: finalization helper for ValidationRuleResults #415

Merged
merged 3 commits into from
Sep 6, 2024

Conversation

TylerGillson
Copy link
Member

Issue

N/A

Description

Add finalization helper for ValidationRuleResults. It must be called in Validate for all plugins to ensure proper error handling in direct mode.

@TylerGillson TylerGillson requested a review from a team as a code owner September 6, 2024 22:01
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. enhancement Enhancement to an existing feature labels Sep 6, 2024
ahmad-ibra
ahmad-ibra previously approved these changes Sep 6, 2024
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Sep 6, 2024
Signed-off-by: Tyler Gillson <[email protected]>
Signed-off-by: Tyler Gillson <[email protected]>
Copy link

codecov bot commented Sep 6, 2024

Codecov Report

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

Files with missing lines Patch % Lines
pkg/helm/helm.go 0.00% 0 Missing and 2 partials ⚠️
@@            Coverage Diff             @@
##             main     #415      +/-   ##
==========================================
+ Coverage   53.43%   54.30%   +0.87%     
==========================================
  Files          22       22              
  Lines        1136     1138       +2     
==========================================
+ Hits          607      618      +11     
+ Misses        460      453       -7     
+ Partials       69       67       -2     
Files with missing lines Coverage Δ
pkg/test/util.go 0.00% <ø> (ø)
pkg/types/types.go 66.66% <100.00%> (+66.66%) ⬆️
pkg/validationresult/validation_result.go 72.54% <100.00%> (-1.04%) ⬇️
pkg/helm/helm.go 40.81% <0.00%> (ø)

... and 3 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

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

@TylerGillson TylerGillson merged commit ff7f786 into main Sep 6, 2024
8 checks passed
@TylerGillson TylerGillson deleted the feat/finalize-vrr branch September 6, 2024 22:28
TylerGillson added a commit that referenced this pull request Sep 7, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.1.11](v0.1.10...v0.1.11)
(2024-09-06)


### Features

* finalization helper for ValidationRuleResults
([#415](#415))
([ff7f786](ff7f786))


### Dependency Updates

* **deps:** update golang.org/x/exp digest to e7e105d
([#412](#412))
([4ecf59f](4ecf59f))
* **deps:** update module sigs.k8s.io/cluster-api to v1.8.2
([#414](#414))
([288194c](288194c))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement to an existing feature lgtm This PR has been approved by a maintainer size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants