Files
flvx/plans/030-fix-issue-281-stale-forward-runtime-cleanup.md
T
2026-03-11 05:53:31 +00:00

776 B

030 - Fix Issue 281 Stale Forward Runtime Cleanup

Goal

When a tunnel's entry nodes change, remove forward runtime services from entry nodes that are no longer part of the tunnel before syncing the forward to its new entry nodes.

Checklist

  • Review the tunnel update flow and identify where old/new entry node sets are available.
  • Add backend cleanup for forward runtimes on removed entry nodes.
  • Keep existing forward port rebuild and forward resync behavior intact.
  • Run focused contract regression tests for the issue 281 repro.

Test Record

  • Command: cd go-backend && go test ./tests/contract/... -run 'TestTunnelUpdateChangesEntryNodeButLeavesOldForwardRuntimeContract|TestTunnelUpdateRecoversFromAddressInUseContract'
  • Result: passed.