integration: add test for reauth tag removal

Add TestTagsUserLoginReauthWithEmptyTagsRemovesAllTags to validate that
nodes can be untagged via `tailscale up --advertise-tags= --force-reauth`.

The test verifies:
- Node starts with tags and is owned by tagged-devices
- After reauth with empty tags, all tags are removed
- Node ownership returns to the authenticating user

Updates #2979
This commit is contained in:
Kristoffer Dalby
2026-01-14 12:22:16 +00:00
parent 0451dd4718
commit 2e180d2587
2 changed files with 171 additions and 0 deletions

View File

@@ -238,6 +238,7 @@ jobs:
- TestTagsAdminAPICanSetUnownedTag
- TestTagsAdminAPICannotRemoveAllTags
- TestTagsAdminAPICannotSetInvalidFormat
- TestTagsUserLoginReauthWithEmptyTagsRemovesAllTags
uses: ./.github/workflows/integration-test-template.yml
secrets: inherit
with: