Skip to content

Fix test secret not being cleaned up#739

Merged
zhiyuanliang-ms merged 2 commits into
mainfrom
zhiyuanliang/fix-test-secret-cleanup
Jul 16, 2026
Merged

Fix test secret not being cleaned up#739
zhiyuanliang-ms merged 2 commits into
mainfrom
zhiyuanliang/fix-test-secret-cleanup

Conversation

@zhiyuanliang-ms

@zhiyuanliang-ms zhiyuanliang-ms commented Jul 15, 2026

Copy link
Copy Markdown
Member

KeyVaultReference_DifferentRefreshIntervals named its secrets test-secret1/2-*, which don't match the prefix filter in CleanupStaleResources()— so they were never deleted and accumulated to 3,982 leftover secrets

Cleanup lists all secrets every run; at 25/page that's ~160 requests (~100s) just to enumerate, on every test run.

avanigupta
avanigupta previously approved these changes Jul 15, 2026
@zhiyuanliang-ms
zhiyuanliang-ms merged commit 1b02267 into main Jul 16, 2026
3 of 4 checks passed
@zhiyuanliang-ms
zhiyuanliang-ms deleted the zhiyuanliang/fix-test-secret-cleanup branch July 16, 2026 05:25
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