From 331dad98ecdd2d021b4733b0c1cef48f5cb223c2 Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Mon, 2 Mar 2026 00:09:15 -0500 Subject: [PATCH] Rename Pipeline to Workflow in frontend MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - routes/pipelines.tsx → routes/runs.tsx, component Pipelines → Runs - Update route config to point to runs.tsx - Retro.pipeline_name → workflow_name in data and all display components - Table header "Pipeline" → "Workflow" in retros list Co-Authored-By: Claude Opus 4.6 --- apps/arc-web/app/data/retros.ts | 12 ++++++------ apps/arc-web/app/routes.ts | 2 +- apps/arc-web/app/routes/retros.tsx | 6 +++--- apps/arc-web/app/routes/run-retro.tsx | 2 +- apps/arc-web/app/routes/{pipelines.tsx => runs.tsx} | 4 ++-- apps/arc-web/app/routes/start.tsx | 2 +- 6 files changed, 14 insertions(+), 14 deletions(-) rename apps/arc-web/app/routes/{pipelines.tsx => runs.tsx} (99%) diff --git a/apps/arc-web/app/data/retros.ts b/apps/arc-web/app/data/retros.ts index 954291f91..8a439b552 100644 --- a/apps/arc-web/app/data/retros.ts +++ b/apps/arc-web/app/data/retros.ts @@ -45,7 +45,7 @@ export interface AggregateStats { export interface Retro { run_id: string; - pipeline_name: string; + workflow_name: string; goal: string; timestamp: string; smoothness?: SmoothnessRating; @@ -91,7 +91,7 @@ export const openItemKindConfig: Record (smoothnessFilter === "all" || r.smoothness === smoothnessFilter) && (r.goal.toLowerCase().includes(lowerQuery) || - r.pipeline_name.toLowerCase().includes(lowerQuery)), + r.workflow_name.toLowerCase().includes(lowerQuery)), ); return ( @@ -95,7 +95,7 @@ export default function Retros() { - + @@ -107,7 +107,7 @@ export default function Retros() { {filtered.map((retro) => ( navigate(`/runs/${retro.run_id}/retro`)}>
PipelineWorkflow Goal Smoothness Duration
- {retro.pipeline_name} + {retro.workflow_name} {truncate(retro.goal, 60)} diff --git a/apps/arc-web/app/routes/run-retro.tsx b/apps/arc-web/app/routes/run-retro.tsx index 3a19c2158..5d1845508 100644 --- a/apps/arc-web/app/routes/run-retro.tsx +++ b/apps/arc-web/app/routes/run-retro.tsx @@ -41,7 +41,7 @@ export default function RunRetro({ params }: Route.ComponentProps) {

{retro.goal}

- {retro.pipeline_name} · {new Date(retro.timestamp).toLocaleString()} + {retro.workflow_name} · {new Date(retro.timestamp).toLocaleString()}

diff --git a/apps/arc-web/app/routes/pipelines.tsx b/apps/arc-web/app/routes/runs.tsx similarity index 99% rename from apps/arc-web/app/routes/pipelines.tsx rename to apps/arc-web/app/routes/runs.tsx index d09c7de4f..c16fdabd2 100644 --- a/apps/arc-web/app/routes/pipelines.tsx +++ b/apps/arc-web/app/routes/runs.tsx @@ -20,7 +20,7 @@ import { import { CSS } from "@dnd-kit/utilities"; import { columns as staticColumns, ciConfig, statusColors, deriveCiStatus } from "../data/runs"; import type { CiStatus, CheckRun, CheckStatus, RunItem, RunWithStatus } from "../data/runs"; -import type { Route } from "./+types/pipelines"; +import type { Route } from "./+types/runs"; export function meta({}: Route.MetaArgs) { return [{ title: "Runs — Arc" }]; @@ -465,7 +465,7 @@ function SortableRunRow({ run }: { run: RunWithStatus }) { const allRepos = [...new Set(staticColumns.flatMap((col) => col.items.map((item) => item.repo)))].sort(); -export default function Pipelines() { +export default function Runs() { const [query, setQuery] = useState(""); const [repoFilter, setRepoFilter] = useState("all"); const [view, setView] = useState("columns"); diff --git a/apps/arc-web/app/routes/start.tsx b/apps/arc-web/app/routes/start.tsx index 7ec566b49..4b9b427d3 100644 --- a/apps/arc-web/app/routes/start.tsx +++ b/apps/arc-web/app/routes/start.tsx @@ -60,7 +60,7 @@ const sessionGroups = [ label: "Previous 7 days", sessions: [ { id: "s6", title: "Terraform module for Redis cluster", repo: "infrastructure", time: "3d ago" }, - { id: "s7", title: "Add pipeline event types", repo: "shared-types", time: "5d ago" }, + { id: "s7", title: "Add workflow run event types", repo: "shared-types", time: "5d ago" }, { id: "s8", title: "Implement webhook retry logic", repo: "api-server", time: "6d ago" }, ], },