actions / actions/runner

A lot of random "A task was cancelled" errors

Open
#3,819 34 comments 48 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C#
Stars
6.3k
Forks
1.4k
Avg merge
1d 16h
Merged PRs (30d)
24

Description

Describe the bug

We've encountered intermittent "A task was cancelled" errors during various phases of our GitHub Actions workflows. These errors occur inconsistently—sometimes during the setup-job phase, and other times mid-execution within a job step.

In the logs, we didn't find anything interesting...
And we are looking for a direction to investigate
To Reproduce

Steps to reproduce the behavior:

  1. run a lot of matrix jobs in self self-hosted runner

Runner Version and Platform

Version of your runner?

linux 2.323.0

What's not working?

Image

we are running the runner on a self hosted aws eks cluster with ARC

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the runner logs and the attached failure evidence, comparing cancellations during setup-job with cancellations inside a job step. Reproduce under many matrix jobs on the self-hosted AWS EKS cluster using ARC and identify whether the behavior is specific to runner version 2.323.0 or the cluster setup. Done means a reliable reproduction or a narrowed cause with supporting logs and environment details.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, csharp, kubernetes
Domain
ci-cd, devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.