Skip to content

Read the tailnet field of a current drukbox doctor report - #12

Merged
czpython merged 2 commits into
mainfrom
doctor-tailnet
Oct 19, 2026
Merged

czpython merged 2 commits into
mainfrom
doctor-tailnet

Conversation

@czpython

Copy link
Copy Markdown
Owner

Change

DoctorReport.tailscale_enabled becomes DoctorReport.tailnet, read from the tailnet field that drukbox sends since czpython/drukbox#78, with a fallback to tailscale_enabled for a drukbox before it. One test covers each payload shape.

The field rename is the one breaking change for SDK users, so the bump is a minor one, 0.5.0, in its own commit as the release tag's base.

Fixes #11.

Verification

pytest tests/test_api.py -k doctor: 4 passed. Ruff lint and format pass.

@czpython
czpython merged commit 72463a5 into main Oct 19, 2026
1 check passed
@czpython
czpython deleted the doctor-tailnet branch October 19, 2026 19:32
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.

doctor() fails on the renamed tailnet field of drukbox #78

1 participant