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

Add a way to debug the Body contents with tracing #1648

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

clux
Copy link
Member

@clux clux commented Nov 23, 2024

WIP. Kind of non-trivial to get this right. Still exploring.

RN i am getting:

2024-11-23T14:50:02.419306Z TRACE kube_client::client: actual send body: Body { kind: Once(Some(b"{\"apiVersion\":\"clux.dev/v1\",\"kind\":\"Foo\",\"metadata\":{\"name\":\"x\"},\"spec\":{\"name\":\"x\",\"info\":\"failing validation obj\",\"replicas\":1}}")) }

Copy link

codecov bot commented Nov 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.6%. Comparing base (9f93e2f) to head (95ab7d6).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##            main   #1648     +/-   ##
=======================================
+ Coverage   75.6%   75.6%   +0.1%     
=======================================
  Files         82      82             
  Lines       7405    7407      +2     
=======================================
+ Hits        5591    5599      +8     
+ Misses      1814    1808      -6     
Files with missing lines Coverage Δ
kube-client/src/client/body.rs 84.7% <ø> (+15.9%) ⬆️
kube-client/src/client/mod.rs 76.8% <100.0%> (+1.1%) ⬆️
---- 🚨 Try these New Features:

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