Skip to content

add ci.sh: run the flake-check.yml steps locally#10

Merged
jx-wi merged 1 commit into
mainfrom
add-local-ci
Jul 18, 2026
Merged

add ci.sh: run the flake-check.yml steps locally#10
jx-wi merged 1 commit into
mainfrom
add-local-ci

Conversation

@jx-wi

@jx-wi jx-wi commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

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. The
full-boot smoke test (tests/boot.sh) needs a real VM and is not in CI — so if your change
touches 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 check is green (CI on this PR, or run locally)
  • Ran bash tests/boot.sh on a Nix+KVM box — pasted the N passed, M failed line below; or N/A (docs / CI-only change, no guest/wrapper/boot impact)
  • Touches the TTY (zsh/ZLE/terminfo/ssh -tt)? Did a human ccvm --shell pass — resize, vim, less, vi-mode — since terminal fidelity isn't automated
  • Security invariants still hold (no secret to disk/argv/seed; host key pinned; only the CWD shared) — see CLAUDE.md "Security invariants"
  • Commit trailer is the exact ccvm form: Co-authored-by: Claude <noreply@anthropic.com>

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>
@jx-wi
jx-wi merged commit b75d316 into main Jul 18, 2026
1 check passed
@jx-wi
jx-wi deleted the add-local-ci branch July 18, 2026 19:31
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