Skip to content

[CI] Debuggable demo GIF workflow - #10

Merged
SimonBure merged 3 commits into
mainfrom
ci/demo-gif
Sep 22, 2026
Merged

SimonBure merged 3 commits into
mainfrom
ci/demo-gif

Conversation

@SimonBure

Copy link
Copy Markdown
Owner

The last two tag runs (v0.4.3, v0.5.0) reported demo.gif unchanged although vhs never wrote a GIF ("Creating demo.gif…" took 0.1 s vs 25 s on v0.4.2), so the README still shows Staz.

  • Render from scratch (rm -f demo.gif first) so a silent vhs failure can't pass as unchanged
  • Upload the rendered GIF as a run artifact, always
  • Print vhs / ttyd / ffmpeg versions
  • workflow_dispatch + PR trigger (paths: demo.tape, fixtures, this workflow) render without committing
  • Tag runs fail instead of committing when no GIF is produced

This PR's own run is the diagnostic.

Simon added 3 commits September 22, 2026 16:33
Render from scratch so a vhs run that writes nothing can't pass as
'unchanged', upload the GIF as an artifact on every run, print tool
versions, and allow manual and PR-triggered renders (no commit). A tag
run fails instead of committing when no GIF was produced.
vhs v0.12.0 finishes without writing demo.gif and reports no error
(same result with nightly and Ubuntu's ffmpeg), which is why the v0.4.3
and v0.5.0 runs left the old GIF in place. Drops the diagnostic matrix.
@SimonBure
SimonBure marked this pull request as ready for review September 22, 2026 15:01
@SimonBure
SimonBure merged commit f738e45 into main Sep 22, 2026
6 checks passed
@SimonBure
SimonBure deleted the ci/demo-gif branch September 22, 2026 15:02
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