Skip to content

Conversation

@Sayan-
Copy link
Contributor

@Sayan- Sayan- commented Dec 9, 2025

Note

Restricts auth exemption to root and certain top-level commands (not subcommands) and adds tests for isAuthExempt.

  • Auth Handling:
    • Update isAuthExempt to exempt only the root and specific top-level commands (login, logout, auth, help, completion, create), not their subcommands.
  • Tests:
    • Add cmd/root_test.go with unit tests validating exemption for root/top-level and requiring auth for subcommands (e.g., browser-pools create, browsers create, profiles create, list, deploy, invoke).

Written by Cursor Bugbot for commit 3adf913. This will update automatically on new commits. Configure here.

@Sayan- Sayan- changed the title Fix auth Fix isAuthExempt Dec 9, 2025
@Sayan- Sayan- requested a review from masnwilliams December 9, 2025 23:26
Copy link
Contributor

@masnwilliams masnwilliams left a comment

Choose a reason for hiding this comment

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

lgtm

@Sayan- Sayan- merged commit 4ada771 into main Dec 9, 2025
2 checks passed
@Sayan- Sayan- deleted the sayan/fix-auth branch December 9, 2025 23:29
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.

3 participants