Test caching to improve workflow performance #1598
Labels
analysis-required
This issue requires review or analysis work to complete
enhancement
This issue or pull request will add new or improve existing functionality
Testing
This issue or task involves testing the automation tool function
💡 Summary
Probably the most time-consuming part of any workflow is waiting for ScubaGear to initialize. Caching is probably the best solution for this problem, and GitHub's caches were designed specifically with dependencies in mind. I have explored the use of caching with the restore-use-cache paradigm already (https://github.com/cisagov/ScubaGear/blob/test-caching-for-workflows/.github/workflows/test_caching.yaml), and it seems to work.
This issue would be to take this paradigm and apply it to the simplest workflow possible that initializes (maybe smoke tests, maybe workflow pipeline).
Motivation and context
Workflows that initialize are slow. The workflow pipeline takes 12 minutes, and around 8 of those are just initializing. If this caching works, it would significantly improve performance and reduce wait times.
Implementation notes
Please provide details for implementation, such as:
Acceptance criteria
How do we know when this work is done?
NOTE: Follow on tasking would be to create issues for each of the remaining workflows that should use this same concept.
The text was updated successfully, but these errors were encountered: