Skip to content

Cover device posture status and tailnet route selection - #108

Closed
jaxxstorm wants to merge 1 commit into
mainfrom
cursor/openapi-posture-route-selection-6edf
Closed

jaxxstorm wants to merge 1 commit into
mainfrom
cursor/openapi-posture-route-selection-6edf

Conversation

@jaxxstorm

@jaxxstorm jaxxstorm commented Oct 12, 2026 •

Copy link
Copy Markdown
Owner

Summary

Refreshes the pinned Tailscale OpenAPI snapshot from https://api.tailscale.com/api/v2?outputOpenapiSchema=true and covers the 13 properties added since 2026-10-02. Operation count stays at 93.

  • Device.postureStatus (passing, impacting, failingAssertions) is preserved on tscli get device and tscli list devices.
  • TailnetSettings.routeSelection is returned by tscli get settings and set with tscli set settings --route-selection.
  • Allowed values are active-passive-failover, regional-routing, regional-routing-failover, and magicroute.
  • --route-selection and --regional-routing cannot be sent together. regionalRoutingOn is now read-only in the schema, and a route-selection update omits that boolean.

make coverage-gaps-check reports 0 uncovered operations and 0 uncovered properties (250 covered, up from 237).

Test plan

  • go test ./pkg/contract/openapi
  • go test -C tools ./internal/coveragegaps
  • go test ./test/cli -run 'TestListDevicesPropertyCoverage|TestGetDevicePropertyCoverage|TestGetSettingsPropertyCoverage|TestSetSettings|TestExampleCommand'
  • make coverage-gaps-check
  • make docs-check
Open in Web Open in Cursor 

Refresh the pinned Tailscale OpenAPI snapshot and model the new device postureStatus fields plus the tailnet routeSelection setting.

Co-authored-by: Lee Briggs <jaxxstorm@users.noreply.github.com>
@jaxxstorm

Copy link
Copy Markdown
Owner Author

Closing as superseded by 7b12baa, released in v0.11.0. Main already includes device postureStatus, tailnet routeSelection, CLI value validation and mutual exclusion, regression tests, and zero reported OpenAPI coverage gaps. PR #109 adds the subsequent admin-console session timeout support and has now been merged after local make test, make coverage-gaps-check, and make docs-check passed.

@jaxxstorm jaxxstorm closed this Oct 29, 2026
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.

2 participants