Urgent.News

What's breaking now, across thousands of outlets.

Tech

Github Actions: Automatically retry CI jobs that a spot instance claim killed

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…

Translated from Spanish Read in Spanish

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.

Written by urgent.news from Dev.to's report — not a translation of it. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

iOS 27.2 Could Save Your Marriage

The iOS 27.2 beta that Apple released today adds a feature that reminds you it's your anniversary when you call someone, as long as you've added the date in the Contacts app.

A Pedagogical Introduction to Porting a Conjugate Gradient Solver to CUDA

GPU programming tutorials often begin with isolated examples: vector addition, reductions, matrix multiplication, and memory coalescing.

  • HPCCG's conjugate gradient solver is ported to CUDA
  • Matrix stored as per-row pointers, incompatible with GPU
  • Flattened into Compressed Sparse Row (CSR) form for GPU compatibility

More from Wednesday 16 September →