chore(fleet): decommission chaos and retire from active fleet flake (#278) #279

Merged
nimmo merged 1 commit from feat/issue-278-retire-chaos into main 2026-10-07 06:38:38 +01:00
Owner

Summary

Following the relocation of all container workloads previously hosted on Chaos to Lyra and Vega in PR #277, this change decommissions Chaos and removes it from the active fleet flake outputs.

Resolves #278

Key Changes

  • Archive reference config: Moved hosts/chaos/ to potential/chaos/ as a decommissioned reference configuration matching potential/media1.
  • Flake cleanup: Removed chaos target from nixosConfigurations and checks.x86_64-linux.nova-remote-builder-config in flake.nix.
  • Remove single-consumer inputs: Removed nixpkgs-stable and home-manager-stable inputs from flake.nix, flake.lock, and lib/auto-update-policy.nix.
  • Documentation: Updated README.md, AGENTS.md, and docs/nova-remote-builder.md to reflect the 4-host fleet (electra, lena, vega, lyra) and note potential/chaos/.
  • Module and comment updates: Updated Paseo topology notes and Plexdrome/SynthSeek module defaults and comments across hosts/vega, hosts/lyra, modules/containers/plexdrome.nix, modules/containers/synthseek.nix, and secrets/README.md.

Validation

  • output=$(nix flake check 2>&1); rc=$?; filtered=$(echo "$output" | grep -v "warning: Git tree .* is dirty"); [ -n "$filtered" ] && echo "$filtered"; [ $rc -eq 0 ] && echo "flake check OK" || exit $rc passed cleanly:
    • All flake outputs, packages, and checks (treefmt-check, nova-remote-builder-config, auto-update-state-machine, redview-v2-production-config) passed.
    • Evaluation of all registered configurations (electra, lena, vega, lyra) succeeded without errors.
## Summary Following the relocation of all container workloads previously hosted on Chaos to Lyra and Vega in PR #277, this change decommissions Chaos and removes it from the active fleet flake outputs. Resolves #278 ## Key Changes - **Archive reference config**: Moved `hosts/chaos/` to `potential/chaos/` as a decommissioned reference configuration matching `potential/media1`. - **Flake cleanup**: Removed `chaos` target from `nixosConfigurations` and `checks.x86_64-linux.nova-remote-builder-config` in `flake.nix`. - **Remove single-consumer inputs**: Removed `nixpkgs-stable` and `home-manager-stable` inputs from `flake.nix`, `flake.lock`, and `lib/auto-update-policy.nix`. - **Documentation**: Updated `README.md`, `AGENTS.md`, and `docs/nova-remote-builder.md` to reflect the 4-host fleet (`electra`, `lena`, `vega`, `lyra`) and note `potential/chaos/`. - **Module and comment updates**: Updated Paseo topology notes and Plexdrome/SynthSeek module defaults and comments across `hosts/vega`, `hosts/lyra`, `modules/containers/plexdrome.nix`, `modules/containers/synthseek.nix`, and `secrets/README.md`. ## Validation - `output=$(nix flake check 2>&1); rc=$?; filtered=$(echo "$output" | grep -v "warning: Git tree .* is dirty"); [ -n "$filtered" ] && echo "$filtered"; [ $rc -eq 0 ] && echo "flake check OK" || exit $rc` passed cleanly: - All flake outputs, packages, and checks (`treefmt-check`, `nova-remote-builder-config`, `auto-update-state-machine`, `redview-v2-production-config`) passed. - Evaluation of all registered configurations (`electra`, `lena`, `vega`, `lyra`) succeeded without errors.
chore(fleet): decommission chaos and retire from active fleet flake (#278)
All checks were successful
AI pull-request review / review (pull_request) Successful in 1m3s
Build and Push Attic Cache / test (pull_request) Successful in 1m22s
Build and Push Attic Cache / pin-lifecycle (pull_request) Has been skipped
Build and Push Attic Cache / build (pull_request) Has been skipped
Build and Push Attic Cache / remediate (pull_request) Has been skipped
Build and Push Attic Cache / notify-remediation (pull_request) Has been skipped
Build and Push Attic Cache / record-remediation-notify-failure (pull_request) Has been skipped
68e53f14f3
- Move hosts/chaos/ to potential/chaos/ as a decommissioned reference config
- Remove chaos target, nixpkgs-stable, and home-manager-stable from flake.nix, flake.lock, and auto-update-policy
- Update README.md, AGENTS.md, docs/nova-remote-builder.md, and container configs to reflect the retired status
Author
Owner

Automated code review

Reviewed commit: 68e53f14f3e1fffad13743f8a8a40cb7c6db0e68

Verdict: Ready to merge

No blocking or important findings were retained, and deterministic checks passed. Suggestions remain advisory.

Overall assessment

The PR successfully decommissions the 'chaos' host by moving its configuration to potential/chaos/, removing it from active flake inputs and configurations, and updating all relevant documentation and module references. The changes are consistent with the repository's architecture for retiring hosts.

Blocking findings

None.

Important findings

None.

Suggestions

  • Verify no other flake inputs or modules reference 'chaos' (flake.nix; medium confidence)
    The diff shows chaos removed from nixosConfigurations and checks. However, a global search for 'chaos' in other .nix files (outside the moved hosts/chaos/) is recommended to ensure no stray references remain.
    Impact: Potential evaluation errors if any remaining module or input still expects a 'chaos' configuration.
    Suggested fix: Run grep -r 'chaos' --include='*.nix' . excluding potential/chaos/ to confirm no other references exist.

Tests and validation

  • No configured deterministic checks.

Questions

  • Was the plexdrome-chaos machine ID in modules/containers/plexdrome.nix used for any external service identification (e.g., Plex server name) that needs to be updated on the live Lyra instance?
  • Are there any SOPS secrets specifically scoped to Chaos that should be revoked or archived?

Review limitations

  • I cannot run nix flake check to verify evaluation success, although the PR description claims it passed.
  • I cannot inspect the actual content of secrets/plexdrome.yaml to verify recipients, as SOPS files are encrypted.
  • I cannot verify live service state or external dependencies like Plex server names.

Diff coverage

  • AGENTS.md: reviewed — included in a context-limited batch
  • README.md: reviewed — included in a context-limited batch
  • docs/nova-remote-builder.md: reviewed — included in a context-limited batch
  • flake.lock: reviewed — included in a context-limited batch
  • flake.nix: reviewed — included in a context-limited batch
  • hosts/lyra/default.nix: reviewed — included in a context-limited batch
  • hosts/vega/default.nix: reviewed — included in a context-limited batch
  • lib/auto-update-policy.nix: reviewed — included in a context-limited batch
  • modules/containers/plexdrome.nix: reviewed — included in a context-limited batch
  • modules/containers/synthseek.nix: reviewed — included in a context-limited batch
  • potential/chaos/default.nix: reviewed — included in a context-limited batch
  • potential/chaos/disko.nix: reviewed — included in a context-limited batch
  • potential/chaos/hardware-configuration.nix: reviewed — included in a context-limited batch
  • secrets/README.md: reviewed — included in a context-limited batch
Review metadata
  • Reviewer: forgejo-ai-review v1
  • Model: qwen3.6:35b-a3b-q8_0
  • Guidance loaded: .forgejo/ai-review.md, .forgejo/ai-review.yml, AGENTS.md, docs/auto-update-remediation.md, docs/nova-remote-builder.md, README.md
  • Commits considered: 1
  • Previous automated review: none found
  • Findings: 1
<!-- forgejo-ai-review:v1 --> ## Automated code review Reviewed commit: `68e53f14f3e1fffad13743f8a8a40cb7c6db0e68` ## Verdict: Ready to merge No blocking or important findings were retained, and deterministic checks passed. Suggestions remain advisory. ### Overall assessment The PR successfully decommissions the 'chaos' host by moving its configuration to `potential/chaos/`, removing it from active flake inputs and configurations, and updating all relevant documentation and module references. The changes are consistent with the repository's architecture for retiring hosts. ### Blocking findings None. ### Important findings None. ### Suggestions - **Verify no other flake inputs or modules reference 'chaos'** (flake.nix; medium confidence) The diff shows `chaos` removed from `nixosConfigurations` and `checks`. However, a global search for 'chaos' in other `.nix` files (outside the moved `hosts/chaos/`) is recommended to ensure no stray references remain. Impact: Potential evaluation errors if any remaining module or input still expects a 'chaos' configuration. Suggested fix: Run `grep -r 'chaos' --include='*.nix' .` excluding `potential/chaos/` to confirm no other references exist. ### Tests and validation - No configured deterministic checks. ### Questions - Was the `plexdrome-chaos` machine ID in `modules/containers/plexdrome.nix` used for any external service identification (e.g., Plex server name) that needs to be updated on the live Lyra instance? - Are there any SOPS secrets specifically scoped to Chaos that should be revoked or archived? ### Review limitations - I cannot run `nix flake check` to verify evaluation success, although the PR description claims it passed. - I cannot inspect the actual content of `secrets/plexdrome.yaml` to verify recipients, as SOPS files are encrypted. - I cannot verify live service state or external dependencies like Plex server names. ### Diff coverage - `AGENTS.md`: **reviewed** — included in a context-limited batch - `README.md`: **reviewed** — included in a context-limited batch - `docs/nova-remote-builder.md`: **reviewed** — included in a context-limited batch - `flake.lock`: **reviewed** — included in a context-limited batch - `flake.nix`: **reviewed** — included in a context-limited batch - `hosts/lyra/default.nix`: **reviewed** — included in a context-limited batch - `hosts/vega/default.nix`: **reviewed** — included in a context-limited batch - `lib/auto-update-policy.nix`: **reviewed** — included in a context-limited batch - `modules/containers/plexdrome.nix`: **reviewed** — included in a context-limited batch - `modules/containers/synthseek.nix`: **reviewed** — included in a context-limited batch - `potential/chaos/default.nix`: **reviewed** — included in a context-limited batch - `potential/chaos/disko.nix`: **reviewed** — included in a context-limited batch - `potential/chaos/hardware-configuration.nix`: **reviewed** — included in a context-limited batch - `secrets/README.md`: **reviewed** — included in a context-limited batch <details><summary>Review metadata</summary> - Reviewer: forgejo-ai-review v1 - Model: qwen3.6:35b-a3b-q8_0 - Guidance loaded: .forgejo/ai-review.md, .forgejo/ai-review.yml, AGENTS.md, docs/auto-update-remediation.md, docs/nova-remote-builder.md, README.md - Commits considered: 1 - Previous automated review: none found - Findings: 1 </details>
nimmo merged commit b7dd254f98 into main 2026-10-07 06:38:38 +01:00
nimmo deleted branch feat/issue-278-retire-chaos 2026-10-07 06:38:39 +01:00
Sign in to join this conversation.
No reviewers
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
nimmo/nixos-config!279
No description provided.