Skip to content

fix: save service token ID for reliable cleanup during e2e teardown#166

Open
andreasjansson wants to merge 2 commits intomainfrom
fix/cleanup-service-tokens
Open

fix: save service token ID for reliable cleanup during e2e teardown#166
andreasjansson wants to merge 2 commits intomainfrom
fix/cleanup-service-tokens

Conversation

@andreasjansson
Copy link
Collaborator

Previously, the stop script tried to find service tokens by name which could fail if names didn't match exactly. Now we:

  1. Save the service token ID (UUID) during start
  2. Delete by ID during stop (deterministic and reliable)
  3. Keep name-based fallback for backwards compatibility

This prevents service token accumulation from failed/partial teardowns.

Andreas Jansson added 2 commits February 4, 2026 22:27
Previously, the stop script tried to find service tokens by name which
could fail if names didn't match exactly. Now we:

1. Save the service token ID (UUID) during start
2. Delete by ID during stop (deterministic and reliable)
3. Keep name-based fallback for backwards compatibility

This prevents service token accumulation from failed/partial teardowns.
@andreasjansson andreasjansson force-pushed the fix/cleanup-service-tokens branch from 4a17720 to 8088e73 Compare February 5, 2026 10:29
@github-actions
Copy link

github-actions bot commented Feb 5, 2026

E2E Test Recording (discord)

❌ Tests failed

E2E Test Video

@github-actions
Copy link

github-actions bot commented Feb 5, 2026

E2E Test Recording (telegram)

❌ Tests failed

E2E Test Video

@github-actions
Copy link

github-actions bot commented Feb 5, 2026

E2E Test Recording (base)

❌ Tests failed

E2E Test Video

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