feat: add ability to purge cdn for whole buckets, tenant, and transformations#1133
Open
itslenny wants to merge 6 commits into
Open
feat: add ability to purge cdn for whole buckets, tenant, and transformations#1133itslenny wants to merge 6 commits into
itslenny wants to merge 6 commits into
Conversation
37b582d to
095a621
Compare
Coverage Report for CI Build 27632369399Coverage increased (+0.06%) to 78.383%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsNo coverage regressions found. Coverage Stats💛 - Coveralls |
ferhatelmas
reviewed
Jun 8, 2026
ferhatelmas
reviewed
Jun 8, 2026
ferhatelmas
reviewed
Jun 8, 2026
ferhatelmas
reviewed
Jun 8, 2026
ferhatelmas
reviewed
Jun 8, 2026
5ce73c0 to
058986f
Compare
ferhatelmas
reviewed
Jun 10, 2026
ferhatelmas
reviewed
Jun 10, 2026
c2a8f1d to
fd9f6c0
Compare
ferhatelmas
reviewed
Jun 16, 2026
Member
|
Acceptance CDN stub is ignoring body shape at the moment. It didn't matter much previously since there was one shape but we might want to add validation. It also creates some coupling with another implementation and we already do in integration tests so feel free to ignore |
ferhatelmas
approved these changes
Jun 16, 2026
ferhatelmas
reviewed
Jun 16, 2026
84483cb to
e0aca8a
Compare
e0aca8a to
543fecd
Compare
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.
What kind of change does this PR introduce?
Feature
What is the current behavior?
The CDN can only be purged for individual objects using the full object path.
There is no way to specifically purge transformations
What is the new behavior?
CDN can be purged for individual objects or all objects in an entire bucket or entire tenant.
Also, supports purging just the transformations at all three levels.
Endpoints
DELETE /storage/v1/cdn/bucket-name/path/to/an/object.ext- Existing purge endpoint, purges single cached objectDELETE /storage/v1/cdn/bucket-name/path/to/an/object.ext?transformations=true- Purge all cached transformations for a single objectDELETE /storage/v1/cdn/bucket-name- Purge all cached objects in specified bucketDELETE /storage/v1/cdn/bucket-name?transformations=true- Purge all cached transformations associated with objects in specified bucketDELETE /storage/v1/cdn- Purge all cached objects for this tenantDELETE /storage/v1/cdn?transformations=true- Purge all cached transformations for this tenantAdditional context
Requires deploy of updated CDN cache manager worker