Validate Infra Changes
Use this as the pre-PR validation index. Deeper workflows live in the linked runbooks.
Docs and wiki
Build the wiki:
bun run --cwd apps/wiki buildCheck Logseq page links manually in the generated site when adding or renaming pages.
Nix and NixOS
Full flake check:
nix flake checkNative x86 host build:
HOST=<hostname> mise run nix:buildOperator-run ARM host builds always use Fleet/forge. Select forge as the Nix store so evaluation inputs, substitutions, and builds stay on the builder:
NIX_REMOTE=ssh-ng://forge.lolwtf.ca HOST=<hostname> mise run nix:build
Kubernetes
Build the kustomization root that includes the changed file:
kubectl kustomize clusters/<cluster>/<category>For shared base changes, validate every consuming cluster:
kubectl kustomize clusters/folly/<category> kubectl kustomize clusters/offsite/<category>Run what CI runs, which renders both app overlays and then templates every in-repo chart their HelmReleases name, with that release's
.spec.values:mise run k8s:render-appsA chart guard or template error is a failed task here rather than a failed Flux reconcile, so run it for a
packages/charts/edit as well as a manifest edit. Charts served from a HelmRepository or OCIRepository are named and skipped.
Terraform
The binary is OpenTofu (
tofu), notterraform. Validate every root the same way CI does:mise run tf:init mise run tf:validateFormat:
mise run tf:fmt
Secrets safety
Do not put decrypted SOPS values, API tokens, passwords, private keys, or one-time tokens in docs, PR comments, logs, or screenshots.
A crude docs scan before publishing sensitive-adjacent runbooks:
rg -n "op item|--reveal|password|token|private key|BEGIN .*KEY" docs/pages
Tooling
Prefer
misefor portable validation tooling:mise installUse the Nix dev shell for NixOS-specific builds and formatters.
Linked references 3
Operator-run ARM host builds always use Fleet/forge; use the exact pre-PR build command in Runbooks/Validate Infra Changes.
Validate before opening a docs PR: Runbooks/Validate Infra Changes.
Runbooks/Validate Infra Changes — validation commands by change area