diff --git a/crates/pa-cli/tests/daemon_commands_e2e.rs b/crates/pa-cli/tests/daemon_commands_e2e.rs index 7a2c83698..59881fbbe 100644 --- a/crates/pa-cli/tests/daemon_commands_e2e.rs +++ b/crates/pa-cli/tests/daemon_commands_e2e.rs @@ -980,7 +980,7 @@ fn ts_daemon_differential_cli_output() { // SCRUB_ENV removes the gate's inherited Rust override before either CLI. // Do not mutate the test process's TMPDIR or alias either live endpoint. let uid = pa_core::platform::process::current_user_id(); - let ts_socket = dir.path().join(format!("wv-{uid}/daemon.sock")); + let ts_socket = dir.path().join(format!("prime-agent-{uid}/daemon.sock")); let rust_socket = dir .path() .join(format!("prime-agent-rust-{uid}/daemon.sock")); diff --git a/crates/pa-cli/tests/differential_cli.rs b/crates/pa-cli/tests/differential_cli.rs index 87be19325..28ae437a0 100644 --- a/crates/pa-cli/tests/differential_cli.rs +++ b/crates/pa-cli/tests/differential_cli.rs @@ -217,7 +217,6 @@ const CORPUS: &[&[&str]] = &[ &["package", "update", "--self"], &["package", "update", "a", "b"], &["package", "update", "self"], - &["package", "update", "wv"], &["package", "update", "pi"], &["package", "update", "--force"], &["package", "install"], @@ -373,6 +372,13 @@ fn normalize(text: &str, sandbox_roots: &[&Path]) -> String { for root in sandbox_roots { text = text.replace(&root.display().to_string(), ""); } + // The fork renamed the product and binary; the parity corpus compares the + // command surface, not the brand (TS `prime-agent` / `Prime Agent` vs + // Rust `wv` / `Weave`). + text = text.replace("prime-agent", "").replace("wv", ""); + text = text + .replace("Prime Agent", "") + .replace("Weave", ""); // Docs paths in login guidance resolve to each binary's own install dir // (package dir); compare the shape, not the installation location. text = normalize_docs_paths(&text); diff --git a/crates/pa-cli/tests/print_runtime_e2e.rs b/crates/pa-cli/tests/print_runtime_e2e.rs index 30c432ade..9c658b34c 100644 --- a/crates/pa-cli/tests/print_runtime_e2e.rs +++ b/crates/pa-cli/tests/print_runtime_e2e.rs @@ -467,7 +467,7 @@ fn print_mode_resume_unknown_selector_fails_with_browse_hint() { "stderr: {stderr}" ); assert!( - stderr.contains("Open wv and press left-arrow to browse sessions."), + stderr.contains("Open Weave and press left-arrow to browse sessions."), "stderr: {stderr}" ); } diff --git a/scripts/check_workspace_tests.py b/scripts/check_workspace_tests.py index c62170b81..fb4dc16e4 100644 --- a/scripts/check_workspace_tests.py +++ b/scripts/check_workspace_tests.py @@ -11,6 +11,7 @@ from concurrent.futures import FIRST_COMPLETED, ThreadPoolExecutor, wait import json import os from pathlib import Path +import shlex import shutil import signal import subprocess