Skip to content

Attach a screenshot instead of demo videos to releases - #10

Merged
bk1202 merged 3 commits into
mainfrom
release-static-image
Oct 16, 2026
Merged

bk1202 merged 3 commits into
mainfrom
release-static-image

Conversation

@bk1202

@bk1202 bk1202 commented Oct 16, 2026 •

Copy link
Copy Markdown
Owner

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 in tools/release-requirements.txt and installed only for the release build and the new release-screenshot CI job. ProofCLI's runtime dependencies are still empty.

The new release-screenshot job 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.

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
cursor Bot force-pushed the release-static-image branch from 333bbb5 to 31a1666 Compare October 16, 2026 14:25
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.
@bk1202
bk1202 marked this pull request as ready for review October 16, 2026 14:42
@bk1202
bk1202 merged commit 975a94c into main Oct 16, 2026
29 checks passed
@bk1202
bk1202 deleted the release-static-image branch October 16, 2026 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant