The Tech Meta

An inside look at tech's evolving playbook

Stale CI runs cancelled

Test observed

A new push cancels the CI runs it makes stale, in one workflow or more.

When a new commit is pushed to a branch or a pull request, the CI runs still going for the previous commit are cancelled, since their result no longer matters. In GitHub Actions it is a concurrency group with cancel-in-progress set to true, usually keyed on the branch or the pull request. Teams set it to save runner time and to get the result of the latest commit sooner. The site counts a repo when at least one of its workflows sets cancel-in-progress to anything but false; a group without it only queues runs, and does not count.

  • Pro scene today: 77%, 170 of 221 pro repos
  • In three months: +6 pts (13 pro repos added it)
  • Kept: 98%, 157 of 160 that had it 3 months ago or before

Pro 77% · Ladder 48% · 1.6×

In the pro repos

The 6 most starred of the 170 pro repos that have it today.

By month

MonthPro scene
June 202544%
July 202546%
August 202548%
September 202548%
October 202551%
November 202552%
December 202554%
January 202656%
February 202657%
March 202659%
April 202662%
May 202663%
June 202665%
July 202667%
August 202670%
September 202671%
October 202673%
November 202675%
today77%

Evidence

Observed in the repos only: no published study is quoted for it yet.

How it is detected

Looks for a workflow with cancel-in-progress set to anything but false. Read in workflow files. How the method counts

Related practices

More in Test, the most adopted first.

Levels of evidence