Repository navigation
test: avoid numpy 2.5 warning, stop PR runs from filling the actions cache - #4416
Merged
Merged
Conversation
The repository cache sits at the 10 GB limit, so the s390x container image is evicted and rebuilt on most runs (36 minutes). - Key the s390x container only on requirements-test-basic.txt; the awkward-cpp pyproject.toml is not installed into the container. - Give both docs jobs identical create-args so they share one 1.2 GB micromamba cache entry instead of two. - Delete a PR's caches when it is closed; they are unreachable from other refs and only take space. Assisted-by: ClaudeCode:claude-fable-5-1 ClaudeCode:claude-fable-5-1
PR runs restore the s390x container from main but no longer save it. micromamba has no restore-only mode, so PR runs skip its cache; a miss costs about 90 seconds per job. The cleanup workflow is no longer needed. Assisted-by: ClaudeCode:claude-fable-5-1 ClaudeCode:claude-fable-5-1
NumPy 2.5 deprecates setting ndarray.shape; warnings are errors in the test suite. Assisted-by: ClaudeCode:claude-fable-5-1 ClaudeCode:claude-fable-5-1
Contributor
|
The documentation preview is ready to be viewed at https://preview.awkward-array.org/PR4416/ |
This branch was previously deployed
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.
I did the manual delete.
🤖 AI text below 🤖
The repository actions cache is at the 10 GB limit, so the 309 MB s390x container image gets evicted and the "Create container" step reruns for ~36 minutes. Most of the space is micromamba docs environments (1.2 GB each, two per ref) saved by PR runs. Caches saved from a PR are only readable by that PR, so they are dead weight.
requirements-test-basic.txt.awkward-cpp/pyproject.tomlis not installed into the container, so a classifier change (chore: add Python 3.15 classifiers and test on 3.15 #4412) should not invalidate it.actions/cache/restore+ conditionalactions/cache/save).setup-micromambahas no restore-only mode, so its cache is disabled onpull_requestevents. A miss costs about 90 seconds per job.create-argsso they share one micromamba cache entry on main.Existing stale PR caches need a one-time manual
gh cache delete.