Skip to content

fix: clamp negative values from the Ookla CLI - #2869

Merged
alexjustesen merged 2 commits into
alexjustesen:2.xfrom
mews-se:fix/negative-ookla-values-2.x
Aug 18, 2026
Merged

fix: clamp negative values from the Ookla CLI#2869
alexjustesen merged 2 commits into
alexjustesen:2.xfrom
mews-se:fix/negative-ookla-values-2.x

Conversation

@mews-se

@mews-se mews-se commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

📃 Description

2.x counterpart of #2868. Same approach: negative ping latency, bandwidth and bytes values get zeroed on the decoded CLI output before the result is saved, nulls are left alone. Job and helper were identical on both branches so the change carried over cleanly, tests included here too.

Refs #2864

🪵 Changelog

🔧 Fixed

  • negative values from the Ookla CLI are clamped to zero before being stored

@mews-se
mews-se requested a review from alexjustesen as a code owner August 15, 2026 21:21
@alexjustesen
alexjustesen merged commit 67ad5b4 into alexjustesen:2.x Aug 18, 2026
2 checks passed
svenvg93 pushed a commit to svenvg93/speedtest-tracker that referenced this pull request Aug 20, 2026
Co-authored-by: Alex Justesen <alexjustesen@users.noreply.github.com>
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.

2 participants