{
  "id": 7867454,
  "title": "Github Actions: Automatically retry CI jobs that a spot instance claim killed",
  "url": "https://urgent.news/2026/09/16/github-actions-re-intentar-automaticamente-los-jobs-de-ci-que-un",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-09-16T20:42:58.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/elchesco_/github-actions-re-intentar-automaticamente-los-jobs-de-ci-que-un-reclamo-de-spot-instance-mato-1f79"
  },
  "original_language": "es",
  "account": "A GitHub Actions workflow that detects and reruns jobs that fail due to a self-hosted runner being terminated by AWS while running is described. The runner, which is part of an Auto Scaling Group, was terminated while executing a test, causing GitHub to display a red X indicating a failed test. To address this, a workflow was created that checks the job logs for specific error messages indicating a runner shutdown and reruns the failed jobs. The workflow uses a Python script and a YAML configuration file. Additionally, changes were made to the infrastructure, including updating the Auto Scaling Group configuration and runner registration, to prevent similar issues in the future.",
  "summary": "Mi CI corre en un runner spot ARM64 autoalojado. Cuando AWS se lleva la instancia de vuelta a media corrida, GitHub muestra una X roja en cualquier paso que estuviera corriendo, y se ve idéntico a una prueba que falla. Esto es un workflow que lee el log del job, reconoce esa falla específica, y re-corre los jobs fallidos por su cuenta. Las fallas de prueba reales se quedan en rojo. Stack: GitHub…",
  "key_points": [
    "GitHub Actions can automatically retry CI jobs killed by spot instance reclaim.",
    "Listener triggers after CI or deployment run finishes to identify failed runs.",
    "Three cases prevent automatic retry: recent run, concurrency group issue, or shutdown signal."
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}