Skip to content

Cron check-in durations are measured with the wall clock #5579

Description

@runningcode

Audit finding B4 — actual bug, LOW-MEDIUM.

Cron check-in durations are computed as currentTimeMillis() - start (wall clock):

  • sentry/src/main/java/io/sentry/util/CheckInUtils.java:64
  • Same pattern in SentryCheckInAdvice across sentry-spring, sentry-spring-jakarta, and sentry-spring-7.

Cron jobs run long, giving wide exposure to wall-clock steps over the measured interval → wrong or negative durations reported.

Source: JAVA-557 §B4.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions