ADR 0119: a taken tunnel's predecessor is retired once the take is proven #143

Merged
jschoubben merged 4 commits from decision/0119-a-taken-tunnels-predecessor-is-retired into main 2026-09-26 22:59:15 +00:00
Owner

Extends ADR 0105. Operator: the predecessor's tunnel (wg0) is deprecated and should be removed.

0105 keeps the found interface's configuration on disk, held, forever — the right caution during the take (a failed take falls back to the found unit), but once the tunnel is proven the mesh's it leaves a live, unmaintained way back onto the network and a hold that never ends.

Decided: once the take is proven — state taken, and the mesh's interface has completed a handshake with a peer — the host removes the found configuration file from where its unit reads it (the original stays kept per ADR 0100), the hold ends, the found unit stays disabled. A take never proven keeps it and says so. Undeclaring the private network does not bring it back (ADR 0118: nothing started on the way out).

to-be 08 (connectivity) cites it. Host implementation to follow as a mesh-host PR stacked on #31. Checks: index current, records pass (cycle fails only on pre-existing issue 112).

Extends ADR 0105. Operator: the predecessor's tunnel (wg0) is deprecated and should be removed. 0105 keeps the found interface's configuration on disk, held, forever — the right caution during the take (a failed take falls back to the found unit), but once the tunnel is proven the mesh's it leaves a live, unmaintained way back onto the network and a hold that never ends. **Decided:** once the take is *proven* — state taken, and the mesh's interface has completed a handshake with a peer — the host removes the found configuration file from where its unit reads it (the original stays kept per ADR 0100), the hold ends, the found unit stays disabled. A take never proven keeps it and says so. Undeclaring the private network does not bring it back (ADR 0118: nothing started on the way out). to-be 08 (connectivity) cites it. Host implementation to follow as a mesh-host PR stacked on #31. Checks: index current, records pass (cycle fails only on pre-existing issue 112).
jschoubben added 4 commits 2026-09-26 22:58:56 +00:00
jschoubben force-pushed decision/0119-a-taken-tunnels-predecessor-is-retired from cfb7baaf1b to 0042ca9258 2026-09-26 22:58:56 +00:00 Compare
jschoubben merged commit 4b0b659084 into main 2026-09-26 22:59:15 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: novox/hq#143