: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): add an inconclusive outcome for report checks (#108320)
posthog[bot]836257424087
diff --git a/products/signals/backend/artefact_schemas.py b/products/signals/backend/artefact_schemas.pyindex dcafb8c5359e..8a3b080da56a 100644--- a/products/signals/backend/artefact_schemas.py+++ b/products/signals/backend/artefact_schemas.py@@ -28,6 +28,7 @@ from uuid import UUIDfrom pydantic import BaseModel, ConfigDict, Field, RootModel, ValidationError, field_validator, model_validatorfrom products.signals.backend.enums import ReportLinkKind, ReportPriority+from products.signals.backend.report_checks import CheckInconclusiveReason, CheckOutcomefrom products.tasks.backend.facade.repo_selection_types import RepoSelectionResult# Product / type identifier parts must be routing-safe — mirrors the custom-agent identifier@@ -934,12 +935,20 @@ class CheckResult(BaseModel):check_id: str = Field(description="UUID of the SignalReportCheck this run belongs to.")kind: str = Field(description="The check's kind, e.g. `metric_threshold`.")title: str = Field(description="The check's title, copied so the log entry reads on its own.")- outcome: Literal["passed", "failed", "errored"] = Field(+ outcome: CheckOutcome = Field(description=(- "`passed` (the expectation held), `failed` (it did not), or `errored` (the check could not be measured)."+ "`passed` (the expectation held), `failed` (it did not), `errored` (the check could not be measured), "+ "or `inconclusive` (the run worked but could not settle the claim)."))explanation: str = Field(description="One line saying what was measured and how it compared.")+ reason: CheckInconclusiveReason | None = Field(+ default=None,+ description=(+ "Why an `inconclusive` run could not settle the claim. Required on `inconclusive`, absent on any other "+ "outcome."+ ),+ )observed_value: float | None = Field(default=None, description="The measured value; absent when the run errored.")baseline_value: float | None = Field(default=None, description="The value recorded when the check was written, when the author gave one."@@ -957,6 +966,12 @@ class CheckResult(BaseModel):raise ValueError("must not be empty or whitespace-only")return v+ @model_validator(mode="after")+ def reason_must_match_outcome(self) -> CheckResult:+ if (self.outcome == "inconclusive") != (self.reason is not None):+ raise ValueError("`reason` is required on an `inconclusive` result and refused on any other")+ return self+class CheckLifecycleEntry(BaseModel):"""What every entry in a check's life carries, so the three cannot drift apart.diff --git a/products/signals/backend/migrations/0156_signalreportcheck_inconclusive.py b/products/signals/backend/migrations/0156_signalreportcheck_inconclusive.pynew file mode 100644index 000000000000..84da29be73f1--- /dev/null+++ b/products/signals/backend/migrations/0156_signalreportcheck_inconclusive.py@@ -0,0 +1,65 @@+# Generated by Django 5.2.17 on 2026-09-29 12:42++from django.db import migrations, models+++class Migration(migrations.Migration):+ dependencies = [+ ("signals", "0155_signalscoutconfig_rubrics"),+ ]++ operations = [+ migrations.AddField(+ model_name="signalreportcheck",+ name="consecutive_inconclusive",+ field=models.PositiveIntegerField(db_default=0, default=0),+ ),+ migrations.AddField(+ model_name="signalreportcheck",+ name="last_outcome_reason",+ field=models.CharField(+ blank=True,+ choices=[+ ("awaiting_data", "Awaiting Data"),+ ("unmeasurable", "Unmeasurable"),+ ("needs_manual_verification", "Needs Manual Verification"),+ ("no_fix_to_measure", "No Fix To Measure"),+ ],+ max_length=30,+ null=True,+ ),+ ),+ migrations.AlterField(+ model_name="signalreportcheck",+ name="last_outcome",+ field=models.CharField(+ blank=True,+ choices=[+ ("passed", "Passed"),+ ("failed", "Failed"),+ ("errored", "Errored"),+ ("inconclusive", "Inconclusive"),+ ],+ max_length=20,+ null=True,+ ),+ ),+ migrations.AlterField(+ model_name="signalreportcheck",+ name="status",+ field=models.CharField(+ choices=[+ ("pending", "Pending"),+ ("active", "Active"),+ ("passed", "Passed"),+ ("failed", "Failed"),+ ("errored", "Errored"),+ ("inconclusive", "Inconclusive"),+ ("expired", "Expired"),+ ("cancelled", "Cancelled"),+ ],+ default="active",+ max_length=20,+ ),+ ),+ ]diff --git a/products/signals/backend/migrations/max_migration.txt b/products/signals/backend/migrations/max_migration.txtindex d1e004eecda8..5d312cd4d84a 100644--- a/products/signals/backend/migrations/max_migration.txt+++ b/products/signals/backend/migrations/max_migration.txt@@ -1 +1 @@-0155_signalscoutconfig_rubrics+0156_signalreportcheck_inconclusivediff --git a/products/signals/backend/models.py b/products/signals/backend/models.pyindex 63413a221f58..41422f1e5dfc 100644--- a/products/signals/backend/models.py+++ b/products/signals/backend/models.py@@ -2160,8 +2160,8 @@ class SignalReportCheck(UUIDModel):transition to RESOLVED sets its `next_run_at`. That makes the resolve the clock for every kind offix, including the ones that never had a pull request.- Terminal statuses are final. A check that passed, failed, errored out, expired, or was cancelled- is never rescheduled; the author writes a new check instead, so a result artefact always refers+ Terminal statuses are final. A check that passed, failed, errored out, ended inconclusive,+ expired, or was cancelled is never rescheduled; the author writes a new check instead, so a result artefact always refersto a row whose state explains it."""@@ -2182,6 +2182,8 @@ class SignalReportCheck(UUIDModel):PASSED = "passed"FAILED = "failed"ERRORED = "errored"+ # The runs worked but could not settle the claim. `last_outcome_reason` says why.+ INCONCLUSIVE = "inconclusive"EXPIRED = "expired"CANCELLED = "cancelled"@@ -2193,6 +2195,17 @@ class SignalReportCheck(UUIDModel):PASSED = "passed"FAILED = "failed"ERRORED = "errored"+ INCONCLUSIVE = "inconclusive"++ class InconclusiveReason(models.TextChoices):+ # The data can arrive later: a rollout lag, a soak not complete, too few samples so far.+ AWAITING_DATA = "awaiting_data"+ # The data the check needs is not captured, so waiting does not help.+ UNMEASURABLE = "unmeasurable"+ # Only a person or another environment can do it: a device, SSH, staging, a test suite.+ NEEDS_MANUAL_VERIFICATION = "needs_manual_verification"+ # No merged fix or deploy time defines a post-fix window.+ NO_FIX_TO_MEASURE = "no_fix_to_measure"# Environment-scoped, not project-scoped. `SignalReport` stores the environment's own team, and a# check has to sit on the same team as its report or the report's reads never find it and its@@ -2226,8 +2239,13 @@ class SignalReportCheck(UUIDModel):status = models.CharField(max_length=20, choices=Status, default=Status.ACTIVE)consecutive_errors = models.PositiveIntegerField(default=0)+ # Consecutive `awaiting_data` verdicts. Kept apart from `consecutive_errors`, because a run that+ # waits on data did its job and must not spend the error budget.+ consecutive_inconclusive = models.PositiveIntegerField(default=0, db_default=0)last_run_at = models.DateTimeField(null=True, blank=True)last_outcome = models.CharField(max_length=20, choices=Outcome, null=True, blank=True)+ # Set only when `last_outcome` is `inconclusive`.+ last_outcome_reason = models.CharField(max_length=30, choices=InconclusiveReason, null=True, blank=True)# When an `agent` check's scout run was dispatched, cleared as soon as a verdict is recorded.# It is what makes the dispatch closable: `scout-check-record-result` refuses a check no run is# waiting on, and the coordinator reads a stale value as a run that ended without answering.diff --git a/products/signals/backend/report_check_execution.py b/products/signals/backend/report_check_execution.pyindex 0684925061b7..ab93cb2ee1ca 100644--- a/products/signals/backend/report_check_execution.py+++ b/products/signals/backend/report_check_execution.py@@ -54,11 +54,13 @@ from products.signals.backend.report_check_telemetry import (capture_report_checks_expired,)from products.signals.backend.report_checks import (+ AWAITING_DATA_RETRY_WAITS,DEFAULT_CHECK_SOAK_HOURS,MAX_CHECK_HORIZON,MAX_CONSECUTIVE_CHECK_ERRORS,CheckComparison,CheckConfigValidationError,+ CheckInconclusiveReason,CheckOutcome,MetricThresholdConfig,parse_check_config,@@ -96,6 +98,7 @@ class CheckRunSummary:passed: intfailed: interrored: int+ inconclusive: int = 0# An `agent` check the tick started a scout run for, and one the fleet could not take yet.# Neither is an outcome: both rows are still active and still owe a verdict.dispatched: int = 0@@ -107,6 +110,13 @@ class CheckVerdict:outcome: CheckOutcomeexplanation: strobserved_value: float | None = None+ # Required on an `inconclusive` verdict and refused on any other, so a stored reason always+ # explains the outcome next to it.+ reason: CheckInconclusiveReason | None = None++ def __post_init__(self) -> None:+ if (self.outcome == "inconclusive") != (self.reason is not None):+ raise ValueError("an `inconclusive` verdict needs a reason, and no other verdict takes one")@frozen@@ -226,6 +236,11 @@ def _next_state(check: SignalReportCheck, verdict: CheckVerdict, now: datetime)Re-arming anchors on `now` rather than the missed slot, so a coordinator outage cannot leave arecurring check owing a burst of catch-up runs.++ An `inconclusive` verdict never counts toward `MAX_CONSECUTIVE_CHECK_ERRORS`, because the run+ worked. Only `awaiting_data` keeps the check open. It retires as `inconclusive` when its retries+ run out or the next look would fall past the horizon, so a check that said why on every run does+ not end as a silent `expired`."""if verdict.outcome == "failed":return _CheckTransition(@@ -246,6 +261,19 @@ def _next_state(check: SignalReportCheck, verdict: CheckVerdict, now: datetime)status=SignalReportCheck.Status.ACTIVE, next_run_at=retry_at, runs_remaining=check.runs_remaining)+ if verdict.outcome == "inconclusive":+ retries = check.consecutive_inconclusive+ can_wait = verdict.reason == "awaiting_data" and retries < len(AWAITING_DATA_RETRY_WAITS)+ next_look_at = now + AWAITING_DATA_RETRY_WAITS[retries] if can_wait else None+ # `>=`, because a row due exactly at its horizon is swept rather than collected.+ if next_look_at is None or next_look_at >= check.expires_at:+ return _CheckTransition(+ status=SignalReportCheck.Status.INCONCLUSIVE, next_run_at=None, runs_remaining=check.runs_remaining+ )+ return _CheckTransition(+ status=SignalReportCheck.Status.ACTIVE, next_run_at=next_look_at, runs_remaining=check.runs_remaining+ )+runs_remaining = max(0, check.runs_remaining - 1)if runs_remaining == 0 or check.run_interval_minutes is None:return _CheckTransition(status=SignalReportCheck.Status.PASSED, next_run_at=None, runs_remaining=runs_remaining)@@ -304,7 +332,14 @@ def record_check_verdict(current.runs_remaining = transition.runs_remainingcurrent.last_run_at = nowcurrent.last_outcome = verdict.outcome- current.consecutive_errors = current.consecutive_errors + 1 if verdict.outcome == "errored" else 0+ current.last_outcome_reason = verdict.reason+ if verdict.outcome == "errored":+ current.consecutive_errors += 1+ elif verdict.outcome != "inconclusive":+ current.consecutive_errors = 0+ current.consecutive_inconclusive = (+ current.consecutive_inconclusive + 1 if verdict.outcome == "inconclusive" else 0+ )if transition.next_run_at is not None:current.next_run_at = transition.next_run_at# Whatever the verdict, no run is waiting on this check any more. Clearing it here rather@@ -317,7 +352,9 @@ def record_check_verdict("runs_remaining","last_run_at","last_outcome",+ "last_outcome_reason","consecutive_errors",+ "consecutive_inconclusive","next_run_at","dispatched_at","updated_at",@@ -332,6 +369,7 @@ def record_check_verdict(title=current.title,outcome=verdict.outcome,explanation=verdict.explanation,+ reason=verdict.reason,observed_value=verdict.observed_value,baseline_value=config.baseline_value if config is not None else None,threshold=_describe_comparison(config.comparison) if config is not None else None,@@ -608,7 +646,14 @@ def run_due_report_checks(*, now: datetime | None = None, limit: int = MAX_CHECKexpired = expire_overdue_checks(now)park_checks_on_unresolved_reports(now)deadline = time.monotonic() + CHECK_RUN_TIME_BUDGET_SECONDS- counts: dict[str, int] = {"passed": 0, "failed": 0, "errored": 0, "dispatched": 0, "deferred": 0}+ counts: dict[str, int] = {+ "passed": 0,+ "failed": 0,+ "errored": 0,+ "inconclusive": 0,+ "dispatched": 0,+ "deferred": 0,+ }for check in collect_due_checks(now, limit=limit):if time.monotonic() >= deadline:breakdiff --git a/products/signals/backend/report_check_telemetry.py b/products/signals/backend/report_check_telemetry.pyindex 1cbbb5bf80f8..f775e01268b3 100644--- a/products/signals/backend/report_check_telemetry.py+++ b/products/signals/backend/report_check_telemetry.py@@ -98,13 +98,14 @@ def capture_report_check_evaluated(Emitted per verdict rather than per check, so a recurring check that keeps holding reports oneevent each time it is measured. `check_status` says what the row became, so "answered, and that- is it" (`passed`, `failed`, `errored`) reads apart from "answered, and we look again"- (`active`).+ is it" (`passed`, `failed`, `errored`, `inconclusive`) reads apart from "answered, and we look+ again" (`active`).`run_id` names the scout run that decided an `agent` check. The deterministic lane has none,which is what tells the two lanes apart in the data. `reason` and `skill_name` are set when thefleet refused to run an `agent` check, so an errored verdict can be traced to the gate that- refused it. Requires `team.organization` to be loaded.+ refused it. `inconclusive_reason` says why an `inconclusive` verdict could not settle the claim,+ so the inconclusive rate can be split by reason. Requires `team.organization` to be loaded."""try:posthoganalytics.capture(@@ -113,9 +114,11 @@ def capture_report_check_evaluated(properties={**_identity(team, check),"outcome": check.last_outcome,+ "inconclusive_reason": check.last_outcome_reason,"check_status": check.status,"runs_remaining": check.runs_remaining,"consecutive_errors": check.consecutive_errors,+ "consecutive_inconclusive": check.consecutive_inconclusive,"hours_since_created": (timezone.now() - check.created_at).total_seconds() / 3600,"run_id": run_id,"skill_name": skill_name,diff --git a/products/signals/backend/report_checks.py b/products/signals/backend/report_checks.pyindex b84c26728995..4a88e721b842 100644--- a/products/signals/backend/report_checks.py+++ b/products/signals/backend/report_checks.py@@ -31,7 +31,9 @@ from pydantic import BaseModel, ConfigDict, Field, ValidationError, field_validafrom products.signals.backend.report_metrics import validate_live_metric_query, validate_metric_id-CheckOutcome = Literal["passed", "failed", "errored"]+CheckOutcome = Literal["passed", "failed", "errored", "inconclusive"]+# Why an `inconclusive` verdict could not settle the claim. Only `awaiting_data` keeps the check open.+CheckInconclusiveReason = Literal["awaiting_data", "unmeasurable", "needs_manual_verification", "no_fix_to_measure"]CheckOperator = Literal["lte", "gte", "between"]MAX_ACTIVE_CHECKS_PER_REPORT = 5@@ -64,6 +66,10 @@ DEFAULT_CHECK_EXPIRY_AFTER_LAST_RUN = timedelta(days=30)# A check whose query keeps failing is misconfigured, not unlucky. Three errored runs retire it so a# broken lane stops costing a query per tick.MAX_CONSECUTIVE_CHECK_ERRORS = 3+# How long an `awaiting_data` check waits before each look again. The list is short, because a check+# on a surface with almost no traffic can wait forever. After the last wait, the next+# `awaiting_data` verdict ends the check as `inconclusive`.+AWAITING_DATA_RETRY_WAITS = (timedelta(hours=24), timedelta(hours=72), timedelta(days=7))class CheckThresholdBounds(BaseModel):diff --git a/products/signals/backend/scout_harness/serializers.py b/products/signals/backend/scout_harness/serializers.pyindex 48c282608d66..e1fa575437a0 100644--- a/products/signals/backend/scout_harness/serializers.py+++ b/products/signals/backend/scout_harness/serializers.py@@ -704,7 +704,14 @@ class RecordCheckResultRequestSerializer(serializers.Serializer):check_id = serializers.UUIDField(help_text="The check this run was dispatched to answer, as given in the run note.")outcome = serializers.ChoiceField(- choices=SignalReportCheck.Outcome.choices,+ choices=[+ (outcome.value, outcome.label)+ for outcome in (+ SignalReportCheck.Outcome.PASSED,+ SignalReportCheck.Outcome.FAILED,+ SignalReportCheck.Outcome.ERRORED,+ )+ ],help_text=("`passed` when the expectation still holds, `failed` when it does not, and `errored` when you ""could not establish either. `failed` retires the check, so use it for a conclusion, not a suspicion."diff --git a/products/signals/backend/test/test_report_checks.py b/products/signals/backend/test/test_report_checks.pyindex c2bad5f43119..173ff5cbf507 100644--- a/products/signals/backend/test/test_report_checks.py+++ b/products/signals/backend/test/test_report_checks.py@@ -19,7 +19,7 @@ from posthog.models import PropertyDefinition, Teamfrom products.access_control.backend.facade.contracts import PropertyAccessLevelfrom products.access_control.backend.models.property_access_control import PropertyAccessControlfrom products.signals.backend.artefact_attribution import ArtefactAttribution-from products.signals.backend.artefact_schemas import Dismissal+from products.signals.backend.artefact_schemas import CheckResult, Dismissalfrom products.signals.backend.enums import SignalSourceProduct, SignalSourceTypefrom products.signals.backend.models import (SignalReport,@@ -54,6 +54,7 @@ from products.signals.backend.report_check_execution import (run_due_report_checks,)from products.signals.backend.report_checks import (+ AWAITING_DATA_RETRY_WAITS,DEFAULT_CHECK_EXPIRY_AFTER_LAST_RUN,DEFAULT_CHECK_SOAK_HOURS,MAX_ACTIVE_CHECKS_PER_REPORT,@@ -535,6 +536,65 @@ class TestReportCheckExecution(APIBaseTest):assert check.last_run_at is Noneassert self._results() == []+ def test_awaiting_data_backs_off_without_spending_the_error_budget_then_ends_inconclusive(self) -> None:+ check = self._check(+ consecutive_errors=MAX_CONSECUTIVE_CHECK_ERRORS - 1, expires_at=timezone.now() + MAX_CHECK_HORIZON+ )+ verdict = CheckVerdict(outcome="inconclusive", reason="awaiting_data", explanation="No deploy since the fix.")+ now = timezone.now()+ for expected_wait in (timedelta(hours=24), timedelta(hours=72), timedelta(days=7)):+ record_check_verdict(check, verdict, now=now)+ check.refresh_from_db()+ assert check.status == SignalReportCheck.Status.ACTIVE+ assert check.next_run_at == now + expected_wait+ assert check.consecutive_errors == MAX_CONSECUTIVE_CHECK_ERRORS - 1+ assert check.runs_remaining == 1+ now = check.next_run_at++ with patch(_CAPTURE) as capture, self.captureOnCommitCallbacks(execute=True):+ record_check_verdict(check, verdict, now=now)++ check.refresh_from_db()+ assert check.status == SignalReportCheck.Status.INCONCLUSIVE+ assert check.consecutive_inconclusive == len(AWAITING_DATA_RETRY_WAITS) + 1+ assert check.last_outcome_reason == SignalReportCheck.InconclusiveReason.AWAITING_DATA+ results = self._results()+ assert len(results) == len(AWAITING_DATA_RETRY_WAITS) + 1+ assert json.loads(results[-1].content)["reason"] == "awaiting_data"+ properties = capture.call_args.kwargs["properties"]+ assert properties["outcome"] == "inconclusive"+ assert properties["inconclusive_reason"] == "awaiting_data"+ assert properties["check_status"] == SignalReportCheck.Status.INCONCLUSIVE++ @parameterized.expand(+ [+ ("unmeasurable", "unmeasurable", timedelta(days=30)),+ ("needs_manual_verification", "needs_manual_verification", timedelta(days=30)),+ ("no_fix_to_measure", "no_fix_to_measure", timedelta(days=30)),+ ("awaiting_data_past_the_horizon", "awaiting_data", timedelta(hours=12)),+ ]+ )+ def test_an_inconclusive_verdict_that_waiting_cannot_settle_retires_the_check(+ self, _name, reason, expires_in+ ) -> None:+ check = self._check(expires_at=timezone.now() + expires_in)+ record_check_verdict(+ check, CheckVerdict(outcome="inconclusive", reason=reason, explanation="No denominator event.")+ )++ check.refresh_from_db()+ assert check.status == SignalReportCheck.Status.INCONCLUSIVE+ assert check.last_outcome_reason == reason+ assert check.consecutive_errors == 0++ def test_a_verdict_and_its_result_refuse_a_reason_that_does_not_match_the_outcome(self) -> None:+ with self.assertRaises(ValueError):+ CheckVerdict(outcome="inconclusive", explanation="Too few samples.")+ with self.assertRaises(ValueError):+ CheckVerdict(outcome="errored", reason="awaiting_data", explanation="The query failed.")+ with self.assertRaises(PydanticValidationError):+ CheckResult(check_id="c", kind="agent", title="t", outcome="inconclusive", explanation="Too few samples.")+def test_an_unrun_check_past_its_horizon_expires(self) -> None:check = self._check(next_run_at=timezone.now() + timedelta(days=1), expires_at=timezone.now() - timedelta(days=1)diff --git a/products/signals/frontend/generated/api.schemas.ts b/products/signals/frontend/generated/api.schemas.tsindex 0bb381d394bd..57a40d670dec 100644--- a/products/signals/frontend/generated/api.schemas.ts+++ b/products/signals/frontend/generated/api.schemas.ts@@ -2756,6 +2756,7 @@ export const SignalReportCheckKindEnumApi = {* * `passed` - Passed* * `failed` - Failed* * `errored` - Errored+ * * `inconclusive` - Inconclusive* * `expired` - Expired* * `cancelled` - Cancelled*/@@ -2768,6 +2769,7 @@ export const SignalReportCheckStatusEnumApi = {Passed: 'passed',Failed: 'failed',Errored: 'errored',+ Inconclusive: 'inconclusive',Expired: 'expired',Cancelled: 'cancelled',} as const@@ -2869,6 +2871,7 @@ export type SignalReportCheckConfigApi = MetricThresholdConfigApi | AgentCheckCo* * `passed` - Passed* * `failed` - Failed* * `errored` - Errored+ * * `inconclusive` - Inconclusive*/export type SignalReportCheckOutcomeEnumApi =(typeof SignalReportCheckOutcomeEnumApi)[keyof typeof SignalReportCheckOutcomeEnumApi]@@ -2877,6 +2880,7 @@ export const SignalReportCheckOutcomeEnumApi = {Passed: 'passed',Failed: 'failed',Errored: 'errored',+ Inconclusive: 'inconclusive',} as constexport interface SignalReportCheckApi {@@ -2897,6 +2901,7 @@ export interface SignalReportCheckApi {* * `passed` - Passed* * `failed` - Failed* * `errored` - Errored+ * * `inconclusive` - Inconclusive* * `expired` - Expired* * `cancelled` - Cancelled */readonly status: SignalReportCheckStatusEnumApi@@ -2927,7 +2932,8 @@ export interface SignalReportCheckApi {** * `passed` - Passed* * `failed` - Failed- * * `errored` - Errored */+ * * `errored` - Errored+ * * `inconclusive` - Inconclusive */readonly last_outcome: SignalReportCheckOutcomeEnumApi | 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.@@ -5061,6 +5067,20 @@ export interface SignalScoutRunDetailApi {metadata: SignalScoutRunDetailApiMetadata}+/**+ * * `passed` - Passed+ * * `failed` - Failed+ * * `errored` - Errored+ */+export type RecordCheckResultRequestOutcomeEnumApi =+ (typeof RecordCheckResultRequestOutcomeEnumApi)[keyof typeof RecordCheckResultRequestOutcomeEnumApi]++export const RecordCheckResultRequestOutcomeEnumApi = {+ Passed: 'passed',+ Failed: 'failed',+ Errored: 'errored',+} as const+/*** Request body for `scout-check-record-result`: the verdict on one dispatched report check.*/@@ -5072,7 +5092,7 @@ export interface RecordCheckResultRequestApi {* * `passed` - Passed* * `failed` - Failed* * `errored` - Errored */- outcome: SignalReportCheckOutcomeEnumApi+ outcome: RecordCheckResultRequestOutcomeEnumApi/*** One or two sentences on what you looked at and what it showed. This is what a person reads on the report, so write it for them, with the numbers or entities you checked.* @maxLength 1000diff --git a/services/mcp/src/api/generated.ts b/services/mcp/src/api/generated.tsindex e32f0e09eefd..273aa201f6f5 100644--- a/services/mcp/src/api/generated.ts+++ b/services/mcp/src/api/generated.ts@@ -67336,6 +67336,7 @@ export namespace Schemas {* * `passed` - Passed* * `failed` - Failed* * `errored` - Errored+ * * `inconclusive` - Inconclusive* * `expired` - Expired* * `cancelled` - Cancelled*/@@ -67348,6 +67349,7 @@ export namespace Schemas {Passed: 'passed',Failed: 'failed',Errored: 'errored',+ Inconclusive: 'inconclusive',Expired: 'expired',Cancelled: 'cancelled',} as const;@@ -67356,6 +67358,7 @@ export namespace Schemas {* * `passed` - Passed* * `failed` - Failed* * `errored` - Errored+ * * `inconclusive` - Inconclusive*/export type SignalReportCheckOutcomeEnum = typeof SignalReportCheckOutcomeEnum[keyof typeof SignalReportCheckOutcomeEnum];@@ -67364,6 +67367,7 @@ export namespace Schemas {Passed: 'passed',Failed: 'failed',Errored: 'errored',+ Inconclusive: 'inconclusive',} as const;export interface SignalReportCheck {@@ -67384,6 +67388,7 @@ export namespace Schemas {* * `passed` - Passed* * `failed` - Failed* * `errored` - Errored+ * * `inconclusive` - Inconclusive* * `expired` - Expired* * `cancelled` - Cancelled */readonly status: SignalReportCheckStatusEnum;@@ -67414,7 +67419,8 @@ export namespace Schemas {** * `passed` - Passed* * `failed` - Failed- * * `errored` - Errored */+ * * `errored` - Errored+ * * `inconclusive` - Inconclusive */readonly last_outcome: SignalReportCheckOutcomeEnum | 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.@@ -86890,6 +86896,20 @@ export namespace Schemas {ci_rerun_error?: string | null;}+ /**+ * * `passed` - Passed+ * * `failed` - Failed+ * * `errored` - Errored+ */+ export type RecordCheckResultRequestOutcomeEnum = typeof RecordCheckResultRequestOutcomeEnum[keyof typeof RecordCheckResultRequestOutcomeEnum];+++ export const RecordCheckResultRequestOutcomeEnum = {+ Passed: 'passed',+ Failed: 'failed',+ Errored: 'errored',+ } as const;+/*** Request body for `scout-check-record-result`: the verdict on one dispatched report check.*/@@ -86901,7 +86921,7 @@ export namespace Schemas {* * `passed` - Passed* * `failed` - Failed* * `errored` - Errored */- outcome: SignalReportCheckOutcomeEnum;+ outcome: RecordCheckResultRequestOutcomeEnum;/*** One or two sentences on what you looked at and what it showed. This is what a person reads on the report, so write it for them, with the numbers or entities you checked.* @maxLength 1000