Skip to content

ci: fix broken windows tests#5787

Merged
Xuanwo merged 1 commit intomainfrom
luban/step-garage
Jan 22, 2026
Merged

ci: fix broken windows tests#5787
Xuanwo merged 1 commit intomainfrom
luban/step-garage

Conversation

@Xuanwo
Copy link
Copy Markdown
Collaborator

@Xuanwo Xuanwo commented Jan 22, 2026

This PR will try fixing the broken windows tests.


Parts of this PR were drafted with assistance from Codex (with gpt-5.2) and fully reviewed and edited by me. I take full responsibility for all changes.

@github-actions github-actions Bot added the ci Github Action or Test issues label Jan 22, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Code Review Summary

LGTM

This is a straightforward and well-targeted fix for Windows path handling in tests.

Analysis

The change correctly addresses the Windows path normalization issue by:

  1. Always creating a file:// URL first via Url::from_directory_path()
  2. Using the normalized path from that URL (which properly handles Windows drive letters like C:/C:/) when constructing custom-scheme URLs

This is the correct approach because Url::from_directory_path() handles platform-specific path normalization, while path.to_str() returns a raw OS path that isn't valid in a URL context on Windows.

Verdict

No issues found. The fix is minimal, correct, and well-commented.

@Xuanwo
Copy link
Copy Markdown
Collaborator Author

Xuanwo commented Jan 22, 2026

Windows test is passing, other tests are failed due to a breaking change from upstream

@Xuanwo Xuanwo merged commit b208c3c into main Jan 22, 2026
21 of 29 checks passed
@Xuanwo Xuanwo deleted the luban/step-garage branch January 22, 2026 14:58
majin1102 pushed a commit to majin1102/lance that referenced this pull request Jan 23, 2026
This PR will try fixing the broken windows tests.


---

**Parts of this PR were drafted with assistance from Codex (with
`gpt-5.2`) and fully reviewed and edited by me. I take full
responsibility for all changes.**
vivek-bharathan pushed a commit to vivek-bharathan/lance that referenced this pull request Feb 2, 2026
This PR will try fixing the broken windows tests.


---

**Parts of this PR were drafted with assistance from Codex (with
`gpt-5.2`) and fully reviewed and edited by me. I take full
responsibility for all changes.**
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Github Action or Test issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants