feat(pi-workflow): add human-readable run labels

This commit is contained in:
jb
2026-08-25 21:22:08 -04:00
parent a1d0b1415c
commit 54a7921227
17 changed files with 385 additions and 52 deletions
+4
View File
@@ -170,6 +170,8 @@ export type WorkflowCommand =
export interface WorkflowView {
runId: string;
featureName?: string;
request?: string;
revision: number;
status: WorkflowRun["status"];
background: boolean;
@@ -1072,6 +1074,8 @@ function openGate(run: WorkflowRun, gate: WorkflowGate) {
function view(run: WorkflowRun): WorkflowView {
return {
runId: run.runId,
...(run.featureName ? { featureName: run.featureName } : {}),
request: run.request,
revision: run.revision,
status: run.status,
background: run.background,