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

fix: make zod errors not hard crash #18418

Merged
merged 1 commit into from
Dec 4, 2024
Merged

fix: make zod errors not hard crash #18418

merged 1 commit into from
Dec 4, 2024

Conversation

aweiss-dev
Copy link
Member

The zod implementation was very strict.

If there was some unexpected data, the CPB would not execute. This will change the behaviour to log the error.

@codecov-commenter
Copy link

codecov-commenter commented Dec 4, 2024

Codecov Report

Attention: Patch coverage is 0% with 44 lines in your changes missing coverage. Please review.

Project coverage is 46.44%. Comparing base (9be3837) to head (6e958fb).
Report is 40 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev   #18418      +/-   ##
==========================================
- Coverage   46.44%   46.44%   -0.01%     
==========================================
  Files         844      844              
  Lines       26210    26216       +6     
  Branches     5936     5939       +3     
==========================================
+ Hits        12174    12175       +1     
- Misses      12513    12519       +6     
+ Partials     1523     1522       -1     

Copy link

sonarqubecloud bot commented Dec 4, 2024

@aweiss-dev aweiss-dev merged commit 391f8ba into dev Dec 4, 2024
13 checks passed
@aweiss-dev aweiss-dev deleted the fix/cpb_zod_0 branch December 4, 2024 12:37
@paulwire paulwire added the echoes: product-roadmap/feature Work contributing to adding a new feature as part of the product roadmap. label Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
echoes: product-roadmap/feature Work contributing to adding a new feature as part of the product roadmap. 👕 size: M type: bug / fix 🐞
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants