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
GateFailedPayload Structure of the JSON Schema GateFailedPayload. $id spec-kitty-events/gate_failed_payload $schema https://json-schema.org/draft/2020-12/schema description 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'. properties required title GateFailedPayload type object check_run_id check_run_url conclusion delivery_id external_provider gate_name gate_type pr_number description GitHub check run ID exclusiveMinimum 0 title Check Run Id type integer description URL of the GitHub check run format uri minLength 1 title Check Run Url type string description Allowed GitHub check_run conclusions for failed
gates. enum title Conclusion type string failure timed_out cancelled action_required description Webhook delivery ID used as idempotency key minLength 1 title Delivery Id type string const github description External CI provider. Currently only 'github' is
supported. title External Provider type string description Name of the CI gate (e.g., 'ci/build',
'ci/lint') minLength 1 title Gate Name type string const ci description Type of gate. Currently only 'ci' is supported. title Gate Type type string anyOf default ␀ description Pull request number, if the gate is associated
with a PR title Pr Number exclusiveMinimum 0 type integer type null gate_name gate_type conclusion external_provider check_run_id check_run_url delivery_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