Skip to content

Show each peer’s transport path in qcat status - #36

Merged
ekarulf merged 2 commits into
mainfrom
qcat-status-path
Dec 4, 2026
Merged

ekarulf merged 2 commits into
mainfrom
qcat-status-path

Conversation

@ekarulf

@ekarulf ekarulf commented Dec 4, 2026

Copy link
Copy Markdown
Owner

qcat status now reports a Path for each peer and omits Tailscale fields that qcat never populates. Formatting happens in the CLI, so it works with sessions started before the upgrade.

A selected direct endpoint reports direct. A peer with a prior send and a known DERP fallback reports derp even after it goes idle. During discovery, qcat can also try UDP. Peers awaiting their first send report unknown. CurAddr remains a string and is empty when no direct endpoint is selected, preserving existing JSON filters.

Regression tests cover idle and never-sent peers and the serialized value of CurAddr. The regression cases failed on the original branch and passed with the fixes. go test -mod=readonly -race ./... and go vet -mod=readonly ./... passed locally.

@ekarulf
ekarulf merged commit 4b1984d into main Dec 4, 2026
7 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