Skip to content

Conversation

@timothy-nunn
Copy link
Collaborator

Currently, if we run $N$ regression tests then we make $N + 1$ API requests; $1$ request to the get a list of files, the other $N$ downloading the reference files.

With this PR, the MFiles get cached locally by their scenario name and hash. This means a GitHub API request to download the file only occurs once ever, rather than once every time the test suite is run.

@timothy-nunn timothy-nunn requested a review from a team as a code owner January 29, 2026 13:28
@codecov-commenter
Copy link

codecov-commenter commented Jan 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 46.47%. Comparing base (e06c522) to head (b3d92b5).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4069      +/-   ##
==========================================
- Coverage   46.60%   46.47%   -0.14%     
==========================================
  Files         122      122              
  Lines       28711    28837     +126     
==========================================
+ Hits        13381    13401      +20     
- Misses      15330    15436     +106     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@je-cook je-cook self-assigned this Jan 29, 2026
@timothy-nunn timothy-nunn requested a review from je-cook January 29, 2026 15:46
@je-cook je-cook merged commit 07334fb into main Jan 29, 2026
10 checks passed
@je-cook je-cook deleted the cache-reference-mfiles branch January 29, 2026 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants