Skip to content

ci: caching on Windows got significantly slower #9319

Open
@anakin87

Description

@anakin87

In our integration tests jobs, we reuse an existing virtual environment,
cached and restored using actions/cache/save and actions/cache/restore.

On Windows GitHub runners, restoring the cache has become significantly slower.

Compare

This is notable because Windows Integration Tests (where cache restoring happens) are the bottleneck in our CI.

  • Even if we did some work recently on the CI, the slowdown appeared before.
  • I looked for related bug reports in the project issues, but I could not find any.
  • I also looked through their release notes, but they are not very informative.
  • (I know is that cache restoring use a different algorithm in Windows compared to Ubuntu and MacOs, but this doesn’t explain the significant slowdown.)

I will experiment with removing the cache altogether in Windows to see if this speeds up the workflow.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions