Repository navigation
Change s3_touch() to tag objects and re-enable the function on cache hits [HMS-11071] - #2660
Merged
Merged
Conversation
Does not have too many arguments.
Our uploaders print status messages to stderr. Print them when running tests.
achilleas-k
force-pushed
the
touch-the-json
branch
2 times, most recently
from
September 4, 2026 11:53
423a8e3 to
029c197
Compare
supakeen
reviewed
Sep 4, 2026
Instead of adding metadata, which requires copying a file over itself and can take time, tag an object with a DeleteAfter date that the cloud-cleaner reads to determine if an object should be deleted [1]. Unlike the previous method of modifying objects, this does not change the mtime. However, the action is a single (fast) API call. [1] osbuild/cloud-cleaner#59
When an image and its metadata are uploaded for the first time, set the DeleteAfter tag.
achilleas-k
force-pushed
the
touch-the-json
branch
from
September 4, 2026 12:26
029c197 to
fcbc12d
Compare
supakeen
approved these changes
Sep 4, 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.
Instead of adding metadata, which requires copying a file over itself and can take time, tag an object with a DeleteAfter date that the cloud-cleaner reads to determine if an object should be deleted. Unlike the previous method of modifying objects, this does not change the mtime. However, the action is a single (fast) API call.
See also osbuild/cloud-cleaner#59