Repository navigation
[8.6] Use S3 conditional writes to prevent overwriting published artifacts - #11592
Merged
Merged
Conversation
…11532) sbin/upload-artifacts now uploads via `aws s3api put-object --if-none-match "*"` instead of `aws s3 cp`, and the release workflow's copy_object passes IfNoneMatch="*". Both fail loudly if an object already exists at the target key instead of silently overwriting it. upload-artifacts also propagates a rejected upload to the job exit status, which the `{ ...; } || ...` construct swallowed. (cherry picked from commit 046c693)
1 of 4 tasks
|
alonre24
approved these changes
Sep 28, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Sep 28, 2026
AngelYanev
approved these changes
Sep 30, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Sep 30, 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.



Backport of #11532 to
8.6.Merge commit:
046c693486a4a3c157a0f685cd299e4c448f98b9Describe the changes in the pull request
aws s3 cp) and the release copy (copy_object) silently overwrite whatever is already at the target key ins3://redismodules.aws s3api put-object --if-none-match "*"and copy withIfNoneMatch="*", so S3 rejects the write if the object exists.Which additional issues this PR fixes
Main objects this PR modified
sbin/upload-artifacts— conditional put, rejected uploads fail the jobevent-release.ymlset-artifacts — conditional copyMark if applicable
Release Notes