Repository navigation
Clean up versioned bucket objects after put-object e2e specs - #1628
Merged
Merged
Conversation
test-build-s3-config-validator has failed consistently since build 118. Every versioned spec times out at "Can get object versions" while the unversioned specs pass. CanGetObjectVersions issues a HeadObject for every version in the bucket. The --validate-put-object specs write delete_me to the versioned e2e bucket on every run and never remove it, so versions accumulated until the serial scan exceeded the 20s Eventually timeout. Delete every delete_me version after each versioned put-object spec so the bucket stays bounded. Also raise the four versioned timeouts to 60s, matching the rest of the file; 5cd6767 bumped the unversioned specs but left these at the 20s set in 7ee6f8d. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
aramprice
enabled auto-merge (rebase)
November 18, 2026 21:59
aramprice
requested review from
a team,
Alphasite and
s4heid
and removed request for
a team
November 18, 2026 22:00
aramprice
disabled auto-merge
November 18, 2026 22:00
aramprice
enabled auto-merge (rebase)
November 19, 2026 16:13
selzoc
approved these changes
Nov 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
bbr-cli/test-build-s3-config-validatorhas failed consistently since build 118 (most recently #124). Every versioned spec times out after 20s at* Can get object versions ..., while all unversioned specs pass.CanGetObjectVersions(internal/s3/s3client.go) issues oneHeadObjectper object version, serially. The--validate-put-objectspecs writedelete_meto the versioned e2e bucket twice per build and never remove it. Each write adds a version that is never removed, so the scan grew until it exceeded the timeout. The failures went from intermittent (115, 118) to all four versioned specs (124).Change
AfterEachto the versioned--validate-put-objectcontext that waits for the validator to exit, then deletes every version ofdelete_me.Eventuallytimeouts from 20s to 60s, matching the rest of the file. 5cd6767 bumped the others but left these at the 20s set in 7ee6f8d.Notes
delete_meversions has been purged manually, and a lifecycle rule (NoncurrentVersionExpiration: 1 dayon prefixdelete_me) has been added to the bucket.AWS_ASSUMED_ROLE_ARNwith the CI access key) has the permissions the newAfterEachneeds onci-bbr-cli-s3-validator-e2e-versioned: listing versions underdelete_me(s3:ListBucketVersions) and deleting a specific version ofdelete_me(s3:DeleteObjectVersion) both succeeded.go vetand by compiling the test package; the e2e suite needs the CI credentials, so it will be exercised by the pipeline.🤖 Generated with Claude Code