Skip to content

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

Draft
clux wants to merge 1 commit into
mainfrom
body-trace
Draft

Add a way to debug the Body contents with tracing#1648
clux wants to merge 1 commit into
mainfrom
body-trace

Conversation

@clux

@clux clux commented Nov 23, 2024

Copy link
Copy Markdown
Member

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}}")) }

Signed-off-by: clux <sszynrae@gmail.com>
@codecov

codecov Bot commented Nov 23, 2024

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.6%. Comparing base (9f93e2f) to head (95ab7d6).
⚠️ Report is 392 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%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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