Skip to content

fix(network): enforce one active link and persist ethernet-off intent - #310

Open
gmmcosta15 wants to merge 1 commit into
refactor/network-extract-helpersfrom
fix/network-single-link-exclusivity
Open

fix(network): enforce one active link and persist ethernet-off intent#310
gmmcosta15 wants to merge 1 commit into
refactor/network-extract-helpersfrom
fix/network-single-link-exclusivity

Conversation

@gmmcosta15

Copy link
Copy Markdown
Collaborator

Description

  • Bug fix

Stacked on #3, review after it merges.

Highest review value in the stack, this is where the field bugs were. Enforces exactly one of Wi-Fi/ethernet/hotspot active at a time, on user toggles only. Background/automatic state handlers never drop a link behind the user's back.

  • _set_wired_profiles_autoconnect, _ensure_wired_autoconnect
  • Exclusivity logic in manager.py/worker.py
  • networkWindow.py toggle handlers + loading guard armed before link changes

Tests

All 5 gates pass standing alone.

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