You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ci: keep the published demo GIF intact when rendering fails #596
The converter writes directly to the tracked published artifact. If agg errors or is interrupted while writing, the old known-good docs/demo.gif can be truncated/replaced with a partial output. This is independent of the open demo-result validation PR #593, which changes demos/mcp_demo.py.
This is a source-level failure-path finding; no real agg failure was induced here.
Small change
Render into a temporary GIF in the same destination filesystem, and replace docs/demo.gifonly after a successful agg exit and basic nonempty-file validation.
Clean up the temporary GIF/cast/status on failure or signal; preserve the existing demo exit-code check, stop-on-error behavior and no-secret recording.
Keep the published demo's content/output location unchanged on success.
Acceptance criteria
Offline shell regression with fake asciinema/agg: failed converter and missing/empty output preserve the original GIF byte-for-byte.
Successful render updates the GIF exactly once, leaving no temporary files; no CUBRID required for this fake-tool check.
Activity