Absent VPN or router advertisement section leaves the runtime in place #85

Open
opened 2026-11-08 13:28:04 +01:00 by Alex · 0 comments
Owner

Problem

  • The WireGuard and router advertisement appliers do nothing when their section is nil (internal/service/appliers.go:656-660, :703-705, :923-927, :959-961).

Impact

  • Removing the whole section leaves the previous tunnels or advertisements running, while the configuration says they are gone.

Proposed change

  • Treat an absent section as an empty desired state and remove the running state.

Validation

  • Tests removing the last member and removing the whole section, including in the same draft as a route command.
## Problem - The WireGuard and router advertisement appliers do nothing when their section is nil (`internal/service/appliers.go:656-660`, `:703-705`, `:923-927`, `:959-961`). ## Impact - Removing the whole section leaves the previous tunnels or advertisements running, while the configuration says they are gone. ## Proposed change - Treat an absent section as an empty desired state and remove the running state. ## Validation - Tests removing the last member and removing the whole section, including in the same draft as a route command.
Sign in to join this conversation.
No labels
No milestone
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
Alex/kaido-core#85
No description provided.