Skip to content

Load: Improve log message for UINT value out of range - #248

Merged
tlsa merged 4 commits into
mainfrom
tlsa/uint-range-log-msg
Nov 14, 2026
Merged

tlsa merged 4 commits into
mainfrom
tlsa/uint-range-log-msg

Conversation

@tlsa

@tlsa tlsa commented Oct 2, 2024 •

Copy link
Copy Markdown
Owner

This makes handling of out-of-range and invalid integer values more consistent.

Closes: #247

@codecov

codecov Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.25%. Comparing base (1acec33) to head (939b952).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #248      +/-   ##
==========================================
+ Coverage   97.24%   97.25%   +0.01%     
==========================================
  Files          11       11              
  Lines        2283     2294      +11     
  Branches      502      506       +4     
==========================================
+ Hits         2220     2231      +11     
  Misses         29       29              
  Partials       34       34              
Flag Coverage Δ
unittests 97.25% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

tlsa added 4 commits November 14, 2026 20:14
Now it matches the other out of range messages.
We now reject leading whitespace. (It would have to be quoted to
reach this point, e.g. " 10".)

We also reject negative numbers in the UINT handling.
@tlsa
tlsa force-pushed the tlsa/uint-range-log-msg branch from 3d0e42f to 939b952 Compare November 14, 2026 20:40
@tlsa
tlsa merged commit d0e5960 into main Nov 14, 2026
12 checks passed
@tlsa
tlsa deleted the tlsa/uint-range-log-msg branch November 14, 2026 20:43
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.

Discrepancy in Error Messages: INT vs UINT out of range

1 participant