Skip to content

Commit 322d9fc

Browse files
committed
feat(crons): Indicate when a timeout is incomplete
This looks like this when no terminating check-in was sent. <img alt="clipboard.png" width="1051" src="https://i.imgur.com/JLOpGtB.png" />k Fixes [NEW-332: If a timeout does NOT have a duration indicate `incomplete`](https://linear.app/getsentry/issue/NEW-332/if-a-timeout-does-not-have-a-duration-indicate-incomplete)
1 parent a7512c6 commit 322d9fc

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

static/app/views/insights/crons/components/monitorCheckIns.tsx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import {Fragment} from 'react';
22
import styled from '@emotion/styled';
33

44
import {SectionHeading} from 'sentry/components/charts/styles';
5+
import {Tag} from 'sentry/components/core/badge/tag';
56
import {Tooltip} from 'sentry/components/core/tooltip';
67
import {DateTime} from 'sentry/components/dateTime';
78
import Duration from 'sentry/components/duration';
@@ -139,7 +140,16 @@ export function MonitorCheckIns({monitor, monitorEnvs}: Props) {
139140
</Tooltip>
140141
</div>
141142
) : (
142-
emptyCell
143+
<div>
144+
<Tooltip
145+
title={tct(
146+
'An [code:in_progress] check-in was received, but no terminating [code:ok] or [code:failure] check-in was received. Your job may be terminating without reporting to Sentry.',
147+
{code: <code />}
148+
)}
149+
>
150+
<Tag type="error">{t('Incomplete')}</Tag>
151+
</Tooltip>
152+
</div>
143153
)}
144154
{checkIn.groups && checkIn.groups.length > 0 ? (
145155
<IssuesContainer>

0 commit comments

Comments
 (0)