How does ARC scale to zero, and what is the trade-off?
IntermediateConceptCaching, Artifacts, Runners & ARC
Answer
With minRunners: 0, the listener keeps no idle runner pods; when a job is queued, it scales up, and the new pod must be scheduled, pull the runner image, and register before the job starts. If the node pool also scales to zero, add node provisioning time (Karpenter or Cluster Autoscaler, often 60 to 120 seconds). Trade-off: zero idle cost vs cold-start latency. Common compromise: minRunners: 1 to 2 during business hours, larger and pre-pulled runner images, and a warm node.
More on Caching, Artifacts, Runners & ARC
How does `actions/cache` match keys and restore keys?IntermediateWhich caches can a branch restore from?AdvancedWhat are the cache size limits and eviction rules?BeginnerWhen should you use setup-* built-in caching instead of `actions/cache`?BeginnerWhy cache the package manager's download cache rather than `node_modules`?AdvancedHow do `actions/cache/restore` and `actions/cache/save` help?Advanced