Skip to content

feat(tailscale): expand and validate API operations - #9385

Merged
waleedlatif1 merged 3 commits into
stagingfrom
codex/tailscale-api-validation
Oct 27, 2026
Merged

waleedlatif1 merged 3 commits into
stagingfrom
codex/tailscale-api-validation

Conversation

@waleedlatif1

@waleedlatif1 waleedlatif1 commented Oct 26, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Add 16 operations for device naming and posture, user access, split DNS, full DNS configuration, policy validation, and tailnet settings.
  • Complete documented device, user, and key outputs; expose API filters and ACL diagnostics; fix resolved booleans, list clearing, and URL path validation.
  • Document personal and OAuth access-token authentication and refresh limits, and regenerate integration metadata and docs.

Type of Change

  • Feature and bug fix

Testing

  • VITEST_MAX_WORKERS=2 bun run test (full root test gate)
  • Documentation-parser, replacement-list, and API-created switch-default regressions: verified red before their fixes, then green; default, validation, and operation-scope guards also verified by removal
  • bun run lint, bun run type-check, bun run check:test-types, and all 61 check:audits checks
  • Block registry and canvas coverage checks: 40/40 operations
  • Cross-checked all 40 HTTP methods and paths against the current official Tailscale OpenAPI specification
  • Live tailnet calls were not run because provider credentials were not supplied

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing (new tests pass the test-audit authoring gate)
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

@vercel

vercel Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
docs Skipped Skipped Oct 27, 2026 12:10am UTC

Request Review

@greptile-apps

greptile-apps Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Critical impact] The latest changes appear safe to merge, with no new actionable issues found.

Summary

Expands Tailscale from 24 to 40 operations and updates outputs, documentation, and generated metadata.

  • Workflows can manage device names, posture, and network controls.
  • Workflows can read and change tailnet DNS and settings.
  • Workflows can inspect users and manage user access and keys.
  • Workflows can inspect, validate, and replace tailnet policy.
  • Tailscale operations return fuller, more consistent data.
  • Workflow blocks expose the expanded set of Tailscale operations.
  • Workflow switches treat the strings true and false as boolean choices.
  • Generated integration docs and metadata include the updated tool definitions.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart LR
  A[Block creation] --> B[Seed switch values]
  B --> C[Serialize selected action]
  C --> D[Resolve inputs]
  D --> E[Apply action-specific defaults]
  E --> F[Build Tailscale request]
Loading

Reviews (3) · Last reviewed commit: "fix(tailscale): preserve operation switc..." · Reviewed by Greptile

Comment thread apps/sim/blocks/blocks/tailscale.ts Outdated
Comment thread apps/sim/tools/tailscale/validate_acl.ts Outdated
Comment thread apps/docs/content/docs/integrations/tailscale.mdx Outdated

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 53 files

Heads up: you’ve reached your flex budget. Increase your flex budget or wait for usage to reset.

Turn on auto-fix | Re-trigger cubic

Comment thread apps/sim/tools/tailscale/validate_acl.ts
Comment thread apps/sim/tools/tailscale/outputs.ts
Comment thread apps/sim/tools/tailscale/set_dns_configuration.ts
Comment thread apps/sim/tools/tailscale/create_auth_key.ts Outdated
Comment thread apps/sim/tools/tailscale/set_dns_nameservers.ts
Comment thread apps/sim/tools/tailscale/set_device_name.ts Outdated
Comment thread apps/sim/tools/tailscale/get_tailnet_settings.ts
Comment thread apps/sim/tools/tailscale/get_dns_configuration.ts Outdated
@waleedlatif1
waleedlatif1 force-pushed the codex/tailscale-api-validation branch from f01eba0 to 15ea62c Compare October 26, 2026 23:28
@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@greptile

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@cubic-dev-ai review this PR

@cubic-dev-ai

cubic-dev-ai Bot commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

@cubic-dev-ai review this PR

@waleedlatif1 I have started the AI code review. It will take a few minutes to complete.

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 59 files

Tip: Get a Slack DM when cubic finishes reviewing your PRs. Connect Slack

Turn on auto-fix | Re-trigger cubic

Comment thread apps/sim/tools/tailscale/set_dns_configuration.ts
Comment thread apps/sim/blocks/blocks/tailscale.ts Outdated
@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@greptile

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@cubic-dev-ai review this PR

@cubic-dev-ai

cubic-dev-ai Bot commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

@cubic-dev-ai review this PR

@waleedlatif1 I have started the AI code review. It will take a few minutes to complete.

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@greptile

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 60 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Turn on auto-fix | Re-trigger cubic

@waleedlatif1
waleedlatif1 merged commit 50e7f53 into staging Oct 27, 2026
128 of 131 checks passed
@waleedlatif1
waleedlatif1 deleted the codex/tailscale-api-validation branch October 27, 2026 00:26

This branch was previously deployed

1 inactive deployment
Preview — 8c90067a Deployed Oct 27, 2026 by vercel[bot]
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