gunk-dev/the-valley
the-valley:bd-f688185bugopen

Removing an integrated project can restart its controller at activation

State
free to start
Created
2026-11-16 by contributor

Body

Removing an integrated project from the host's declaration can restart that project's controller during the activation that removes it. Removing the project changes the integrator environment and so the shared template unit's `EnvironmentFile` (`nix/valley-host.nix`, `integratorEnv` and the `valley-integrator@` template); NixOS activation sees the surviving template as changed and queues every active instance for restart, the removed one included. Its repository remains and its environment file is optional, so it starts. Found in review of the identity compile triggers; present on main before that change. Wanted: removal retires the controller instance, shown by an activation that removes one project and keeps another.

Comments

No comments.