From 2d3290a16bedb8b72dca1313fcd07ed2448611bb Mon Sep 17 00:00:00 2001 From: "exe.dev user" Date: Wed, 11 Nov 2026 17:57:06 +0000 Subject: [PATCH] GEN-2894 remove project column from project runs --- packages/app/src/features/runs/list.tsx | 2 +- packages/app/test/runs.browser.test.mjs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/app/src/features/runs/list.tsx b/packages/app/src/features/runs/list.tsx index 0c77edd0..2145965b 100644 --- a/packages/app/src/features/runs/list.tsx +++ b/packages/app/src/features/runs/list.tsx @@ -29,5 +29,5 @@ export function RunList({ jobId, projectId, limit = 30 }: { jobId?: string; proj const pagination = jobId ? : projectId ? : ; const projectOptions = (projects.data ?? []).map(project => ({ id: project.id, label: project.name })), jobOptions = (jobs.data?.items ?? []).map(job => ({ id: job.id, label: job.name })); const emptyMessage = search.states?.length && !search.projects?.length && !search.jobs?.length ? "No runs match the selected statuses." : "No runs match the selected filters."; - return
{runs.isPending &&

Loading runs…

}{runs.error &&

{runs.error.message}

}{runs.data && <>{statusHeader}{!scoped ? changeSelection("projects", id, checked)} onClear={() => clearFilters("projects")} /> : }{!jobId ? changeSelection("jobs", id, checked)} onClear={() => clearFilters("jobs")} /> : }{sortableHeader("run", "Run")}{sortableHeader("created", "Created")}{runs.data.items.map(run => )}{runs.data.items.length === 0 && }
Job runs{search.sort ? "" : ", newest first"}
ProjectJobElapsed
{run.project_id && run.project_name ?
{!scoped&& changeSelection("projects", run.project_id!, !(search.projects ?? []).includes(run.project_id!))}/>}{run.project_name}
: —}
{!scoped&& changeSelection("jobs", run.job_id, !(search.jobs ?? []).includes(run.job_id))}/>}{run.job_name}
{run.run_name || "Run"}{(run.failure?.reason || (run.agent_error as any)?.reason) &&

{run.failure?.reason || (run.agent_error as any).reason}

}
{run.elapsed_time ? formatElapsedTime(run.elapsed_time) : "—"}
{search.states?.length || search.projects?.length || search.jobs?.length ? <>

{emptyMessage}

: jobId || projectId ? "No runs found." : "No runs yet"}
}{pagination}
; + return
{runs.isPending &&

Loading runs…

}{runs.error &&

{runs.error.message}

}{runs.data && <>{!projectId && }{statusHeader}{!projectId && (!scoped ? changeSelection("projects", id, checked)} onClear={() => clearFilters("projects")} /> : )}{!jobId ? changeSelection("jobs", id, checked)} onClear={() => clearFilters("jobs")} /> : }{sortableHeader("run", "Run")}{sortableHeader("created", "Created")}{runs.data.items.map(run => {!projectId && })}{runs.data.items.length === 0 && }
Job runs{search.sort ? "" : ", newest first"}
ProjectJobElapsed
{run.project_id && run.project_name ?
{!scoped&& changeSelection("projects", run.project_id!, !(search.projects ?? []).includes(run.project_id!))}/>}{run.project_name}
: —}
{!scoped&& changeSelection("jobs", run.job_id, !(search.jobs ?? []).includes(run.job_id))}/>}{run.job_name}
{run.run_name || "Run"}{(run.failure?.reason || (run.agent_error as any)?.reason) &&

{run.failure?.reason || (run.agent_error as any).reason}

}
{run.elapsed_time ? formatElapsedTime(run.elapsed_time) : "—"}
{search.states?.length || search.projects?.length || search.jobs?.length ? <>

{emptyMessage}

: jobId || projectId ? "No runs found." : "No runs yet"}
}{pagination}
; } diff --git a/packages/app/test/runs.browser.test.mjs b/packages/app/test/runs.browser.test.mjs index 1afad717..31556778 100644 --- a/packages/app/test/runs.browser.test.mjs +++ b/packages/app/test/runs.browser.test.mjs @@ -88,6 +88,7 @@ test("project Runs tab filters only project jobs and preserves selection through await page.route("**/api/v1/job-summaries?**", route => { const url = new URL(route.request().url()); jobRequests.push(url); return route.fulfill({ json: { items: [{ id: jobId, name: "Review builds", projectId, runningCount: 0 }], nextCursor: null } }); }); await page.route("**/api/v1/runs?**", route => { const url = new URL(route.request().url()); requests.push(url); const selected = url.searchParams.getAll("jobId").includes(jobId); return route.fulfill({ json: { items: [{ id: selected ? runId : otherJobId, project_id: projectId, project_name: "Project Alpha", job_id: selected ? jobId : otherJobId, job_name: selected ? "Review builds" : "Another job", run_name: selected ? "Filtered project run" : "Unfiltered project run", state: "succeeded", created_at: time, agent_kind: "codex" }], nextCursor: "next" } }); }); await page.goto(origin + `/projects/${projectId}/runs`); await page.getByRole("link", { name: "Unfiltered project run", exact: true }).waitFor(); + const projectRunsTable = page.getByRole("table"); assert.equal(await projectRunsTable.getByRole("columnheader", { name: "Project", exact: true }).count(), 0); assert.equal(await projectRunsTable.locator("thead th").count(), 5); assert.equal(await projectRunsTable.locator("tbody tr").first().locator("td").count(), 5); assert.ok(jobRequests.every(url => url.searchParams.get("projectId") === projectId)); const jobFilter = page.getByRole("button", { name: /Job, all jobs/ }); await jobFilter.click(); const dialog = page.getByRole("dialog", { name: "Job filter" }); if (captureEvidence) await page.screenshot({ path: `${evidenceDir}/project-runs-job-filter-open-desktop.png`, fullPage: true }); await dialog.getByLabel("Review builds").click({ noWaitAfter: true }); await page.waitForURL(/jobs=/); await page.getByRole("link", { name: "Filtered project run", exact: true }).waitFor(); if (captureEvidence) await page.screenshot({ path: `${evidenceDir}/project-runs-job-filter-selected-desktop.png`, fullPage: true });