Skip to content

fix: improve endpoint recovery and network diagnostics#67

Merged
kwalus merged 3 commits intomainfrom
fix/public-0-6-2-endpoint-recovery
Apr 9, 2026
Merged

fix: improve endpoint recovery and network diagnostics#67
kwalus merged 3 commits intomainfrom
fix/public-0-6-2-endpoint-recovery

Conversation

@kwalus
Copy link
Copy Markdown
Owner

@kwalus kwalus commented Apr 9, 2026

Summary

  • improve peer recovery for internet and mixed-network setups by preferring better public or tunnel endpoints ahead of stale remembered LAN paths
  • make introduced-peer connection and manual reconnect behavior more consistent with the stronger endpoint recovery path now used in the app
  • reduce routine websocket probe and reconnect log noise so real connection failures are easier to spot while shipping the 0.6.2 patch release metadata

Test plan

  • python3 -m pytest -q tests/test_connect_introduced_broker_fallback.py tests/test_network_connectivity_regressions.py tests/test_api_session_fallback.py tests/test_connection_log_noise_regressions.py
  • python3 -m py_compile canopy/api/routes.py canopy/network/connection.py canopy/network/manager.py canopy/init.py tests/test_connect_introduced_broker_fallback.py tests/test_api_session_fallback.py
  • Local verification on the latest 0.6.2 build
  • Final human review of the public patch PR

@kwalus kwalus merged commit c8aecee into main Apr 9, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant