fix(tests): Use unique test run IDs and add S3 cleanup in test helpers to avoid cross-run conflicts

This commit is contained in:
2025-11-27 12:41:38 +00:00
parent 58a21a6bbb
commit eb91a3f75b
5 changed files with 151 additions and 49 deletions

View File

@@ -1,5 +1,13 @@
# Changelog
## 2025-11-27 - 2.2.3 - fix(tests)
Use unique test run IDs and add S3 cleanup in test helpers to avoid cross-run conflicts
- Add generateTestRunId() helper in test/helpers/registry.ts to produce unique IDs for each test run
- Update PyPI and Composer native CLI tests to use generated testPackageName / unauth-pkg-<id> to avoid package name collisions between runs
- Import smartbucket and add S3 bucket cleanup logic in test helpers to remove leftover objects between test runs
- Improve test robustness by skipping upload-dependent checks when tools (twine/composer) are not available and logging outputs for debugging
## 2025-11-25 - 2.2.2 - fix(npm)
Replace console logging with structured Smartlog in NPM registry and silence RubyGems helper error logging