add ci.sh: run the flake-check.yml steps locally#10
Merged
Merged
Conversation
Local CI that reads each step's `run:` script straight from .github/workflows/flake-check.yml, so the command list lives in one place and can't drift from what actually runs in CI. A workflow that deviates from origin/main is shown and gated behind a confirmation (refused non-interactively), so a silent edit to .github can't execute behind your back. `--inputs-from .` hash-pins the yq/tool fetches to flake.lock. Note it under Conventions in CLAUDE.md. Co-authored-by: Claude <noreply@anthropic.com>
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.
Local CI that reads each step's
run:script straight from .github/workflows/flake-check.yml, so the command list lives in one place and can't drift from what actually runs in CI. A workflow that deviates from origin/main is shown and gated behind a confirmation (refused non-interactively), so a silent edit to .github can't execute behind your back.--inputs-from .hash-pins the yq/tool fetches to flake.lock.Note it under Conventions in CLAUDE.md.
What & why
Checklist
CI runs
nix flake check(host-side guarantees, guest build, shellcheck) automatically. Thefull-boot smoke test (
tests/boot.sh) needs a real VM and is not in CI — so if your changetouches the guest, wrapper, or boot path, you must run it locally on a Nix+KVM box and paste
the result here. (See CLAUDE.md → "Definition of done".)
nix flake checkis green (CI on this PR, or run locally)bash tests/boot.shon a Nix+KVM box — pasted theN passed, M failedline below; or N/A (docs / CI-only change, no guest/wrapper/boot impact)ssh -tt)? Did a humanccvm --shellpass — resize,vim,less, vi-mode — since terminal fidelity isn't automatedCo-authored-by: Claude <noreply@anthropic.com>