This repository was archived by the owner on Jan 19, 2026. It is now read-only.
feat: Print errors of validating settings as multiline#1416
Merged
viccuad merged 2 commits intokubewarden:mainfrom Nov 3, 2025
Merged
feat: Print errors of validating settings as multiline#1416viccuad merged 2 commits intokubewarden:mainfrom
viccuad merged 2 commits intokubewarden:mainfrom
Conversation
This shows the user multiline errors such as type errors coming from the CEL policy. Signed-off-by: Víctor Cuadrado Juan <[email protected]>
Signed-off-by: Víctor Cuadrado Juan <[email protected]>
flavio
approved these changes
Oct 31, 2025
Member
flavio
left a comment
There was a problem hiding this comment.
LGTM, thanks for having added some e2e tests!
Member
Author
|
pushed a Edit: the new test takes a bit of time: |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1416 +/- ##
==========================================
+ Coverage 86.74% 86.94% +0.20%
==========================================
Files 34 34
Lines 4495 4495
==========================================
+ Hits 3899 3908 +9
+ Misses 596 587 -9 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This shows the user multiline errors such as type errors coming from the CEL
policy.
Example:
Instead of:
Test
Added e2e testcase.
Additional Information
Tradeoff
Potential improvement