From 50ce4ec2ddb8ec621a77d8773aa6df6d9e7441ff Mon Sep 17 00:00:00 2001 From: JJ Liebig Date: Sat, 5 Sep 2026 20:39:32 +0200 Subject: fix: run the full applicable test suite on windows (#3660) * fix: run the full applicable test suite on windows * test: remove redundant test shell assignment * test: make endpoint and metadata fixtures deterministic * test: tolerate exited servers during windows probe cleanup --- src/detect/manifest_update.rs | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) (limited to 'src/detect') diff --git a/src/detect/manifest_update.rs b/src/detect/manifest_update.rs index 4e165fe9..33493059 100644 --- a/src/detect/manifest_update.rs +++ b/src/detect/manifest_update.rs @@ -699,7 +699,14 @@ path = "codex.toml" .unwrap(); std::env::set_var( CATALOG_URL_ENV, - format!("file://{}", web_dir.join("index.toml").display()), + format!( + "file:///{}", + web_dir + .join("index.toml") + .to_string_lossy() + .replace('\\', "/") + .trim_start_matches('/') + ), ); let (tx, mut rx) = tokio::sync::mpsc::channel(1); @@ -762,7 +769,14 @@ path = "codex.toml" fs::write(remote_manifest_path(Agent::Codex), current).unwrap(); std::env::set_var( CATALOG_URL_ENV, - format!("file://{}", web_dir.join("index.toml").display()), + format!( + "file:///{}", + web_dir + .join("index.toml") + .to_string_lossy() + .replace('\\', "/") + .trim_start_matches('/') + ), ); let (tx, mut rx) = tokio::sync::mpsc::channel(1); @@ -833,7 +847,14 @@ path = "missing-cursor.toml" .unwrap(); std::env::set_var( CATALOG_URL_ENV, - format!("file://{}", web_dir.join("index.toml").display()), + format!( + "file:///{}", + web_dir + .join("index.toml") + .to_string_lossy() + .replace('\\', "/") + .trim_start_matches('/') + ), ); let (tx, mut rx) = tokio::sync::mpsc::channel(1); -- cgit v1.2.3