From d1cf38ff3c3156c1895c134a34ae212489e7a33d Mon Sep 17 00:00:00 2001 From: andrewwallacespeckle Date: Thu, 2 Oct 2025 16:27:23 +0100 Subject: [PATCH 1/2] fix(fe): Clear isolated objects first to ensure watcher fires --- .../automate/viewer/panel/FunctionRunRowObjectResult.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/frontend-2/components/automate/viewer/panel/FunctionRunRowObjectResult.vue b/packages/frontend-2/components/automate/viewer/panel/FunctionRunRowObjectResult.vue index cdea8347d..8363e7c1d 100644 --- a/packages/frontend-2/components/automate/viewer/panel/FunctionRunRowObjectResult.vue +++ b/packages/frontend-2/components/automate/viewer/panel/FunctionRunRowObjectResult.vue @@ -165,6 +165,9 @@ const isolateOrUnisolateObjects = () => { logger.debug('[FunctionRunRowObjectResult] Setting metadataGradientIsSet to false') metadataGradientIsSet.value = false + // Clear isolated objects first to ensure watcher fires + filters.isolatedObjectIds.value = [] + if (!wasIsolated) { logger.debug( '[FunctionRunRowObjectResult] Objects were not isolated, calling isolateObjects with ids:', From 25718ae3dcf98731c7b8e91b84db1cf1795e2e42 Mon Sep 17 00:00:00 2001 From: Iain Sproat <68657+iainsproat@users.noreply.github.com> Date: Thu, 2 Oct 2025 16:52:17 +0100 Subject: [PATCH 2/2] fix(server/checkout): only enable checkout session if billing integration enabled (#5624) --- .../gatekeeper/clients/checkout/createCheckoutSession.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/server/modules/gatekeeper/clients/checkout/createCheckoutSession.ts b/packages/server/modules/gatekeeper/clients/checkout/createCheckoutSession.ts index 182eb1810..a7e28e309 100644 --- a/packages/server/modules/gatekeeper/clients/checkout/createCheckoutSession.ts +++ b/packages/server/modules/gatekeeper/clients/checkout/createCheckoutSession.ts @@ -7,6 +7,9 @@ import type { } from '@/modules/gatekeeper/domain/billing' import { EnvironmentResourceError } from '@/modules/shared/errors' import type { Stripe } from 'stripe' +import { getFeatureFlags } from '@/modules/shared/helpers/envHelper' + +const { FF_BILLING_INTEGRATION_ENABLED } = getFeatureFlags() export const createCheckoutSessionFactory = ({ @@ -28,6 +31,9 @@ export const createCheckoutSessionFactory = isCreateFlow, currency }) => { + if (!FF_BILLING_INTEGRATION_ENABLED) + throw new EnvironmentResourceError('Billing Integration is not enabled') + const resultUrl = getResultUrl({ frontendOrigin, workspaceId, workspaceSlug }) const price = getWorkspacePlanPrice({ billingInterval, workspacePlan, currency }) const costLineItems: Stripe.Checkout.SessionCreateParams.LineItem[] = [