Skip to content

fix: fall back when Linux WiFi probing fails#151

Open
Gujiassh wants to merge 1 commit intoruvnet:mainfrom
Gujiassh:fix/linux-wifi-fallback
Open

fix: fall back when Linux WiFi probing fails#151
Gujiassh wants to merge 1 commit intoruvnet:mainfrom
Gujiassh:fix/linux-wifi-fallback

Conversation

@Gujiassh
Copy link

@Gujiassh Gujiassh commented Mar 6, 2026

Summary

  • probe the Linux WiFi collector with collect_once() before selecting it so unreadable /proc/net/wireless setups fall back cleanly
  • add a regression test covering the simulated fallback path on Linux collector probe failures

Testing

  • PYTHONPATH=. python3 -m pytest -q -o addopts='' v1/tests/unit/test_ws_server.py
  • PYTHONPATH=. python3 -m py_compile v1/src/sensing/ws_server.py v1/tests/unit/test_ws_server.py

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