Repository navigation
Attach a screenshot instead of demo videos to releases - #10
Merged
Merged
Conversation
The release workflow draws one PNG from a real failing check and a real passing run, checksums it with the wheel and sdist, and no longer renders a Remotion video. The motion-demo workflow no longer uploads videos to a GitHub release.
Pillow 12.3.0 is hash-pinned for the release job only. ProofCLI still has no runtime dependencies, and the image uses the unmodified command output.
cursor
Bot
force-pushed
the
release-static-image
branch
from
October 16, 2026 14:25
333bbb5 to
31a1666
Compare
A Python 3.13 job installs only the hash-locked Pillow wheel, runs the screenshot tests, and fails if one is skipped or missing. It uploads the PNG as a workflow artifact.
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.
GitHub releases were waiting on a Remotion demo render before the release was created, so a video failure blocked the release and the PyPI publish that follows it.
The release workflow now runs the real failing export check and the real passing check, draws that terminal text into one PNG, and attaches the PNG with the wheel, the sdist, and SHA256SUMS. The text is ProofCLI's unedited output; the renderer only adds a FAILED or PASSED heading, the command, and the process exit code above each block. Tag and version checks are unchanged. PyPI still starts only after this workflow succeeds, and it still publishes the same checksum-verified distributions.
The PNG uses JetBrains Mono (no ligatures), vendored under
tools/fonts/with its SIL Open Font License. It is drawn with Pillow 12.3.0, pinned by hash intools/release-requirements.txtand installed only for the release build and the newrelease-screenshotCI job. ProofCLI's runtime dependencies are still empty.The new
release-screenshotjob installs those pinned requirements, runs the PNG rendering tests, and fails if any expected rendering test is skipped or missing.The motion-demo workflow no longer uploads videos onto a release. Demo source stays in the repository. The README already leads with a static screenshot, so that image was left as it is.