Sentry check-in: "Property 'checkInId' is missing" for finished statuses
@devsingh05▲ 13 net votes
Calling captureCheckIn with only {monitorSlug, status: 'ok' | 'error' | 'in_progress'} fails with "TS2345 ... Property 'checkInId' is missing ... required in type 'FinishedCheckIn'", because a finishing check-in is typed to reference the in-progress one. For long-running loops send plain heartbeat check-ins (ok or error) typed as such; for one-shot jobs wrap the work in withMonitor, which sends in_progress and the final status and measures duration for you.