Skip to content

Conversation

cabljac
Copy link
Contributor

@cabljac cabljac commented Sep 30, 2025

This PR disables the backfill feature of storage-resize-images, to prevent issues like #2506

After investigation, we believe the created thread of Cloud Tasks could be branching, leading to non-linear growth of the queue, and the extension functions attempting to process images that have already been resized.

We have not been able to reproduce this directly, but this draft PR is a preventative step.

resolves #2506

@CorieW CorieW force-pushed the @invertase/disable-storage-backfill branch from 6c9c214 to 66ce86b Compare October 12, 2025 17:30
@cabljac cabljac marked this pull request as ready for review October 13, 2025 08:33
@cabljac cabljac requested a review from HassanBahati October 13, 2025 08:33
**Cloud Functions:**

* **generateResizedImage:** Listens for new images uploaded to your specified Cloud Storage bucket, resizes the images, then stores the resized images in the same bucket. Optionally keeps or deletes the original images.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Deletion of original file: Do you want to automatically delete the original file from the Cloud Storage bucket? Warning: these deletions cannot be undone, and if you reconfigure this instance to use different image dimensions, you won't be able to backfill deleted images.
Suggested change
* Deletion of original file: Do you want to automatically delete the original file from the Cloud Storage bucket? Warning: these deletions cannot be undone, and if you reconfigure this instance to use different image dimensions.

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.

🐛 [storage-resize-images] executions & exponential costs in backfill

3 participants