Skip to content

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

Merged
alexjustesen merged 1 commit into
alexjustesen:1.xfrom
mews-se:fix/negative-ookla-values
Aug 16, 2026
Merged

fix: clamp negative values from the Ookla CLI#2868
alexjustesen merged 1 commit into
alexjustesen:1.xfrom
mews-se:fix/negative-ookla-values

Conversation

@mews-se

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

Copy link
Copy Markdown
Contributor

📃 Description

As offered in #2864. The decoded CLI output runs through a small clamp before anything is stored, so the mapped columns and the same fields inside data stay consistent — ping latency, bandwidth and bytes in both directions. Nulls and missing fields pass through untouched so a failed metric doesn't turn into a fake zero, and everything else in the json is left as the CLI reported it. Only new results are guarded, existing rows aren't rewritten.

Closes #2864

🪵 Changelog

🔧 Fixed

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

@alexjustesen
alexjustesen merged commit a5d72b7 into alexjustesen:1.x Aug 16, 2026
2 checks passed
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.

chore: handle negative values from Ookla CLI

2 participants