Repository navigation
ci: run the golden-image check in cargo xtask ci (lavapipe on the runner) - #136
Merged
Merged
Conversation
Anything that should run on every commit or push belongs in cargo xtask ci, not in a rule to remember: two batches this week reported 'no goldens changed' without running cargo xtask snapshots. The CI runner installs Mesa lavapipe (mesa-vulkan-drivers) for it. A check now deletes stray .new.png/.diff.png files from an earlier failed run first; they used to make a passing run fail. Behaviour change: cargo xtask ci needs lavapipe locally, as the snapshots command already did. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PWiKKe8zfqGfVMCSC5L3up
This was referenced Nov 12, 2026
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.
cargo xtask cinow ends with the golden-image check, run with Mesa lavapipe. The CI runner installsmesa-vulkan-driversbefore running it. This follows the rule that anything to run on every commit or push lives incargo xtask ci, rather than in a rule to remember.xtask/src/steps.rs: adds asnapshotsstep. The step-order test is updated.xtask/src/snapshots.rs: a check now deletes stray.new.png/.diff.pngfiles from an earlier failed run before it starts. They used to make a passing run fail..github/workflows/ci.yml: an apt step installs lavapipe.README.md: the description ofciis updated, and lavapipe is now needed forci.Watch this run: the goldens were made with Mesa 24.1 locally. Ubuntu's lavapipe may be a different version. If the ci job fails on pixel differences only, the options are to pin the Mesa version, to give the comparison a small tolerance, or to make the runner the reference. That needs a decision.
🤖 Generated with Claude Code
https://claude.ai/code/session_01PWiKKe8zfqGfVMCSC5L3up