From 386b888bd87d3518af64bda2dfb958d98e403ad8 Mon Sep 17 00:00:00 2001 From: thekevinbot <248217931+thekevinbot@users.noreply.github.com> Date: Fri, 2 Oct 2026 07:36:04 -0400 Subject: [PATCH 1/2] test(rust): use platform-native paths in two Unix-assuming unit tests skip-changelog: test-only change, no observable behavior --- packages/rust/src/extension_resolution.rs | 6 +++++- packages/rust/src/lib.rs | 9 +++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/packages/rust/src/extension_resolution.rs b/packages/rust/src/extension_resolution.rs index ab5f729c7..f21763fa1 100644 --- a/packages/rust/src/extension_resolution.rs +++ b/packages/rust/src/extension_resolution.rs @@ -512,7 +512,11 @@ mod tests { ); assert_eq!( err.to_string(), - "multiple loadable extension files found in package 'vec': /pkg/a.so, /pkg/z.so; disambiguate with a literal path" + format!( + "multiple loadable extension files found in package 'vec': {}, {}; disambiguate with a literal path", + dir.join("a.so").display(), + dir.join("z.so").display() + ) ); } } diff --git a/packages/rust/src/lib.rs b/packages/rust/src/lib.rs index 30479e5eb..a77fa5977 100644 --- a/packages/rust/src/lib.rs +++ b/packages/rust/src/lib.rs @@ -2936,7 +2936,12 @@ mod internal_tests { /// so `notify` never sees `.`. #[test] fn relative_root_canonicalizes_watch_root_only() { - let fake = FakeFs::default().with_canonical_root(".", "/ws/canonical"); + let canonical = if cfg!(windows) { + r"C:\ws\canonical" + } else { + "/ws/canonical" + }; + let fake = FakeFs::default().with_canonical_root(".", canonical); let db = DirSQL::with_ignore_and_fs( ".", vec![Table::new( @@ -2956,7 +2961,7 @@ mod internal_tests { "watch_root must be absolute, got {:?}", db.inner.watch_root ); - assert_eq!(db.inner.watch_root, PathBuf::from("/ws/canonical")); + assert_eq!(db.inner.watch_root, PathBuf::from(canonical)); } /// With an absolute root, `process_file_event` strips the `watch_root` From e004ed5a2ae893f8d66cd068a745dbba92889015 Mon Sep 17 00:00:00 2001 From: thekevinbot <248217931+thekevinbot@users.noreply.github.com> Date: Fri, 2 Oct 2026 07:47:55 -0400 Subject: [PATCH 2/2] e2e attestation for claude/1213-win-test-fixtures --- .../ts/e2e-attestations/claude-1213-win-test-fixtures.json | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 packages/ts/e2e-attestations/claude-1213-win-test-fixtures.json diff --git a/packages/ts/e2e-attestations/claude-1213-win-test-fixtures.json b/packages/ts/e2e-attestations/claude-1213-win-test-fixtures.json new file mode 100644 index 000000000..a1963bbd7 --- /dev/null +++ b/packages/ts/e2e-attestations/claude-1213-win-test-fixtures.json @@ -0,0 +1,7 @@ +{ + "command": "pnpm test:e2e", + "ran_at": 1790941675, + "exit_code": 0, + "commit": "386b888bd87d3518af64bda2dfb958d98e403ad8", + "branch": "claude/1213-win-test-fixtures" +}