Skip to content

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 into
mainfrom
feat-b0849-2-docker-nixos-install-sh-test-github-actions-integration-2026-05-27-0440z
May 27, 2026
Merged

feat(B-0849 Phase 2): GitHub Actions workflow runs Docker NixOS install.sh test on PRs touching install substrate#5396
AceHack merged 1 commit into
mainfrom
feat-b0849-2-docker-nixos-install-sh-test-github-actions-integration-2026-05-27-0440z

Conversation

@AceHack
Copy link
Copy Markdown
Member

@AceHack AceHack commented May 27, 2026

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 versions
  • full-ai-cluster/nixos/modules/common.nix — systemd + bun PATH
  • tools/ci/dockerfiles/nixos-install-sh-test/** — Dockerfile
  • tools/ci/docker-nixos-install-sh-test.ts — TS wrapper
  • .dockerignore — affects all docker builds
  • package.json + bun.lock — TS wrapper deps
  • This workflow file

Discipline (mirrors build-ai-cluster-iso.yml)

  • Runner pinned ubuntu-24.04 (NOT -latest)
  • All third-party actions SHA-pinned with vX.Y.Z comments
  • permissions: contents: read at workflow level
  • Concurrency: workflow-scoped, cancel-in-progress for PRs
  • Zero github.event.* interpolation in run: lines (security-guidance compliant)
  • 15-min job timeout; 900s DOCKER_BUILD_TIMEOUT_SEC for cold-cache headroom
  • Upload-artifact (always) preserves log for 7 days

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

…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>
Copilot AI review requested due to automatic review settings May 27, 2026 04:02
@AceHack AceHack enabled auto-merge (squash) May 27, 2026 04:02
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@AceHack AceHack merged commit 5f53fb2 into main May 27, 2026
33 of 35 checks passed
@AceHack AceHack deleted the feat-b0849-2-docker-nixos-install-sh-test-github-actions-integration-2026-05-27-0440z branch May 27, 2026 04:05
@AceHack AceHack review requested due to automatic review settings May 27, 2026 04:23
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