ci(android): serialize heavy CI jobs in one queue #113

Merged
nsaspy merged 1 commit from ci/serialize-heavy-jobs into main 2026-09-06 15:04:30 +00:00
Owner

What changed

Adds a repository-wide heavy-ci concurrency group to the Android workflow. The nix workflows on #51/#54/#55 get the same group on their branches.

Why

The self-hosted docker runner degrades under concurrent heavy jobs. Twice now, 4+ parallel jobs (Android SDK installs plus nix closure builds) made its docker daemon stop responding and the runner cancelled every running job:

context deadline exceeded ... docker.sock ... The runner cancelled the job because it exceeds the maximum run time

With cancel-in-progress: false the heavy jobs queue one at a time instead of stampeding. Slow but reliable.

Verification

This PR's own Android run executes under the new queue.

Related: #88, #51, #54, #55

## What changed Adds a repository-wide `heavy-ci` concurrency group to the Android workflow. The nix workflows on #51/#54/#55 get the same group on their branches. ## Why The self-hosted docker runner degrades under concurrent heavy jobs. Twice now, 4+ parallel jobs (Android SDK installs plus nix closure builds) made its docker daemon stop responding and the runner cancelled every running job: > context deadline exceeded ... docker.sock ... The runner cancelled the job because it exceeds the maximum run time With `cancel-in-progress: false` the heavy jobs queue one at a time instead of stampeding. Slow but reliable. ## Verification This PR's own Android run executes under the new queue. Related: #88, #51, #54, #55
ci(android): serialize heavy CI jobs in one queue
All checks were successful
Android APK / build (pull_request) Successful in 25m11s
bed065ce7e
The self-hosted docker runner degrades under concurrent SDK/nix builds:
docker.sock starts timing out and the runner cancels every running job
(observed twice with 4+ parallel jobs). Route heavy workflows through a
single repository-wide concurrency group so they queue instead of
stampeding.
nsaspy merged commit 63587dce7a into main 2026-09-06 15:04:30 +00:00
Sign in to join this conversation.
No description provided.