Skip to content
Proud to collaborate with Microsoft for Startups

runner.execution-launch-kubernetes ​

Launch one ephemeral GitHub Actions runner execution as a Kubernetes Job

Launch one ephemeral GitHub Actions runner as a Kubernetes Job.

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-runners
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
runner_group_uuiduuidYes—UUID of the RunnerGroup this action operates on, picked from the organization's list of runner groups.
organization_uuiduuidYes—UUID of the caller's organization, injected server-side from the authenticated request; scopes the operation to the correct tenant.
runner_execution_uuiduuidNo—UUID of an existing RunnerExecution to reuse instead of creating a new one, picked from the group's executions. Optional — a new execution is created when absent.
environmentdictNo—Extra environment variables to pass to the runner container
runner_imagestringNo—Optional container image override for this execution; defaults to the group's config.container_image.

Output Schema ​

FieldTypeRequiredDefaultDescription
runner_group_uuiduuidNo—UUID of the RunnerGroup this action operates on, picked from the organization's list of runner groups; echoed on output alongside terminal/error payloads.
organization_uuiduuidNo—UUID of the caller's organization, injected server-side from the authenticated request; scopes the operation to the correct tenant. Echoed on output alongside terminal/error payloads.
runner_execution_uuiduuidNo—UUID of the RunnerExecution this action operates on, picked from the organization's (optionally group-scoped) list of executions; echoed on output alongside terminal/error payloads.
workflow_uuidstringNo—Engine workflow-run identifier (or, for GitHub-Actions-triggered flows, an external GitHub Actions run id) associated with this record; not a platform entity foreign key despite the name. No source is attached since there is no list/query workflow for an internal run id.
statusstringNo——
outcomestringNo——
initiated_atstringNo——
completed_atstringNo——
failed_atstringNo——
failure_reasonstringNo——
errorstringNo——
error_typestringNo——
actor_uuiduuidNo—UUID of the user or service actor who triggered this action, injected server-side from the authenticated request when available; used for audit/attribution only. Optional — omitted for system or service-triggered actions with no human actor.
reasonstringNo——
workflow_run_uuidstringNo—Engine-stamped correlation/run id for this DAG execution (ADR-015/E1 plumbing), written into state_data by action_start; not a foreign key to any business entity. No source is attached since there is no list/query workflow for an internal run id.
retry_countintegerNo——
retried_fromstringNo——
failed_stepjsonNo——
failed_layerjsonNo——
failed_at_statejsonNo——
compensation_triggerjsonNo——
comp_current_layerjsonNo——
comp_queuejsonNo——
comp_retry_countjsonNo——
namespacestringNo——
job_namestringNo——
job_uidstringNo——
task_arnstringNo——
container_imagestringNo——
last_statusstringNo——
runtime_envdictNo——
environmentdictNo——
commandlistNo——
registration_tokenstringNo——
runner_namestringNo——
start_commandlistNo——
runner_imagestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
initiatedYesNo—prepare—
building_start_commandNoNo—launch_job—
getting_registration_tokenNoNo—build_start_command—
launching_jobNoNo—complete—
preparingNoNo—get_registration_token—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
initiatedpreparepreparing—
preparingget_registration_tokengetting_registration_token—
getting_registration_tokenbuild_start_commandbuilding_start_command—
building_start_commandlaunch_joblaunching_job—
launching_jobcompletecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "runner.execution-launch-kubernetes",
  "initial_data": {
    "runner_group_uuid": "value",
    "organization_uuid": "value"
  }
}