feat(B-0849 Phase 2): GitHub Actions workflow runs Docker NixOS install.sh test on PRs touching install substrate#5396
Merged
AceHack merged 1 commit intoMay 27, 2026
Conversation
…ll.sh test on PRs touching install substrate Implements [B-0849](docs/backlog/P2/B-0849-...) Phase 2 — wires the Docker harness from Phase 1 (PR #5393) into CI so install.sh / linux.sh / mise.sh bugs are caught at PR time vs reboot time. Workflow shape mirrors build-ai-cluster-iso.yml (canonical install- test workflow pattern): - Runner pinned ubuntu-24.04 (NOT -latest) - Third-party actions SHA-pinned with vX.Y.Z comments - permissions: contents: read - Concurrency: workflow-scoped, cancel-in-progress for PRs - No github.event.* values in run: lines (per security-guidance) Path triggers: - tools/setup/** (install dispatcher + per-OS scripts + common/) - .mise.toml (pinned runtime versions) - full-ai-cluster/nixos/modules/common.nix (systemd + bun PATH) - tools/ci/dockerfiles/nixos-install-sh-test/** (the Dockerfile) - tools/ci/docker-nixos-install-sh-test.ts (the TS wrapper) - .dockerignore (affects all docker builds from repo root) - package.json + bun.lock (TS wrapper deps) Job timeout 15 min (cold-cache install.sh + mise + bun + claude + gh nix-shell ~5-10 min upper bound; warm ~60-120 sec). DOCKER_BUILD_ TIMEOUT_SEC bumped to 900s for cold-cache headroom. Upload-artifact (always) preserves the test log for 7 days for post-failure diagnostic per `.claude/rules/blocked-green-ci-investigate- threads.md` verify-before-fix discipline. Composes with: B-0849 Phase 1 (PR #5393 — the Dockerfile + TS wrapper), B-0831 cascade #5 QEMU boot test (complementary cycle-time vs scope), iter-5.5.0 substrate, B-0835 install bug cluster. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
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.
Summary
Wires the Docker harness from B-0849 Phase 1 (PR #5393) into CI so install.sh / linux.sh / mise.sh bugs are caught at PR time vs reboot time.
Path triggers
tools/setup/**— install dispatcher + per-OS scripts.mise.toml— pinned runtime versionsfull-ai-cluster/nixos/modules/common.nix— systemd + bun PATHtools/ci/dockerfiles/nixos-install-sh-test/**— Dockerfiletools/ci/docker-nixos-install-sh-test.ts— TS wrapper.dockerignore— affects all docker buildspackage.json+bun.lock— TS wrapper depsDiscipline (mirrors build-ai-cluster-iso.yml)
ubuntu-24.04(NOT-latest)vX.Y.Zcommentspermissions: contents: readat workflow levelgithub.event.*interpolation inrun:lines (security-guidance compliant)Composes with
PR #5393 (B-0849 Phase 1 — the Dockerfile + TS wrapper) · B-0831 cascade #5 QEMU complementary · iter-5.5.0 substrate · B-0835 install bug cluster
🤖 Generated with Claude Code