Skip to content

test(middleware-sdk-s3): use crypto.randomUUID for E2E test bucket names - #8088

Merged
trivikr merged 1 commit into
mainfrom
test-e2e-middleware-region-redirect
Jun 9, 2026
Merged

test(middleware-sdk-s3): use crypto.randomUUID for E2E test bucket names#8088
trivikr merged 1 commit into
mainfrom
test-e2e-middleware-region-redirect

Conversation

@trivikr

@trivikr trivikr commented Jun 8, 2026

Copy link
Copy Markdown
Member

Issue

Internal JS-6960

Description

Replace 2-character random ID with crypto.randomUUID to avoid
BucketAlreadyExists errors from S3's global bucket namespace collisions
during concurrent CI runs. Also remove unnecessary STS dependency,
redundant deleteBucket pre-cleanup, and headBucket sanity check.

Testing

CI

Checklist

  • If the PR is a feature, add integration tests (*.integ.spec.ts) or E2E tests.
    • It's not a feature.
  • My E2E tests are resilient to concurrent i/o.
    • I didn't write any E2E tests.
  • I added access level annotations e.g. @public, @internal tags and enabled doc generation on the package. Remember that access level annotations go below the description, not above.
    • I didn't add any public functions.
  • Streams - how do they work?? My WebStream readers/locks are properly lifecycled. Node.js stream backpressure is handled. Error handling.
    • No streams here.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@trivikr

This comment was marked as outdated.

@trivikr
trivikr force-pushed the test-e2e-middleware-region-redirect branch from 5e5e6b5 to d470a49 Compare June 8, 2026 19:48
@trivikr
trivikr marked this pull request as ready for review June 8, 2026 19:48
@trivikr
trivikr requested a review from a team as a code owner June 8, 2026 19:48
@trivikr
trivikr merged commit ba4d194 into main Jun 9, 2026
8 checks passed
@trivikr
trivikr deleted the test-e2e-middleware-region-redirect branch June 9, 2026 16:16
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.

2 participants