Skip to content

Conversation

@josh
Copy link
Contributor

@josh josh commented Oct 29, 2025

Copilot AI review requested due to automatic review settings October 29, 2025 22:19
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds support for the "services" field in the autoApprovers section of ACL configuration. According to Tailscale ACL syntax, autoApprovers can include routes, exitNode, and services for auto-approval configuration.

  • Adds handling for the "services" field in the handleAutoApprovers() function
  • Updates test to verify that the "services" field is correctly merged
  • Adjusts test assertion to expect 3 members in autoApprovers instead of 2

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
main.go Adds services field handling in handleAutoApprovers() using the object handler
main_test.go Adds services test data and assertions to verify correct merging of 3 autoApprovers fields

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Collaborator

@clstokes clstokes left a comment

Choose a reason for hiding this comment

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

Thanks!

@clstokes clstokes merged commit bed70ce into tailscale-dev:main Oct 30, 2025
7 checks passed
@josh josh deleted the autoapprovers-services branch October 30, 2025 23:57
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