Skip to content

Sentry cron always In Progress to Timed out #54664

Closed
@eldrinchit

Description

@eldrinchit

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

Sentry version: @sentry/node@v7.58.1

Cron configuration:

image

I put this before the actual cron logic:

const checkInId = Sentry.captureCheckIn({
     monitorSlug: SCRIPT_NAME_LOWERCASE,
     status: 'in_progress',
})

this at the end:

Sentry.captureCheckIn({
        checkInId,
        monitorSlug: SCRIPT_NAME_LOWERCASE,
        status: 'ok',
      })

But it will always get timed out, even though the script was successfully ran. Also checkinID, always has a value
image

This ss is from a different test that I did for debugging,
image

Expected Result

Successful status for cron checkin

Actual Result

image image image

Product Area

Crons

Link

No response

DSN

https://f88e4f8c9cc64480be1cbae1fe7a2fcf@o1193026.ingest.sentry.io/6324830

Version

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Waiting for: Community

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions