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

misc(proxy-wasm) improve filter chain errors clarity & consistency #414

Merged
merged 1 commit into from
Sep 18, 2023

Conversation

thibaultcha
Copy link
Member

@thibaultcha thibaultcha commented Sep 15, 2023

  • Clarify error messages.
  • Avoid producing an error log and a subsequent warning log, since it distracts from the initial error log.
  • Carefully separate filter error loggers from filter chain errors (filter vs. host runloop).
  • Remove a redundant test.

@thibaultcha thibaultcha force-pushed the misc/proxy-wasm-error-logs branch 2 times, most recently from 0150e79 to c733e1b Compare September 15, 2023 01:36
@thibaultcha thibaultcha changed the title misc(proxy-wasm) clarify several filter chain error logs misc(proxy-wasm) improve filter chain errors clarity & consistency Sep 15, 2023
@codecov
Copy link

codecov bot commented Sep 15, 2023

Codecov Report

Merging #414 (9e13e2a) into main (1c1588a) will increase coverage by 0.02877%.
The diff coverage is 63.63636%.

Additional details and impacted files

Impacted file tree graph

@@                 Coverage Diff                 @@
##                main        #414         +/-   ##
===================================================
+ Coverage   90.25116%   90.27993%   +0.02876%     
===================================================
  Files             46          46                 
  Lines           8401        8395          -6     
===================================================
- Hits            7582        7579          -3     
+ Misses           819         816          -3     
Files Changed Coverage Δ
src/common/proxy_wasm/ngx_proxy_wasm.h 91.42857% <ø> (ø)
src/common/proxy_wasm/ngx_proxy_wasm_util.c 93.00412% <ø> (ø)
src/common/proxy_wasm/ngx_proxy_wasm.c 92.83708% <63.63636%> (+0.07941%) ⬆️

... and 1 file with indirect coverage changes

@thibaultcha thibaultcha force-pushed the misc/proxy-wasm-error-logs branch 2 times, most recently from 02a689d to 51a582f Compare September 15, 2023 19:05
* Clarify error messages
* Avoid producing an error log and a subsequent warning log, since it
  distracts from the initial error log.
* Carefully separate filter error loggers from filter chain errors
  (filter vs. host runloop).
@thibaultcha thibaultcha force-pushed the misc/proxy-wasm-error-logs branch from 51a582f to 9e13e2a Compare September 18, 2023 15:33
@thibaultcha thibaultcha merged commit 0ca3893 into main Sep 18, 2023
32 checks passed
@thibaultcha thibaultcha deleted the misc/proxy-wasm-error-logs branch September 18, 2023 17:52
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.

1 participant