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.
GitHub Advanced Security / CodeQL completed Mar 16, 2026 in 1s

2 configurations not found

Warning: Code scanning cannot determine the alerts introduced by this pull request, because 2 configurations present on refs/heads/main were not found:

Actions workflow (codeql.yml)

  • ❓  .github/workflows/codeql.yml:codeql-analyze/language:go
  • ❓  .github/workflows/codeql.yml:codeql-analyze/language:python

View all branch alerts.