Rename Pipeline to Workflow in CLI help text and test assertions

Update command descriptions and test event name strings to use
workflow/run terminology instead of pipeline.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Bryan Helmkamp 2026-03-02 00:07:35 -05:00
parent a566aa0352
commit 46af8e6887
2 changed files with 11 additions and 11 deletions

View file

@ -24,12 +24,12 @@ enum Command {
},
/// Run an agentic coding session
Agent(arc_agent::cli::AgentArgs),
/// Launch and manage pipeline runs
/// Launch and manage workflow runs
Run {
#[command(subcommand)]
command: RunCommand,
},
/// Validate a pipeline
/// Validate a workflow
Validate(arc_workflows::cli::ValidateArgs),
/// List and test LLM models
Models {
@ -42,11 +42,11 @@ enum Command {
#[derive(Subcommand)]
enum RunCommand {
/// Launch a pipeline from a .dot or .toml task file
/// Launch a workflow from a .dot or .toml task file
Start(arc_workflows::cli::RunArgs),
/// List pipeline runs
/// List workflow runs
List(arc_workflows::cli::runs::RunsListArgs),
/// Delete old pipeline runs
/// Delete old workflow runs
Prune(arc_workflows::cli::runs::RunsPruneArgs),
}

View file

@ -498,17 +498,17 @@ fn dry_run_writes_ndjson_and_live_json() {
);
assert!(first_line.get("event").is_some(), "line should have event");
// Events should contain PipelineStarted (may not be first due to exec env events)
let has_pipeline_started = lines.iter().any(|line| {
// Events should contain WorkflowRunStarted (may not be first due to exec env events)
let has_run_started = lines.iter().any(|line| {
let parsed: serde_json::Value = serde_json::from_str(line).unwrap();
parsed["event"].get("PipelineStarted").is_some()
parsed["event"].get("WorkflowRunStarted").is_some()
});
assert!(
has_pipeline_started,
"events should contain PipelineStarted"
has_run_started,
"events should contain WorkflowRunStarted"
);
// run_id should be non-empty after PipelineStarted
// run_id should be non-empty after WorkflowRunStarted
let last_line: serde_json::Value = serde_json::from_str(lines[lines.len() - 1]).unwrap();
let run_id = last_line["run_id"].as_str().unwrap();
assert!(!run_id.is_empty(), "run_id should be non-empty");