Shipfox events
See which Shipfox run and job events can start a workflow, when each one fires, and what it contains.
Filter out your own runs
Shipfox doesn't stop a workflow from triggering itself. Filter on
event.project.name and event.run.origin, and exclude the workflow's own
path. See Avoid trigger
loops.
Reruns and dev runs send these events too. Filter on event.run.attempt == 1
to skip reruns, or on event.run.origin == 'synced' to skip dev runs.
When events fire
Each run attempt sends its own run.requested and run.completed events. It
sends run.started only if it starts running, so an attempt cancelled while it
waits skips it. A job that a rerun keeps from the previous attempt sends no job
events in the new attempt.
A job sends job.queued when an execution is queued, job.started when a
runner claims that execution, and job.completed once. An execution cancelled
before a runner claims it sends no job.started. A one-shot job has one
execution. A listening job starts one execution for each matching event or
event batch, so it sends job.queued and job.started many times in one run.
Read event.job.execution.sequence to tell its executions apart. The listening
job sends job.completed once, when it resolves.
A skipped job sends only job.completed, with event.job.status set to
skipped.
Settings → Events lists a Shipfox event only when a workflow was listening for it. Runs that ended before you added the trigger have no event to inspect or replay.
Event catalog
The shipfox integration is available without any setup.
- Events
- 6in 6 groups
- Learn more
- Fields appear below.
Run requested
1 eventA workflow run attempt was requested.
Events
Payload
projectobjectRequiredProject that owns the run.
Show 2 attributesHide 2 attributes
idstring (uuid)RequirednamestringRequiredProject name when Shipfox delivers the event.
workflowobjectRequiredWorkflow that the run executes.
Show 3 attributesHide 3 attributes
idstring (uuid)RequiredWorkflow definition ID.
namestringRequiredpathstring | nullRequiredWorkflow file path in the repository, for example `.shipfox/workflows/build.yml`.
runobjectRequiredRun that the event is about.
Show 12 attributesHide 12 attributes
idstring (uuid)RequirednumberintegerRequiredRun number within the workflow.
attemptintegerRequiredRun attempt. A rerun increments it.
namestringRequiredoriginstringRequired`synced` for a run of a synced workflow definition, `dev` for a dev run.
Possible values: synced, dev
triggerobjectRequiredTrigger that started the run.
Show 2 attributesHide 2 attributes
sourcestringRequiredTrigger `source` that started the run.
eventstringRequiredEvent name that started the run.
refstring | nullRequiredGit ref of the run, when known.
commitstring | nullRequiredGit commit SHA of the run, when known.
parent_run_idstring (uuid) | nullRequiredID of the run that started this run with `start_workflow_run`.
root_run_idstring (uuid) | nullRequiredID of the first run in a chain of runs started with `start_workflow_run`.
created_atstring (date-time)RequiredTime the run was created.
statusstringRequired`waiting` when the run waits for its concurrency group, otherwise `pending`.
Possible values: pending, waiting
Run started
1 eventA workflow run attempt started running.
Events
Payload
projectobjectRequiredProject that owns the run.
Show 2 attributesHide 2 attributes
idstring (uuid)RequirednamestringRequiredProject name when Shipfox delivers the event.
workflowobjectRequiredWorkflow that the run executes.
Show 3 attributesHide 3 attributes
idstring (uuid)RequiredWorkflow definition ID.
namestringRequiredpathstring | nullRequiredWorkflow file path in the repository, for example `.shipfox/workflows/build.yml`.
runobjectRequiredRun that the event is about.
Show 13 attributesHide 13 attributes
idstring (uuid)RequirednumberintegerRequiredRun number within the workflow.
attemptintegerRequiredRun attempt. A rerun increments it.
namestringRequiredoriginstringRequired`synced` for a run of a synced workflow definition, `dev` for a dev run.
Possible values: synced, dev
triggerobjectRequiredTrigger that started the run.
Show 2 attributesHide 2 attributes
sourcestringRequiredTrigger `source` that started the run.
eventstringRequiredEvent name that started the run.
refstring | nullRequiredGit ref of the run, when known.
commitstring | nullRequiredGit commit SHA of the run, when known.
parent_run_idstring (uuid) | nullRequiredID of the run that started this run with `start_workflow_run`.
root_run_idstring (uuid) | nullRequiredID of the first run in a chain of runs started with `start_workflow_run`.
created_atstring (date-time)RequiredTime the run was created.
statusconstant "running"Requiredstarted_atstring (date-time)RequiredTime the run attempt started running.
Run completed
1 eventA workflow run attempt completed.
Events
Payload
projectobjectRequiredProject that owns the run.
Show 2 attributesHide 2 attributes
idstring (uuid)RequirednamestringRequiredProject name when Shipfox delivers the event.
workflowobjectRequiredWorkflow that the run executes.
Show 3 attributesHide 3 attributes
idstring (uuid)RequiredWorkflow definition ID.
namestringRequiredpathstring | nullRequiredWorkflow file path in the repository, for example `.shipfox/workflows/build.yml`.
runobjectRequiredRun that the event is about.
Show 16 attributesHide 16 attributes
idstring (uuid)RequirednumberintegerRequiredRun number within the workflow.
attemptintegerRequiredRun attempt. A rerun increments it.
namestringRequiredoriginstringRequired`synced` for a run of a synced workflow definition, `dev` for a dev run.
Possible values: synced, dev
triggerobjectRequiredTrigger that started the run.
Show 2 attributesHide 2 attributes
sourcestringRequiredTrigger `source` that started the run.
eventstringRequiredEvent name that started the run.
refstring | nullRequiredGit ref of the run, when known.
commitstring | nullRequiredGit commit SHA of the run, when known.
parent_run_idstring (uuid) | nullRequiredID of the run that started this run with `start_workflow_run`.
root_run_idstring (uuid) | nullRequiredID of the first run in a chain of runs started with `start_workflow_run`.
created_atstring (date-time)RequiredTime the run was created.
statusstringRequiredFinal status of the run attempt.
Possible values: succeeded, failed, cancelled
status_reasonstring | nullRequiredWhy the run attempt failed or was cancelled, when known.
Possible values: job_failed, timed_out, user_cancelled, concurrency_superseded, output_invalid, output_too_large
started_atstring (date-time) | nullRequiredTime the run attempt started running. `null` when it never started.
finished_atstring (date-time)RequiredTime the run attempt finished.
outputsobject | nullRequiredWorkflow `outputs` of a succeeded run. `null` for other statuses.
Job queued
1 eventA job execution was queued for a runner.
Events
Payload
projectobjectRequiredProject that owns the run.
Show 2 attributesHide 2 attributes
idstring (uuid)RequirednamestringRequiredProject name when Shipfox delivers the event.
workflowobjectRequiredWorkflow that the run executes.
Show 3 attributesHide 3 attributes
idstring (uuid)RequiredWorkflow definition ID.
namestringRequiredpathstring | nullRequiredWorkflow file path in the repository, for example `.shipfox/workflows/build.yml`.
runobjectRequiredRun that the event is about.
Show 11 attributesHide 11 attributes
idstring (uuid)RequirednumberintegerRequiredRun number within the workflow.
attemptintegerRequiredRun attempt. A rerun increments it.
namestringRequiredoriginstringRequired`synced` for a run of a synced workflow definition, `dev` for a dev run.
Possible values: synced, dev
triggerobjectRequiredTrigger that started the run.
Show 2 attributesHide 2 attributes
sourcestringRequiredTrigger `source` that started the run.
eventstringRequiredEvent name that started the run.
refstring | nullRequiredGit ref of the run, when known.
commitstring | nullRequiredGit commit SHA of the run, when known.
parent_run_idstring (uuid) | nullRequiredID of the run that started this run with `start_workflow_run`.
root_run_idstring (uuid) | nullRequiredID of the first run in a chain of runs started with `start_workflow_run`.
created_atstring (date-time)RequiredTime the run was created.
jobobjectRequiredJob that the event is about.
Show 6 attributesHide 6 attributes
idstring (uuid)RequiredkeystringRequiredJob key in the workflow `jobs` map.
modestringRequired`listening` for a listening job, otherwise `one_shot`.
Possible values: one_shot, listening
executionobjectRequiredJob execution the event is about.
Show 2 attributesHide 2 attributes
idstring (uuid)RequiredsequenceintegerRequiredExecution number within the job. A listening job has one per event batch.
statusconstant "pending"Requiredqueued_atstring (date-time)RequiredTime the execution was queued.
Job started
1 eventA runner claimed a job execution.
Events
Payload
projectobjectRequiredProject that owns the run.
Show 2 attributesHide 2 attributes
idstring (uuid)RequirednamestringRequiredProject name when Shipfox delivers the event.
workflowobjectRequiredWorkflow that the run executes.
Show 3 attributesHide 3 attributes
idstring (uuid)RequiredWorkflow definition ID.
namestringRequiredpathstring | nullRequiredWorkflow file path in the repository, for example `.shipfox/workflows/build.yml`.
runobjectRequiredRun that the event is about.
Show 11 attributesHide 11 attributes
idstring (uuid)RequirednumberintegerRequiredRun number within the workflow.
attemptintegerRequiredRun attempt. A rerun increments it.
namestringRequiredoriginstringRequired`synced` for a run of a synced workflow definition, `dev` for a dev run.
Possible values: synced, dev
triggerobjectRequiredTrigger that started the run.
Show 2 attributesHide 2 attributes
sourcestringRequiredTrigger `source` that started the run.
eventstringRequiredEvent name that started the run.
refstring | nullRequiredGit ref of the run, when known.
commitstring | nullRequiredGit commit SHA of the run, when known.
parent_run_idstring (uuid) | nullRequiredID of the run that started this run with `start_workflow_run`.
root_run_idstring (uuid) | nullRequiredID of the first run in a chain of runs started with `start_workflow_run`.
created_atstring (date-time)RequiredTime the run was created.
jobobjectRequiredJob that the event is about.
Show 7 attributesHide 7 attributes
idstring (uuid)RequiredkeystringRequiredJob key in the workflow `jobs` map.
modestringRequired`listening` for a listening job, otherwise `one_shot`.
Possible values: one_shot, listening
executionobjectRequiredJob execution the event is about.
Show 2 attributesHide 2 attributes
idstring (uuid)RequiredsequenceintegerRequiredExecution number within the job. A listening job has one per event batch.
statusconstant "running"Requiredrunner_labelsarray of string | nullRequiredLabels of the runner that claimed the execution, when known.
Minimum 1 item.
started_atstring (date-time)RequiredTime a runner claimed the execution.
Job completed
1 eventA job completed or was skipped.
Events
Payload
projectobjectRequiredProject that owns the run.
Show 2 attributesHide 2 attributes
idstring (uuid)RequirednamestringRequiredProject name when Shipfox delivers the event.
workflowobjectRequiredWorkflow that the run executes.
Show 3 attributesHide 3 attributes
idstring (uuid)RequiredWorkflow definition ID.
namestringRequiredpathstring | nullRequiredWorkflow file path in the repository, for example `.shipfox/workflows/build.yml`.
runobjectRequiredRun that the event is about.
Show 11 attributesHide 11 attributes
idstring (uuid)RequirednumberintegerRequiredRun number within the workflow.
attemptintegerRequiredRun attempt. A rerun increments it.
namestringRequiredoriginstringRequired`synced` for a run of a synced workflow definition, `dev` for a dev run.
Possible values: synced, dev
triggerobjectRequiredTrigger that started the run.
Show 2 attributesHide 2 attributes
sourcestringRequiredTrigger `source` that started the run.
eventstringRequiredEvent name that started the run.
refstring | nullRequiredGit ref of the run, when known.
commitstring | nullRequiredGit commit SHA of the run, when known.
parent_run_idstring (uuid) | nullRequiredID of the run that started this run with `start_workflow_run`.
root_run_idstring (uuid) | nullRequiredID of the first run in a chain of runs started with `start_workflow_run`.
created_atstring (date-time)RequiredTime the run was created.
jobobjectRequiredJob that the event is about.
Show 7 attributesHide 7 attributes
idstring (uuid)RequiredkeystringRequiredJob key in the workflow `jobs` map.
modestringRequired`listening` for a listening job, otherwise `one_shot`.
Possible values: one_shot, listening
statusstringRequiredFinal status of the job.
Possible values: succeeded, failed, cancelled, skipped
status_reasonstring | nullRequiredWhy the job failed, was cancelled, or was skipped, when known.
Possible values: dependency_not_completed, condition_false, default_gate_rejected, condition_rejected, condition_errored, user_cancelled, run_cancelled, concurrency_superseded, timed_out, lease_expired, provider_lost, lifecycle_violation, runner_lost, output_too_large, step_failed, unknown, output_invalid, runner_not_allowed
finished_atstring (date-time)RequiredTime the job finished.
outputsobject | nullRequiredJob `outputs` of a succeeded job. `null` for other statuses.