Repository navigation
Free runner disk before pulling the LaTeX image for paper previews - #209
Merged
Merged
Conversation
The -tex image needs about 6 GB once pulled. A site with large committed artifacts can leave less than that on the hosted runner, so the pull fails with 'no space left on device' and the paper gate goes red. Remove preinstalled Android, .NET and GHC toolchains first, only when the repo has a paper to build.
Contributor
Author
|
Automated review status
Now: automated cycle open — it closes once two different reviewer backends have posted a whole-PR review of the same head ( |
Contributor
Author
🤖 Independent AI code review (Codex)Automated review of the PR by a separately invoked Codex reviewer. Prioritised P0/P1/P2; treat as advisory input for the human reviewer, not a merge gate. P0 (blocking)None. P1 (should fix)None. P2 (nits)None. Recommendation: approve |
Contributor
Author
|
On The AI review cycle ends with one clean pass, without confirmation from a second backend. This narrow workflow change is being handed over for human review. |
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.
The paper-preview step pulls the
-teximage, which takes about 6 GB on disk. On a site with large committed artifacts, the hosted runner can have less than that left after checkout and render, so the pull fails withno space left on deviceon every retry andpaper-gatefails even though the paper itself is fine. A recent caller run had 7.0 GB free before the pull and failed; the same caller's main build had 8.3 GB free and finished with 2.3 GB to spare.This adds a
Free runner disk for the LaTeX imagestep just beforeBuild paper preview. It removes preinstalled Android, .NET and GHC toolchains (well over 10 GB onubuntu-latest) that no step of this job uses. It does nothing when the repo tracks nomain.tex, so sites without a paper don't pay for it.Tests: a new test in
tests/test_workspace_workflow.pypins the step's position, guard and removal list. The file has 69 passing tests; the 7 that fail locally needmake, which isn't installed here, and fail the same way without this change. Ruff passes.Reviewer requested:
jbragg