actions / actions/checkout

windows-2022 regression: post run actions/checkout@v2 timeouts

Open
#702 1 comment 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
8.9k
Forks
2.8k
PR merge metrics
No merged PRs in 30d

Description

While investigating some performance problems related to the newly introduced windows-2022 runner, I discovered that the checkout post run never ends, getting stuck forever https://github.com/ssbarnea/gha-bug/runs/5287610624?check_suite_focus=true

Even cancelling the workflow does not work!

The workflows used to reproduce this is simple as I was using it specially to debug regressions related to 2022 WSL, see https://github.com/ssbarnea/gha-bug/pull/1

It is clearly visible that jobs on ubuntu and on windows-2019 with wsl1 passed normally in like a minute while the other one got stuck.

Contributor guide

Open the contributing guide

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 linked reproduction workflow and run 5287610624, comparing the Ubuntu, Windows 2019 with WSL1, and Windows 2022 jobs. Confirm that actions/checkout@v2 remains stuck during its post-run phase and that cancellation fails; done means the Windows 2022 checkout completes and the workflow can be cancelled normally.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, typescript
Domain
ci-cd, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.