🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
feat(blob-export): hide Export Source field for post-cutoff Cloud projects (#13681)
Niklas Semmler6019785c7988
diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.ymlindex 9541d69643..60c7f657ea 100644--- a/.github/workflows/pipeline.yml+++ b/.github/workflows/pipeline.yml@@ -180,8 +180,14 @@ jobs:if git diff --quiet --exit-code --diff-filter=d "$BASE_SHA" HEAD -- '*.js' '*.jsx' '*.ts' '*.tsx' '*.css'; thenecho "No JS/TS/CSS files changed - skipping prettier check"else+ # --experimental-cli is intentionally omitted: its glob resolver treats bracket characters+ # in Next.js dynamic-route paths (e.g. [projectId]) as glob character classes, causing+ # "No files matching the given patterns were found" (exit 123) for any PR that touches a+ # file inside a bracket-named directory. Standard prettier resolves explicit paths correctly.+ # Parallelism and the ephemeral cache (the only extras --experimental-cli adds) provide no+ # benefit when checking a handful of per-PR changed files.git diff --name-only -z --diff-filter=d "$BASE_SHA" HEAD -- '*.js' '*.jsx' '*.ts' '*.tsx' '*.css' \- | xargs -0 --no-run-if-empty pnpm prettier --check --experimental-cli --+ | xargs -0 --no-run-if-empty pnpm prettier --check --fitests-eslint-plugin:diff --git a/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx b/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsxindex a5c1ba28d1..20eb17b8a3 100644--- a/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx+++ b/web/src/pages/project/[projectId]/settings/integrations/blobstorage.tsx@@ -55,7 +55,6 @@ import {EXPORT_FIELD_GROUP_OPTIONS,OBSERVATION_FIELD_GROUPS_FULL,type ObservationFieldGroupFull,- LEGACY_BLOB_EXPORT_SOURCES,isLegacyBlobExportAllowed,} from "@langfuse/shared";import { useLangfuseCloudRegion } from "@/src/features/organizations/hooks";@@ -243,20 +242,13 @@ const BlobStorageIntegrationSettingsForm = ({// Check if this is a self-hosted instance (no cloud region set)const isSelfHosted = !isLangfuseCloud;- // Post-cutoff Cloud projects may only use OBSERVATIONS_V2 (EVENTS).+ // Post-cutoff Cloud projects may only use OBSERVATIONS_V2 (EVENTS). The+ // Export Source field is hidden in that case; the form value is pinned to+ // EVENTS via the default below.const isPostCutoffCloud =project?.createdAt != null &&!isLegacyBlobExportAllowed(new Date(project.createdAt), isLangfuseCloud);-- // Options shown in the dropdown. Legacy options are always hidden for- // post-cutoff Cloud projects, including any previously-persisted value.- const availableExportSourceOptions = EXPORT_SOURCE_OPTIONS.filter(- (opt) =>- !isPostCutoffCloud ||- !(LEGACY_BLOB_EXPORT_SOURCES as ReadonlyArray<string>).includes(- opt.value,- ),- );+ const showExportSourceField = isBetaEnabled && !isPostCutoffCloud;const blobStorageForm = useForm({resolver: zodResolver(blobStorageIntegrationFormSchema),@@ -690,7 +682,7 @@ const BlobStorageIntegrationSettingsForm = ({)}/>- {isBetaEnabled && (+ {showExportSourceField && (<FormFieldcontrol={blobStorageForm.control}name="exportSource"@@ -735,25 +727,17 @@ const BlobStorageIntegrationSettingsForm = ({</SelectTrigger></FormControl><SelectContent>- {availableExportSourceOptions.map((option) => (+ {EXPORT_SOURCE_OPTIONS.map((option) => (<SelectItem key={option.value} value={option.value}>{option.label}</SelectItem>))}</SelectContent></Select>- {isPostCutoffCloud ? (- <FormDescription>- Legacy export sources are not available for projects created- on or after May 20, 2026. Use "Enriched- observations" instead.- </FormDescription>- ) : (- <FormDescription>- Choose which data sources to export to blob storage. Scores- are always included.- </FormDescription>- )}+ <FormDescription>+ Choose which data sources to export to blob storage. Scores+ are always included.+ </FormDescription><FormMessage /></FormItem>)}