Skip to content
Proud to collaborate with Microsoft for Startups

runner.pool-sweep-ec2-vm ​

[DEPRECATED — superseded by runner.pool-reconcile-ec2-vm (ADR-017, P5.T3)] Legacy periodic reconciliation for warm-pool runner groups on EC2: cloud state, provisioning timeout, age cap, idle TTL, GitHub heartbeat, orphan cleanup, drained-instance termination, scale-check top-up. No longer scheduled by any cron; remains in the registry only so in-flight calls finish. New code must use runner.pool-reconcile-ec2-vm.

Per-group warm-pool reconciliation sweep.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-runners-aws
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
runner_group_uuiduuidYes—UUID of the RunnerGroup this sweep operates on, picked from the organization's list of runner groups.

Output Schema ​

FieldTypeRequiredDefaultDescription
runner_group_uuiduuidNo—UUID of the RunnerGroup this sweep operated on, echoed from input.
warm_pool_enabledbooleanNo——
cloud_reconciled_failedintegerNo——
provisioning_timed_outintegerNo——
aged_outintegerNo——
idle_ttl_drainedintegerNo——
heartbeat_failedintegerNo——
github_orphans_deregisteredintegerNo——
terminations_startedintegerNo——
scale_check_startedbooleanNo——
step_errorslistNo——
outcomestringNo——
statusstringNo——
completed_atstringNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—sweep—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingsweepcompleted—
* (any state)failfailed—

API Usage ​

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

{
  "workflow_type": "runner.pool-sweep-ec2-vm",
  "initial_data": {
    "runner_group_uuid": "value"
  }
}