adoptium / adoptium/run-aqa

Caching dependencies to speed workflows

Open
#22 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
4
Forks
27
Avg merge
2d 9h
Merged PRs (30d)
8

Description

Run-aqa on windows depends on the installation of cygwin and corresponding packages installed by cygwin.

Jobs on GitHub-hosted runners start in a clean virtual environment and must download dependencies each time, causing increased network utilization, longer runtime, and increased cost. To help speed up the time it takes to recreate these files, GitHub can cache dependencies you frequently use in workflows. https://docs.github.com/en/actions/configuring-and-managing-workflows/caching-dependencies-to-speed-up-workflows

We'd like to use the caching to preinstall cygwin and corresponding packages required. Howevereach packages will be installed in specified directory. When using the caching first specified directory is tar-ed and restore the cached files to the path you configure. That is the linking setup when install the packages cann't be relinked and installed package which is in the different path from cygwin will not be restored.

If the dependencies will be installed to specified path using caching may help. If dependencies will be installed scattered in different path caching may not help.

Contributor guide

Open the contributing guide

Research direction

Start by locating the Windows workflow that runs AQA and reviewing how Cygwin and its packages are installed. Determine whether the dependencies can be placed under one cacheable directory; done means the workflow restores the cache correctly and runs without reinstalling the required packages.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
ci-cd
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.