Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore: hide background migrations on cloud and show queued status (#4628)

Steffen Schmitzc0f38a8edaca
diff --git a/web/src/components/VersionLabel.tsx b/web/src/components/VersionLabel.tsx
index 6a06af2fc4..c6b388d975 100644
--- a/web/src/components/VersionLabel.tsx
+++ b/web/src/components/VersionLabel.tsx
@@ -130,19 +130,21 @@ export const VersionLabel = ({ className }: { className?: string }) => {
Releases
</Link>
</DropdownMenuItem>
- <DropdownMenuItem asChild>
- <Link href="/background-migrations">
- <ArrowUp10 size={16} className="mr-2" />
- Background Migrations
- {showBackgroundMigrationStatus && (
- <StatusBadge
- type={backgroundMigrationStatus.data?.status.toLowerCase()}
- showText={false}
- className="bg-transparent"
- />
- )}
- </Link>
- </DropdownMenuItem>
+ {!isLangfuseCloud && (
+ <DropdownMenuItem asChild>
+ <Link href="/background-migrations">
+ <ArrowUp10 size={16} className="mr-2" />
+ Background Migrations
+ {showBackgroundMigrationStatus && (
+ <StatusBadge
+ type={backgroundMigrationStatus.data?.status.toLowerCase()}
+ showText={false}
+ className="bg-transparent"
+ />
+ )}
+ </Link>
+ </DropdownMenuItem>
+ )}
<DropdownMenuItem asChild>
<Link href="https://langfuse.com/changelog" target="_blank">
<Newspaper size={16} className="mr-2" />
diff --git a/web/src/features/background-migrations/components/background-migrations.tsx b/web/src/features/background-migrations/components/background-migrations.tsx
index 61c5166845..322ae668f9 100644
--- a/web/src/features/background-migrations/components/background-migrations.tsx
+++ b/web/src/features/background-migrations/components/background-migrations.tsx
@@ -44,7 +44,12 @@ export default function BackgroundMigrationsTable() {
if (finishedAt) {
return <StatusBadge type={"finished"} className="capitalize" />;
}
- return <StatusBadge type={"active"} className="capitalize" />;
+ const workerId = row.row.original.workerId;
+ if (workerId) {
+ return <StatusBadge type={"active"} className="capitalize" />;
+ }
+
+ return <StatusBadge type={"queued"} className="capitalize" />;
},
},
{