From bf37547715f1ca2a80372f6be0c22174c73f282c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduardo=20Bou=C3=A7as?= Date: Mon, 16 Mar 2026 00:02:27 +0000 Subject: [PATCH 1/2] feat: add function event subscriptions --- src/utils/deploy/hash-fns.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/utils/deploy/hash-fns.ts b/src/utils/deploy/hash-fns.ts index d025710d9d2..470bca0874a 100644 --- a/src/utils/deploy/hash-fns.ts +++ b/src/utils/deploy/hash-fns.ts @@ -187,7 +187,7 @@ const hashFns = async ( const fnConfig = functionZips .filter((func) => Boolean( - func.displayName || func.generator || func.routes || func.buildData || func.priority || func.trafficRules, + func.displayName || func.generator || func.routes || func.buildData || func.priority || func.trafficRules || func.eventSubscriptions, ), ) .reduce( @@ -201,6 +201,7 @@ const hashFns = async ( build_data: curr.buildData, priority: curr.priority, traffic_rules: trafficRulesConfig(curr.trafficRules), + event_subscriptions: curr.eventSubscriptions, }, }), {}, From a8ecba7a97ed358b130ef86665e46a6ab00a11b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduardo=20Bou=C3=A7as?= Date: Mon, 16 Mar 2026 08:54:17 +0000 Subject: [PATCH 2/2] refactor: format --- src/utils/deploy/hash-fns.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/utils/deploy/hash-fns.ts b/src/utils/deploy/hash-fns.ts index 470bca0874a..207b2a22e5f 100644 --- a/src/utils/deploy/hash-fns.ts +++ b/src/utils/deploy/hash-fns.ts @@ -187,7 +187,13 @@ const hashFns = async ( const fnConfig = functionZips .filter((func) => Boolean( - func.displayName || func.generator || func.routes || func.buildData || func.priority || func.trafficRules || func.eventSubscriptions, + func.displayName || + func.generator || + func.routes || + func.buildData || + func.priority || + func.trafficRules || + func.eventSubscriptions, ), ) .reduce(