Skip to content

Schema: gate_failed_payload

Payload for a CI gate that concluded with a failure condition. Covers conclusions: failure, timed_out, cancelled, action_required. Attached to a generic Event with event_type='GateFailed'.

Payload schema for GateFailed events.

Generated from src/spec_kitty_events/schemas/gate_failed_payload.schema.json by scripts/schema_pages.py; never hand-edit (C-001).

Family

Part of the Review, Audit and Decision Events event family.

Diagram

GateFailedPayloadStructure of the JSON Schema GateFailedPayload.$idspec-kitty-events/gate_failed_payload$schemahttps://json-schema.org/draft/2020-12/schemadescriptionPayload for a CI gate that concluded with a failure condition. Covers conclusions: failure, timed_out, cancelled, action_required. Attached to a generic Event with event_type='GateFailed'.properties   required   titleGateFailedPayloadtypeobjectcheck_run_id   check_run_url   conclusion   delivery_id   external_provider   gate_name   gate_type   pr_number   descriptionGitHub check run IDexclusiveMinimum0titleCheck Run IdtypeintegerdescriptionURL of the GitHub check runformaturiminLength1titleCheck Run UrltypestringdescriptionAllowed GitHub check_run conclusions for failed gates.enum   titleConclusiontypestringfailuretimed_outcancelledaction_requireddescriptionWebhook delivery ID used as idempotency keyminLength1titleDelivery IdtypestringconstgithubdescriptionExternal CI provider. Currently only 'github' is supported.titleExternal ProvidertypestringdescriptionName of the CI gate (e.g., 'ci/build', 'ci/lint')minLength1titleGate NametypestringconstcidescriptionType of gate. Currently only 'ci' is supported.titleGate TypetypestringanyOf   default␀descriptionPull request number, if the gate is associated with a PRtitlePr Number      exclusiveMinimum0typeintegertypenullgate_namegate_typeconclusionexternal_providercheck_run_idcheck_run_urldelivery_id
Structure of the JSON Schema GateFailedPayload.

Properties

  • check_run_id (integer, required): GitHub check run ID
  • check_run_url (string, required): URL of the GitHub check run
  • conclusion (enum: failure, timed_out, cancelled, action_required, required): Allowed GitHub check_run conclusions for failed gates.
  • delivery_id (string, required): Webhook delivery ID used as idempotency key
  • external_provider (const: "github", required): External CI provider. Currently only 'github' is supported.
  • gate_name (string, required): Name of the CI gate (e.g., 'ci/build', 'ci/lint')
  • gate_type (const: "ci", required): Type of gate. Currently only 'ci' is supported.
  • pr_number (integer | null): Pull request number, if the gate is associated with a PR

Source

Schema file: schemas/gate_failed_payload.schema.json