Skip to content

fix(logs): stringify u64 attributes greater than i64::MAX #846

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

Merged
merged 3 commits into from
Jun 17, 2025

Conversation

lcian
Copy link
Member

@lcian lcian commented Jun 16, 2025

Previously we were serializing these as floats which could lead to unnecessary precision loss.
Closes #845

@lcian lcian requested a review from Swatinem June 16, 2025 15:46
Copy link

codecov bot commented Jun 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.05%. Comparing base (0957716) to head (87956c1).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #846      +/-   ##
==========================================
+ Coverage   74.04%   74.05%   +0.01%     
==========================================
  Files          64       64              
  Lines        7778     7781       +3     
==========================================
+ Hits         5759     5762       +3     
  Misses       2019     2019              
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@lcian lcian enabled auto-merge (squash) June 17, 2025 10:05
@lcian lcian merged commit 333b14e into master Jun 17, 2025
18 checks passed
@lcian lcian deleted the lcian/fix-logs-u64 branch June 17, 2025 10:07
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.

[Structured logging] Stringify u64 attributes
2 participants