:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
feat(signals): show inconclusive report checks with their reason (#108334)
posthog[bot]59dc9cfc4039
diff --git a/frontend/snapshots.yml b/frontend/snapshots.ymlindex 0e6d709da5bd..8185272edef3 100644--- a/frontend/snapshots.yml+++ b/frontend/snapshots.yml@@ -11019,13 +11019,13 @@ snapshots:scenes-app-inbox-detail-expected-impact--replacement-unavailable--light:hash: v1.k794b7964.5e53f571b0a25a214aaa48bf8657bafa6fc5e5b7d0bf3121e9d325189a3854f7.Ldh-3_DNPkkNJwM66AlgwKjrLhd-4VRkkR9crqU9YRAscenes-app-inbox-detail-follow-up-checks--every-state--dark:- hash: v1.k794b7964.004e754df34f27dec87308b32a4bc22ee91ed3bef327a5a4985d7a385daa4795.d4qHmfgqZAk5xfPr12Eu9W2rrrfyvAcme93xh85ALXM+ hash: v1.k794b7964.b2d0413b7187f874afae44518461bb0c5cd33192952321712580e25e3bddd9e1.G8AgFzVjqgR2YdWYjcDkw2Eaoqg97AWcCTYAGH7N-cgscenes-app-inbox-detail-follow-up-checks--every-state--light:- hash: v1.k794b7964.9d763c4410babc4ecc075119572b2290597787c7919edc4bd5b06642f52b1c3b.1qwb81AkpnjdNf8QVYi-3J3WxjLL5rtsibqZh22Aabc+ hash: v1.k794b7964.4655bef6e24070355e1a13becdc153fa8e4abc3dcdbfd2d880db3789376ae8b8.uNlpCBaS1VvSDAmoBks4FPoKLMJIY1G63WlKQ7bd64kscenes-app-inbox-detail-follow-up-checks--narrow-rail--dark:- hash: v1.k794b7964.b342adf4d10fda07bb15d88eb2e1b4a985839c9a0882abcacc7cc81235c01847.HgrdMMBs4_kcr8TDKKYbTC55DzA5anqJncVndcAbjy4+ hash: v1.k794b7964.104726ab1adb7689ef0fa98cb6d95b32488a9d7a1384ff7b311dba39da93eaee.zynwpgfgVGiMUAfnykJ1qIB-DuF-fQ_VAvJWVyVhvIcscenes-app-inbox-detail-follow-up-checks--narrow-rail--light:- hash: v1.k794b7964.6951a5f479558335722357b8c18ff8bf61f2ebde5124bf5287553635153a0e16.DQfc3cY5_ugVkukDUmC1E_sirX0L_ic5bjx6VAIGQFQ+ hash: v1.k794b7964.4335078ee499a8b64b5a0c253a2128960c42afb6e657a9d8139350a9c775b89b.3Ze8wnGg4UHYbTtf0kAFagAWOSLrhDpuchVRUQfY01sscenes-app-inbox-detail-follow-up-checks--running--dark:hash: v1.k794b7964.7c9c84d49f542f37fb20a337d4e097ceac512f7916476f8313f52403a0c8272e.Qbic0TtjJ_u8tITXga4NzK-pjvZVxEv_eDiiDbAZ6Toscenes-app-inbox-detail-follow-up-checks--running--light:@@ -14015,13 +14015,13 @@ snapshots:scenes-app-sidepanels--side-panel-support--light:hash: v1.k794b7964.ca54fc331e5d1849d60003d05c12e81f19aa2fde8e2697cfde6d9da05b83496d.-z-DswZniDK4BOxO2y1GTBB3VXNoFbzCW1HdGG4J4-sscenes-app-signals-artefactloglist--check-lifecycle--dark:- hash: v1.k794b7964.55a6d4b7f795165ba5f6fdf8544b82c033eb7dc2268068a3a0f441d2e04f88ef.4He2fFqpihqbcam_dcgPw8Dn_u04igjKpsiaH1JhFHM+ hash: v1.k794b7964.19c992f77d56b064d5196570d7ed96b44b8b716ed149c79cee4992751ec2f11e.pQV4XQtKFXBQNrPKy95ZzZ6Q_RF7u8CDnqSF90tOXRQscenes-app-signals-artefactloglist--check-lifecycle--light:- hash: v1.k794b7964.9f0ae1491831cb942c632a38203a80671894007da577868298bea456b1c05e91.WgcwAAlvkVcjLqu_0Bq-3e5wP7JoySHpE9BD4NbGRIA+ hash: v1.k794b7964.0938b899ee15ffdef919aa69eda6ab364c0dad52af44faa41804784e73d8caae.rneddcGLjS19qI-3CBpj4SIfzNo6YnbaWYogiu9k6O0scenes-app-signals-artefactloglist--check-lifecycle-narrow--dark:- hash: v1.k794b7964.30bf54d8a4599d91b7bfb53b3c4bcc513542aedca54ca590abefbed96c6f026e.Rz56TDUd0wsU7RLP8eL2sQddNl7GUtOYDh7wI3Hjkpg+ hash: v1.k794b7964.5ab43d172ac755bb42b1c2c2392d345b96705a10ddf5229f59670ba185be20ac.8T5fcBjxZxGsTU1ggL5oEty6e3J9toNMDYgjJKqKNXwscenes-app-signals-artefactloglist--check-lifecycle-narrow--light:- hash: v1.k794b7964.fbf6010ba50e2f5883474f31fd016429dabdb3b622674288581c20e273051c05.7B5gAd8yPQMZcTHOq-5G5g4TYTns2CMSvxtb2sD8kII+ hash: v1.k794b7964.63cdee1cef1e107994384009670f21ac71ecfa4b6e2e23d71643fe9d1d5630fe.4wGqFPR8TdUJuKkDJafmqfQ2U7cF3uSwOvK8mRSFXjIscenes-app-signals-artefactloglist--linked-report-gates--dark:hash: v1.k794b7964.62d15835041cea269d599d42d6f654f2e9ed4ae1e39c3f3b5eddd5833fca6394.AcjuW_1a3hPiT3q-Bn7FtXcctGRSm87IsWJU0NTgPK4scenes-app-signals-artefactloglist--linked-report-gates--light:diff --git a/products/signals/backend/scout_harness/serializers.py b/products/signals/backend/scout_harness/serializers.pyindex 396c3532f282..74195538d4f9 100644--- a/products/signals/backend/scout_harness/serializers.py+++ b/products/signals/backend/scout_harness/serializers.py@@ -809,6 +809,13 @@ class ScoutCheckSummarySerializer(serializers.Serializer):last_outcome = serializers.CharField(allow_null=True, help_text="Verdict of the most recent run; null before the first.")+ last_outcome_reason = serializers.CharField(+ allow_null=True,+ help_text=(+ "Why the most recent run was `inconclusive`: `awaiting_data`, `unmeasurable`, "+ "`needs_manual_verification`, or `no_fix_to_measure`. Null on any other outcome."+ ),+ )run_state = serializers.CharField(help_text=("Where the check is in its run cycle. `waiting_on_report`: pending, no fix to measure yet. "diff --git a/products/signals/backend/scout_harness/tools/checks.py b/products/signals/backend/scout_harness/tools/checks.pyindex 3fcbb09e45bd..b4d83c1b1785 100644--- a/products/signals/backend/scout_harness/tools/checks.py+++ b/products/signals/backend/scout_harness/tools/checks.py@@ -208,6 +208,8 @@ class ScoutCheckSummary:status: strnext_run_at: datetimelast_outcome: str | None+ # Set only when `last_outcome` is `inconclusive`.+ last_outcome_reason: str | None# Where the check is in its run cycle. See `_run_state`.run_state: str# True while an `agent` check waits on a dispatched run to record its verdict.@@ -253,6 +255,7 @@ def _summarize(# Provisional on a pending check, whose clock the report's resolve starts.next_run_at=check.next_run_at,last_outcome=check.last_outcome,+ last_outcome_reason=check.last_outcome_reason,run_state=_run_state(check, report_status, dispatched_run_id, now or timezone.now()),# Cancel and expiry leave `dispatched_at` set, so only an open check can still owe a run.waiting_on_run=check.status == SignalReportCheck.Status.ACTIVE and check.dispatched_at is not None,diff --git a/products/signals/backend/serializers.py b/products/signals/backend/serializers.pyindex e38da9ba8879..bb3d36a0a87b 100644--- a/products/signals/backend/serializers.py+++ b/products/signals/backend/serializers.py@@ -2124,6 +2124,7 @@ class SignalReportCheckSerializer(serializers.ModelSerializer):"expires_at","last_run_at","last_outcome",+ "last_outcome_reason","dispatched_at","consecutive_errors","created_at",@@ -2157,6 +2158,13 @@ class SignalReportCheckSerializer(serializers.ModelSerializer):"expires_at": {"help_text": "Horizon after which the check retires without running again."},"last_run_at": {"help_text": "When the check last ran; null before its first run."},"last_outcome": {"help_text": "Verdict of the most recent run."},+ "last_outcome_reason": {+ "help_text": (+ "Why the most recent run could not settle the claim. Set only when `last_outcome` is "+ "`inconclusive`: `awaiting_data`, `unmeasurable`, `needs_manual_verification`, or "+ "`no_fix_to_measure`."+ )+ },"dispatched_at": {"help_text": ("When the `agent` check's scout run started, cleared as soon as a verdict is recorded. "diff --git a/products/signals/backend/test/test_report_checks.py b/products/signals/backend/test/test_report_checks.pyindex adf701161e61..82f11b910092 100644--- a/products/signals/backend/test/test_report_checks.py+++ b/products/signals/backend/test/test_report_checks.py@@ -1952,6 +1952,12 @@ class TestCheckResultTool(APIBaseTest):assert check.last_outcome == SignalReportCheck.Outcome.INCONCLUSIVEassert check.last_outcome_reason == reasonassert check.consecutive_errors == 0+ (listed,) = list_report_checks(team=self.team, report_id=str(self.report.id))+ assert listed.last_outcome_reason == reason+ api_rows = self.client.get(f"/api/projects/{self.team.id}/signals/reports/{self.report.id}/checks/").json()+ assert [(row["status"], row["last_outcome_reason"]) for row in api_rows["results"]] == [+ (expected_status, reason)+ ]artefact = SignalReportArtefact.objects.get(report=self.report, type=SignalReportArtefact.ArtefactType.CHECK_RESULT)diff --git a/products/signals/frontend/generated/api.schemas.ts b/products/signals/frontend/generated/api.schemas.tsindex 27b0aca37801..5688308105b3 100644--- a/products/signals/frontend/generated/api.schemas.ts+++ b/products/signals/frontend/generated/api.schemas.ts@@ -3007,6 +3007,22 @@ export const SignalReportCheckOutcomeEnumApi = {Inconclusive: 'inconclusive',} as const+/**+ * * `awaiting_data` - Awaiting Data+ * * `unmeasurable` - Unmeasurable+ * * `needs_manual_verification` - Needs Manual Verification+ * * `no_fix_to_measure` - No Fix To Measure+ */+export type SignalReportCheckInconclusiveReasonEnumApi =+ (typeof SignalReportCheckInconclusiveReasonEnumApi)[keyof typeof SignalReportCheckInconclusiveReasonEnumApi]++export const SignalReportCheckInconclusiveReasonEnumApi = {+ AwaitingData: 'awaiting_data',+ Unmeasurable: 'unmeasurable',+ NeedsManualVerification: 'needs_manual_verification',+ NoFixToMeasure: 'no_fix_to_measure',+} as const+export interface SignalReportCheckApi {readonly id: string/** Short label for the expectation, e.g. `Checkout 500s stay below 10 a day`. */@@ -3061,6 +3077,13 @@ export interface SignalReportCheckApi {* * `errored` - Errored* * `inconclusive` - Inconclusive */readonly last_outcome: SignalReportCheckOutcomeEnumApi | null+ /** Why the most recent run could not settle the claim. Set only when `last_outcome` is `inconclusive`: `awaiting_data`, `unmeasurable`, `needs_manual_verification`, or `no_fix_to_measure`.+ *+ * * `awaiting_data` - Awaiting Data+ * * `unmeasurable` - Unmeasurable+ * * `needs_manual_verification` - Needs Manual Verification+ * * `no_fix_to_measure` - No Fix To Measure */+ readonly last_outcome_reason: SignalReportCheckInconclusiveReasonEnumApi | null/*** When the `agent` check's scout run started, cleared as soon as a verdict is recorded. A non-null value is what tells a reader the check is running rather than waiting, because dispatch also pushes `next_run_at` out to the result window. Always null on a `metric_threshold` check, which is measured in the tick that collects it.* @nullable@@ -6242,22 +6265,6 @@ export interface SignalScoutRunDetailApi {metadata: SignalScoutRunDetailApiMetadata}-/**- * * `awaiting_data` - Awaiting Data- * * `unmeasurable` - Unmeasurable- * * `needs_manual_verification` - Needs Manual Verification- * * `no_fix_to_measure` - No Fix To Measure- */-export type SignalReportCheckInconclusiveReasonEnumApi =- (typeof SignalReportCheckInconclusiveReasonEnumApi)[keyof typeof SignalReportCheckInconclusiveReasonEnumApi]--export const SignalReportCheckInconclusiveReasonEnumApi = {- AwaitingData: 'awaiting_data',- Unmeasurable: 'unmeasurable',- NeedsManualVerification: 'needs_manual_verification',- NoFixToMeasure: 'no_fix_to_measure',-} as const-/*** Request body for `scout-check-record-result`: the verdict on one dispatched report check.*/@@ -7087,6 +7094,11 @@ export interface ScoutCheckSummaryApi {* @nullable*/last_outcome: string | null+ /**+ * Why the most recent run was `inconclusive`: `awaiting_data`, `unmeasurable`, `needs_manual_verification`, or `no_fix_to_measure`. Null on any other outcome.+ * @nullable+ */+ last_outcome_reason: string | null/** Where the check is in its run cycle. `waiting_on_report`: pending, no fix to measure yet. `paused`: active, but its report is suppressed or its horizon passed, so nothing runs it. `scheduled`: active, not due yet. `due`: due now, so a run on the check's scout may record the verdict. `queued`: a run was dispatched and has not started. `running`: the dispatched run started and has time left. `stale`: the dispatched run recorded nothing in its window, so the coordinator dispatches again. Any other value is the terminal status. */run_state: string/** True while an `agent` check waits on a dispatched run to record its verdict. */diff --git a/products/signals/frontend/inbox/components/detail/ArtefactLogList.tsx b/products/signals/frontend/inbox/components/detail/ArtefactLogList.tsxindex 10b0afe89725..09c2c4ea6dd0 100644--- a/products/signals/frontend/inbox/components/detail/ArtefactLogList.tsx+++ b/products/signals/frontend/inbox/components/detail/ArtefactLogList.tsx@@ -81,7 +81,7 @@ import {WorkReleaseContent,} from './artefactTypes'import { prActivityTitle } from './prActivityPresentation'-import { CHECK_LIFECYCLE_ENTRIES } from './reportCheckPresentation'+import { CHECK_LIFECYCLE_ENTRIES, inconclusiveReasonLabel } from './reportCheckPresentation'/** Map a file extension to a CodeSnippet language for syntax highlighting; falls back to plain text. */function languageFromPath(path: string | undefined): Language {@@ -385,7 +385,7 @@ const CHECK_OUTCOME: Record<NonNullable<CheckResultContent['outcome']>, { label:passed: { label: 'Still holds', type: 'success' },failed: { label: 'No longer holds', type: 'danger' },errored: { label: "Couldn't measure", type: 'warning' },- inconclusive: { label: 'Inconclusive', type: 'warning' },+ inconclusive: { label: 'Inconclusive', type: 'info' },}function CheckResultBody({ content }: { content: CheckResultContent }): JSX.Element | null {@@ -395,6 +395,9 @@ function CheckResultBody({ content }: { content: CheckResultContent }): JSX.Elemreturn (<div className="flex w-full flex-col items-start gap-1"><span className="text-xs text-default">{content.explanation}</span>+ {content.outcome === 'inconclusive' ? (+ <span className="text-xs text-tertiary">{inconclusiveReasonLabel(content.reason)}</span>+ ) : null}{content.threshold ? (<span className="text-xs text-tertiary">Expected {content.threshold}diff --git a/products/signals/frontend/inbox/components/detail/ReportCheckRow.stories.tsx b/products/signals/frontend/inbox/components/detail/ReportCheckRow.stories.tsxindex 372c2d75f1ed..8006427140f6 100644--- a/products/signals/frontend/inbox/components/detail/ReportCheckRow.stories.tsx+++ b/products/signals/frontend/inbox/components/detail/ReportCheckRow.stories.tsx@@ -23,6 +23,7 @@ function check(overrides: Partial<SignalReportCheckApi>): SignalReportCheckApi {expires_at: '2026-10-27T09:00:00Z',last_run_at: null,last_outcome: null,+ last_outcome_reason: null,dispatched_at: null,consecutive_errors: 0,created_at: '2026-09-20T09:00:00Z',@@ -55,6 +56,14 @@ const everyState: SignalReportCheckApi[] = [title: 'The export backlog stays clear',last_run_at: '2026-09-27T09:00:00Z',}),+ check({+ id: 'inconclusive',+ status: 'inconclusive',+ title: 'The iOS crash no longer reproduces',+ last_run_at: '2026-09-27T09:00:00Z',+ last_outcome: 'inconclusive',+ last_outcome_reason: 'needs_manual_verification',+ }),check({id: 'expired',status: 'expired',@@ -72,6 +81,7 @@ const everyState: SignalReportCheckApi[] = [const explanations = new Map([['passed', '11 rageclicks in the last 14 days. Expected at most 20, was 64 when set.'],['failed', '14 new events after the fix, on the same stack frame.'],+ ['inconclusive', 'The crash only shows on a physical device, which no tool here can reach.'],])function ChecksSection({ checks }: { checks: SignalReportCheckApi[] }): JSX.Element {diff --git a/products/signals/frontend/inbox/components/detail/ReportExpectedImpact.stories.tsx b/products/signals/frontend/inbox/components/detail/ReportExpectedImpact.stories.tsxindex b05b75f6095c..cff0c5fbc9b2 100644--- a/products/signals/frontend/inbox/components/detail/ReportExpectedImpact.stories.tsx+++ b/products/signals/frontend/inbox/components/detail/ReportExpectedImpact.stories.tsx@@ -35,6 +35,7 @@ const check: SignalReportCheckApi = {expires_at: '2026-10-12T00:00:00Z',last_run_at: null,last_outcome: null,+ last_outcome_reason: null,dispatched_at: null,consecutive_errors: 0,created_at: '2026-08-29T00:00:00Z',diff --git a/products/signals/frontend/inbox/components/detail/ReportExpectedImpact.test.tsx b/products/signals/frontend/inbox/components/detail/ReportExpectedImpact.test.tsxindex 4a5aa6304836..66fe6560706c 100644--- a/products/signals/frontend/inbox/components/detail/ReportExpectedImpact.test.tsx+++ b/products/signals/frontend/inbox/components/detail/ReportExpectedImpact.test.tsx@@ -57,6 +57,7 @@ const check: SignalReportCheckApi = {expires_at: '2026-11-13T00:00:00Z',last_run_at: null,last_outcome: null,+ last_outcome_reason: null,dispatched_at: null,consecutive_errors: 0,created_at: '2026-09-29T00:00:00Z',diff --git a/products/signals/frontend/inbox/components/detail/artefactTypes.ts b/products/signals/frontend/inbox/components/detail/artefactTypes.tsindex 0a337e893186..c0ab4f8fefb1 100644--- a/products/signals/frontend/inbox/components/detail/artefactTypes.ts+++ b/products/signals/frontend/inbox/components/detail/artefactTypes.ts@@ -115,6 +115,8 @@ export interface CheckResultContent {title?: stringoutcome?: 'passed' | 'failed' | 'errored' | 'inconclusive'explanation?: string+ /** Set only on an `inconclusive` result. */+ reason?: string | nullobserved_value?: number | nullbaseline_value?: number | nullthreshold?: string | nulldiff --git a/products/signals/frontend/inbox/components/detail/reportCheckPresentation.test.ts b/products/signals/frontend/inbox/components/detail/reportCheckPresentation.test.tsindex 24d2c2e5982e..303fc7210a71 100644--- a/products/signals/frontend/inbox/components/detail/reportCheckPresentation.test.ts+++ b/products/signals/frontend/inbox/components/detail/reportCheckPresentation.test.ts@@ -28,6 +28,7 @@ function makeCheck(overrides: Partial<SignalReportCheckApi> = {}): SignalReportCexpires_at: '2026-10-27T09:00:00Z',last_run_at: null,last_outcome: null,+ last_outcome_reason: null,dispatched_at: null,consecutive_errors: 0,created_at: '2026-09-20T09:00:00Z',@@ -99,10 +100,21 @@ describe('reportCheckPresentation', () => {'Gave up after 3 tries · Sep 27 · 11 rageclicks in the last 14 days.',],[- 'an inconclusive check preserves its explanation',- { status: 'inconclusive', last_run_at: '2026-09-27T09:00:00Z' },+ 'an inconclusive check reads apart from errored and says why in plain words',+ {+ status: 'inconclusive',+ last_run_at: '2026-09-27T09:00:00Z',+ last_outcome: 'inconclusive',+ last_outcome_reason: 'needs_manual_verification',+ },'Inconclusive',- 'Sep 27 · 11 rageclicks in the last 14 days.',+ 'Needs a person to verify · Sep 27 · 11 rageclicks in the last 14 days.',+ ],+ [+ 'an open check waiting on data says why it looks again',+ { last_outcome: 'inconclusive', last_outcome_reason: 'awaiting_data', soak_minutes: null },+ 'Runs Sep 27',+ 'Not enough data yet, looks again · 1 run',],['a check that expired before its first run says so',diff --git a/products/signals/frontend/inbox/components/detail/reportCheckPresentation.ts b/products/signals/frontend/inbox/components/detail/reportCheckPresentation.tsindex 81cfcb3b63fb..4c8f5ba8fe9b 100644--- a/products/signals/frontend/inbox/components/detail/reportCheckPresentation.ts+++ b/products/signals/frontend/inbox/components/detail/reportCheckPresentation.ts@@ -2,7 +2,10 @@ import type { LemonTagType } from '@posthog/lemon-ui'import { dayjs } from 'lib/dayjs'-import type { SignalReportCheckApi } from 'products/signals/frontend/generated/api.schemas'+import type {+ SignalReportCheckApi,+ SignalReportCheckInconclusiveReasonEnumApi,+} from 'products/signals/frontend/generated/api.schemas'import { SignalReportArtefact } from '../../types'import { prettifyScoutSkillName } from '../../utils/scoutRunsWindow'@@ -31,6 +34,21 @@ export interface ReportCheckRowData {cancellable: boolean}+/** Mirrors `SignalReportCheck.InconclusiveReason`: why a run could not settle the claim, in plain words. */+const CHECK_INCONCLUSIVE_REASONS: Record<SignalReportCheckInconclusiveReasonEnumApi, string> = {+ awaiting_data: 'Not enough data yet',+ unmeasurable: "The data it needs isn't captured",+ needs_manual_verification: 'Needs a person to verify',+ no_fix_to_measure: 'No fix to measure against',+}++export function inconclusiveReasonLabel(reason: string | null | undefined): string {+ return (+ CHECK_INCONCLUSIVE_REASONS[reason as SignalReportCheckInconclusiveReasonEnumApi] ??+ 'The evidence could not settle it'+ )+}+/** A soak window in the words the copy needs: "7 days", "1 day 12 hours", "2 hours", "45 minutes". */function soakLabel(minutes: number): string {const plural = (n: number, unit: string): string => `${n} ${n === 1 ? unit : `${unit}s`}`@@ -106,7 +124,13 @@ function openCheckRow(check: SignalReportCheckApi): Pick<ReportCheckRowData, 'ta}}- const work = lane ? `${lane} re-probes the claim` : 'Measures the metric again'+ // An `awaiting_data` verdict keeps the check open, so the row says why it looks again.+ const work =+ check.last_outcome === 'inconclusive'+ ? `${inconclusiveReasonLabel(check.last_outcome_reason)}, looks again`+ : lane+ ? `${lane} re-probes the claim`+ : 'Measures the metric again'const runs = check.runs_remaining > 1 ? `${check.runs_remaining} runs left` : '1 run'return {tag: { label: `Runs ${shortDate(check.next_run_at)}`, type: 'primary' },@@ -131,7 +155,10 @@ function terminalCheckRow(detail: joinDetail([`Gave up after ${check.consecutive_errors} tries`, ranOn, explanation]),}case 'inconclusive':- return { tag: { label: 'Inconclusive', type: 'warning' }, detail: joinDetail([ranOn, explanation]) }+ return {+ tag: { label: 'Inconclusive', type: 'info' },+ detail: joinDetail([inconclusiveReasonLabel(check.last_outcome_reason), ranOn, explanation]),+ }case 'cancelled':return { tag: { label: 'Cancelled', type: 'muted' }, detail: `Stopped ${shortDate(check.updated_at)}` }}diff --git a/services/mcp/src/api/generated.ts b/services/mcp/src/api/generated.tsindex bafc6227e702..b50dea86de2a 100644--- a/services/mcp/src/api/generated.ts+++ b/services/mcp/src/api/generated.ts@@ -72145,6 +72145,22 @@ export namespace Schemas {Inconclusive: 'inconclusive',} as const;+ /**+ * * `awaiting_data` - Awaiting Data+ * * `unmeasurable` - Unmeasurable+ * * `needs_manual_verification` - Needs Manual Verification+ * * `no_fix_to_measure` - No Fix To Measure+ */+ export type SignalReportCheckInconclusiveReasonEnum = typeof SignalReportCheckInconclusiveReasonEnum[keyof typeof SignalReportCheckInconclusiveReasonEnum];+++ export const SignalReportCheckInconclusiveReasonEnum = {+ AwaitingData: 'awaiting_data',+ Unmeasurable: 'unmeasurable',+ NeedsManualVerification: 'needs_manual_verification',+ NoFixToMeasure: 'no_fix_to_measure',+ } as const;+export interface SignalReportCheck {readonly id: string;/** Short label for the expectation, e.g. `Checkout 500s stay below 10 a day`. */@@ -72199,6 +72215,13 @@ export namespace Schemas {* * `errored` - Errored* * `inconclusive` - Inconclusive */readonly last_outcome: SignalReportCheckOutcomeEnum | null;+ /** Why the most recent run could not settle the claim. Set only when `last_outcome` is `inconclusive`: `awaiting_data`, `unmeasurable`, `needs_manual_verification`, or `no_fix_to_measure`.+ *+ * * `awaiting_data` - Awaiting Data+ * * `unmeasurable` - Unmeasurable+ * * `needs_manual_verification` - Needs Manual Verification+ * * `no_fix_to_measure` - No Fix To Measure */+ readonly last_outcome_reason: SignalReportCheckInconclusiveReasonEnum | null;/*** When the `agent` check's scout run started, cleared as soon as a verdict is recorded. A non-null value is what tells a reader the check is running rather than waiting, because dispatch also pushes `next_run_at` out to the result window. Always null on a `metric_threshold` check, which is measured in the tick that collects it.* @nullable@@ -93086,22 +93109,6 @@ export namespace Schemas {ci_rerun_error?: string | null;}- /**- * * `awaiting_data` - Awaiting Data- * * `unmeasurable` - Unmeasurable- * * `needs_manual_verification` - Needs Manual Verification- * * `no_fix_to_measure` - No Fix To Measure- */- export type SignalReportCheckInconclusiveReasonEnum = typeof SignalReportCheckInconclusiveReasonEnum[keyof typeof SignalReportCheckInconclusiveReasonEnum];--- export const SignalReportCheckInconclusiveReasonEnum = {- AwaitingData: 'awaiting_data',- Unmeasurable: 'unmeasurable',- NeedsManualVerification: 'needs_manual_verification',- NoFixToMeasure: 'no_fix_to_measure',- } as const;-/*** Request body for `scout-check-record-result`: the verdict on one dispatched report check.*/@@ -97649,6 +97656,11 @@ export namespace Schemas {* @nullable*/last_outcome: string | null;+ /**+ * Why the most recent run was `inconclusive`: `awaiting_data`, `unmeasurable`, `needs_manual_verification`, or `no_fix_to_measure`. Null on any other outcome.+ * @nullable+ */+ last_outcome_reason: string | null;/** Where the check is in its run cycle. `waiting_on_report`: pending, no fix to measure yet. `paused`: active, but its report is suppressed or its horizon passed, so nothing runs it. `scheduled`: active, not due yet. `due`: due now, so a run on the check's scout may record the verdict. `queued`: a run was dispatched and has not started. `running`: the dispatched run started and has time left. `stale`: the dispatched run recorded nothing in its window, so the coordinator dispatches again. Any other value is the terminal status. */run_state: string;/** True while an `agent` check waits on a dispatched run to record its verdict. */