You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[tunnel] fix race between agent registration and endpoint address allocation
The connect handler was calling onConnect (which allocates the infra
Endpoint) before adding the agent to TunnelNode.Status.Agents. This
caused the InfraEndpointReconciler to miss the agent when writing the
overlay address, leaving the connection permanently stuck with no
address.
Fixes:
- Reorder connect handler to register agent before endpoint allocation
- Fix upsertAgentStatus range loop copy bug (modified copy, not slice)
- Requeue ReconcileWithClient when agent address is pending
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments