diff --git a/crates/arc-cli/src/main.rs b/crates/arc-cli/src/main.rs index 5869d995e..2575a36e0 100644 --- a/crates/arc-cli/src/main.rs +++ b/crates/arc-cli/src/main.rs @@ -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), } diff --git a/crates/arc-cli/tests/cli.rs b/crates/arc-cli/tests/cli.rs index e62744089..88b9ef7c9 100644 --- a/crates/arc-cli/tests/cli.rs +++ b/crates/arc-cli/tests/cli.rs @@ -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");