Scope CI checks to changed files; add --full-check for the old full sweep #22
Closed
beatzaplenty
wants to merge 0 commits from
worktree-maintenance-script-changed-files-only into main
pull from: worktree-maintenance-script-changed-files-only
merge into: :main
:main
:feature/ha-docker-swarm
:worktree-reflective-puzzling-frog
:worktree-crispy-churning-kernighan
:worktree-partitioned-swimming-pizza
:worktree-pve1-nix-cache-builder
:worktree-docs-beszel-guide
:worktree-ha-resize-disk
:worktree-functional-mapping-russell
:worktree-ha-file-server-test
:worktree-parsed-mapping-raven
:worktree-full-sweep
:worktree-docker-ipa-group
:worktree-ipa-lxc-kerberos-fix
:worktree-ipa-common-config
:worktree-docker-gui-fix
:worktree-ipa-client-module
:worktree-peaceful-stirring-noodle
:fix/static-ips
:worktree-beszel-tailscale-router
:worktree-lovely-spinning-bubble
:worktree-polished-wandering-toast
:worktree-warm-discovering-moon
:worktree-gentle-cuddling-hippo
:fix-stale-wording
:fix-sync-host-keys-clan-vars
:worktree-phase0-provision-ordering-fix
:worktree-fix-tailscale-host-dir
:worktree-push-host-keys
:worktree-tailscale-subnet-router-rename
:worktree-tor-relay-beszel
:worktree-rippling-riding-snail
:server-boot-fix
:worktree-zesty-wishing-knuth
:worktree-harmonic-jingling-bee
:worktree-reactive-gliding-map
:worktree-baremetal-esp-unmount
:worktree-baremetal-emergency-access
:worktree-fix-zfs-install-export
:worktree-gui-wifi-module
:worktree-parallel-host-eval
:worktree-migrate-vm-script
:worktree-pxe-menu-rename-and-minimal
:worktree-fix-pxe-netboot-hang
:worktree-clone-pve1-to-pve-test
:worktree-claude-md-pve-guardrails
:worktree-fix-container-dns-search-domain
:worktree-flake-e2e-audit
:worktree-maintenance-script-changed-files-only
:worktree-fix-nix-cache-host-key
:add-claude-builder-key
:worktree-refactor-scripts-shared-lib
:worktree-nix-cache-502-fix
:worktree-nix-cache-client-script
:fix-proxmox-remote-build-bootstrap
:worktree-proxmox-remote-build
:worktree-fix-lxc-docker-nfs-mounts
:add-backup-admin-key-script
:worktree-rotate-admin-key-script
:fix-stale-docs
:worktree-fix-duplicate-host-check-exitcode
:worktree-scripts-dedup
:remove-deploy-status-from-readme
:fix-duplicate-host-self-match
:worktree-nix-cache-lxc-migration
:worktree-fizzy-juggling-sedgewick
:fix-nix-cache-probe-retry
:worktree-starry-painting-whistle
:worktree-tailscale-exit-node
:refactor/secrets
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
scripts/codex-maintenance.shdefault mode now diffs against a base ref (MAINT_BASE_SHA, else the PR base SHA, elseHEAD^) and scopesnixpkgs-fmt --check/statix check/eval to the files that changed and the hosts/packages they can affect. A change toflake.nix/flake.lock/variables.nix/modules/common/*(or any othermodules/*.nixoutsideplatforms//build-types/, whose blast radius is not safely inferable from the path) falls back to evaluating everything, same as before.--full-check(never run by CI);--dry-runadds build-planning for whatever scope is active.scripts/codex-setup.shno longer duplicates a full per-host eval loop -- that is whatcodex-maintenance.shis for..github/.gitea) now fetch full history and pass a base SHA so the diff has something to compare against.README.md,AGENTS.md,CLAUDE.md,docs/flake-lock-automation.md,scripts/bump-nixpkgs-release.sh) updated to match the new--full-check/--dry-runinterface.Test plan
bash -n).hosts/<dir>-> target mapping regex against everyhosts/*directory inflake.nix..nixfiles -- correctly skipped fmt/statix/eval.variables.nix-- correctly fell back to evaluating every host and both packages end to end, no errors.hosts/tor-relay/host.nixedit -- correctly scoped to onlylxc-tor-relay, skipped packages, completed in seconds.--dry-run-- correctly built only the affected scope.modules/platforms/*,modules/build-types/*,modules/installer/*(also affects theinstallernixosConfigurations target, not just packages), andmodules/pxe-boot/*(affects thepxe-bootbuild-type hosts, not packages) -- all scoped correctly.