Repository navigation
Conversation
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>
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Refreshes the pinned Tailscale OpenAPI snapshot from
https://api.tailscale.com/api/v2?outputOpenapiSchema=trueand covers the 13 properties added since 2026-10-02. Operation count stays at 93.Device.postureStatus(passing,impacting,failingAssertions) is preserved ontscli get deviceandtscli list devices.TailnetSettings.routeSelectionis returned bytscli get settingsand set withtscli set settings --route-selection.active-passive-failover,regional-routing,regional-routing-failover, andmagicroute.--route-selectionand--regional-routingcannot be sent together.regionalRoutingOnis now read-only in the schema, and a route-selection update omits that boolean.make coverage-gaps-checkreports 0 uncovered operations and 0 uncovered properties (250 covered, up from 237).Test plan
go test ./pkg/contract/openapigo test -C tools ./internal/coveragegapsgo test ./test/cli -run 'TestListDevicesPropertyCoverage|TestGetDevicePropertyCoverage|TestGetSettingsPropertyCoverage|TestSetSettings|TestExampleCommand'make coverage-gaps-checkmake docs-check