Run staged ARM64 Hydra CI on Ace #2

Merged
ams-tech merged 2 commits from codex/hydra-on-ace into main 2026-09-27 05:17:08 -04:00
ams-tech commented 2026-09-26 20:26:28 -04:00 (Migrated from github.com)

Expose the Python suite as an ARM64 Hydra job and provide the NixOS modules needed to run Hydra on Ace, with HTTPS and a restricted backup receiver on Mako. A locked inventory helper lets provisioning export its ten existing ARM64 checks without changing their derivations.

The service starts with one build, two cores, one evaluation, disk-backed scratch, signed upstream caches, restricted flake evaluation, and disk-space guards. Daily backups include PostgreSQL and Hydra state, retain seven snapshots, and transfer through a dedicated rsync-only account. The API setup command previews by default, reconciles both main-branch jobsets at five-minute intervals, and keeps provisioning disabled until the infrastructure build succeeds.

Validation: 16 Python tests; flake evaluation for both architectures; Nix-wrapped Python tests; native ARM64 KVM qualification on Ace. A two-VM integration test exercises real Hydra/PostgreSQL initialization, authenticated and repeatable setup, the provisioning gate, restricted evaluation, restart persistence, backup transfer, restore into a separate database, and rejection of shell access by the receiver.

Live host activation is pending review of Ace's existing NixOS 25.11/kernel 6.12 baseline against the host repository's current NixOS 26.05/kernel 6.18 configuration. No pilot credential is read or changed. See docs/hydra-on-ace.md for deployment and recovery.

Companion PRs: PseudoDesign/kaiba-infra#2, PseudoDesign/kaiba-provisioning#82, PseudoDesign/nix-pseudo-design#6.

Expose the Python suite as an ARM64 Hydra job and provide the NixOS modules needed to run Hydra on Ace, with HTTPS and a restricted backup receiver on Mako. A locked inventory helper lets provisioning export its ten existing ARM64 checks without changing their derivations. The service starts with one build, two cores, one evaluation, disk-backed scratch, signed upstream caches, restricted flake evaluation, and disk-space guards. Daily backups include PostgreSQL and Hydra state, retain seven snapshots, and transfer through a dedicated rsync-only account. The API setup command previews by default, reconciles both main-branch jobsets at five-minute intervals, and keeps provisioning disabled until the infrastructure build succeeds. Validation: 16 Python tests; flake evaluation for both architectures; Nix-wrapped Python tests; native ARM64 KVM qualification on Ace. A two-VM integration test exercises real Hydra/PostgreSQL initialization, authenticated and repeatable setup, the provisioning gate, restricted evaluation, restart persistence, backup transfer, restore into a separate database, and rejection of shell access by the receiver. Live host activation is pending review of Ace's existing NixOS 25.11/kernel 6.12 baseline against the host repository's current NixOS 26.05/kernel 6.18 configuration. No pilot credential is read or changed. See `docs/hydra-on-ace.md` for deployment and recovery. Companion PRs: PseudoDesign/kaiba-infra#2, PseudoDesign/kaiba-provisioning#82, PseudoDesign/nix-pseudo-design#6.
Sign in to join this conversation.
No description provided.