mirror of
https://github.com/Sagit-chu/flvx.git
synced 2026-09-28 07:36:38 +08:00
1db5452be9
* fix: tolerate service not found during forward deletion - Refactor deleteForwardServicesOnNode to handle not-found errors gracefully - Extract deleteForwardServiceCandidates helper for reuse - Add tests for not-found tolerance scenarios - Ensures compatibility with legacy node versions Entire-Checkpoint: a3bacf836c57 * fix: add forward port occupancy validation and runtime residual cleanup - Add forward port occupancy validation on create/update paths - Extend self-occupy recovery to clean residual candidate service names - Add regression tests for address-in-use recovery with legacy runtime residue Fixes port conflict issues when upgrading from 2.1.6 to later versions Entire-Checkpoint: fb0a2aee4cb5
663 B
663 B
015 Forward Runtime Port Residual Cleanup
Checklist
- Confirm 2.1.6 used service names with
_0runtime base while later versions may target resolveduser_tunnel_id, leaving old runtime services behind after direct upgrade. - Extend self-occupy recovery to clean residual candidate service names and retry update/add when the port is only occupied by self-owned legacy runtime services.
- Add regression tests covering address-in-use recovery with legacy
_0runtime residue. - Run focused backend handler tests and record the result.
Test Record
- Command:
cd go-backend && go test ./internal/http/handler/... - Result: passed.