Repository navigation
BUILD: Take the free-threaded tests' data files from common-ci's shared copy - #298
Merged
Merged
Conversation
jwrosewell
marked this pull request as ready for review
December 1, 2026 13:56
This was referenced Dec 1, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The data files and test evidence the tests read are now downloaded once a day into one encrypted copy that every repository uses, by common-ci's Nightly Shared Assets workflow (51Degrees/common-ci#383). No repository, branch, pull request or run downloads its own copy, and nothing keeps one in a repository's own Actions cache. common-ci's
actions/fetch-assetsrestores the named assets from that copy, decrypting a licensed file withCACHE_ENCRYPTION_KEY, and no longer takescache,lazyor a license.What changes
.github/workflows/free-threaded-python.yml: theConfigurejob, which ran common-ci'sprefetch_assetsto fill this repository's Actions cache, is removed. Each test job restores the four free data files from the shared copy withactions/fetch-assets, which needs no key for free files, in place of restoring that cache entry..github/workflows/examples-published.yml: the free files are restored from the shared copy withoutcache, and the TAC file the data file update example's tests serve is restored from it withCACHE_ENCRYPTION_KEYin that step's environment, in place of a download with the data file license.ci/check-environment-variable-names.ps1:CACHE_ENCRYPTION_KEYjoins the names only CI uses.ci/free-threaded-python.Tests.ps1: expects that restore in each test job, before the files are put in place, with noactions/cache, noprefetch_assetsand nocache,lazyor key input.When to merge
Only after 51Degrees/common-ci#383, which has, and 51Degrees/common-ci#385, which takes the key from the calling step's environment, have reached common-ci's
main, because this repository calls51Degrees/common-ci/actions/fetch-assets@main. Before that, the action onmainstill downloads, and withoutcacheit would download in every run. This pull request is a draft until then.Tests
Pester 6.2.0 on Windows,
ci/free-threaded-python.Tests.ps1against the changed workflow: 10 passed, none failed.