Skip to content

Fix: guard addJitter against zero/sub-nanosecond durations to prevent panic (fixes #8149)#8178

Merged
yurishkuro merged 2 commits into
jaegertracing:mainfrom
shivamtiwari3:fix/addjitter-panic-on-zero-duration
Mar 16, 2026
Merged

Fix: guard addJitter against zero/sub-nanosecond durations to prevent panic (fixes #8149)#8178
yurishkuro merged 2 commits into
jaegertracing:mainfrom
shivamtiwari3:fix/addjitter-panic-on-zero-duration

test(sampling): use time.Nanosecond constants in TestAddJitter for cl…

31446be
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Mar 16, 2026 in 0s

100.00% of diff hit (target 95.00%)

View this Pull Request on Codecov

100.00% of diff hit (target 95.00%)