From 570ffef11fd4965bf849f6c0a2c8c5c6fea999c8 Mon Sep 17 00:00:00 2001 From: Izaak Gough Date: Tue, 27 Oct 2026 16:26:43 +0000 Subject: [PATCH] docs(storage-resize-images): document the kit's event source --- kits/storage-resize-images/README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/kits/storage-resize-images/README.md b/kits/storage-resize-images/README.md index 90882e0c5..3f8a8e5dc 100644 --- a/kits/storage-resize-images/README.md +++ b/kits/storage-resize-images/README.md @@ -211,6 +211,18 @@ out-of-memory kill stops the function before it can log an error: Cloud Run logs it at INFO in the requests log as `The request has been terminated because it has reached the maximum request timeout.` +### Event source + +The extension's events had the `source` +`//firebaseextensions.googleapis.com/extensions/projects//instances/`. +The kit's events have the function's service as their `source`: +`projects//locations//services/kit--generateResizedImage`. + +A trigger that filters on the extension's `source` receives no events from the +kit, and nothing reports an error. Change the filter to the new value. To keep +instances apart on a shared channel, you can instead give each instance its +own `EVENTARC_CHANNEL`. + ### Region `BUCKET_REGION` decides where the function deploys, as described below, rather