Skip to content

Improve find_rtkbase reliability#539

Open
vvezre wants to merge 2 commits into
Stefal:masterfrom
vvezre:codex/find-rtkbase-reliability
Open

Improve find_rtkbase reliability#539
vvezre wants to merge 2 commits into
Stefal:masterfrom
vvezre:codex/find-rtkbase-reliability

Conversation

@vvezre
Copy link
Copy Markdown

@vvezre vvezre commented Mar 13, 2026

Summary

  • prefer direct IP probes (with a retry) before falling back to mDNS hostnames
  • sort discovered stations consistently for more stable scans and easier browsing
  • add regression tests for ordering and IP-first fallback behavior

Testing

  • python -m unittest tools/find_rtkbase/test_scan_network.py
  • python -m py_compile tools/find_rtkbase/scan_network.py tools/find_rtkbase/test_scan_network.py

Fixes #532

Copy link
Copy Markdown

@codeCraft-Ritik codeCraft-Ritik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice improvement! Prioritizing direct IP probes before mDNS fallback should make discovery faster and more reliable in environments where mDNS is inconsistent.
The deterministic sorting is also a nice touch for usability and test stability 👍

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.

find_rtkbase reliability

2 participants