Skip to content

DRIVERS-3605 Fix OTel test on Windows - #883

Merged
blink1073 merged 1 commit into
mongodb-labs:masterfrom
blink1073:DRIVERS-3605
Oct 9, 2026
Merged

blink1073 merged 1 commit into
mongodb-labs:masterfrom
blink1073:DRIVERS-3605

Conversation

@blink1073

Copy link
Copy Markdown
Member

DRIVERS-3605 (follow up)

Summary

The test-otel task fails on Windows: uv is a native Windows binary and rejects the /cygdrive/... path still held by ROOT_DIR when the script calls uv run --project. The fix converts ROOT_DIR with cygpath -m on Cygwin hosts, matching the conversion handle-paths.sh already applies to SCRIPT_DIR and DRIVERS_TOOLS.

Changes in this PR

  • Convert ROOT_DIR to a Windows path on Cygwin hosts before uv run consumes it.

Test Plan

Ensure windows CI tests pass.

Checklist

Checklist for Author

  • Does the title of the PR reference a JIRA Ticket?
  • Do you fully understand the implementation? (Would you be comfortable explaining how this code works to someone else?)
  • Is all relevant documentation (README or docstring) updated?

Checklist for Reviewer

  • Does the title of the PR reference a JIRA Ticket?
  • Do you fully understand the implementation? (Would you be comfortable explaining how this code works to someone else?)
  • Is all relevant documentation (README or docstring) updated?

@blink1073
blink1073 marked this pull request as ready for review October 9, 2026 11:59
@blink1073
blink1073 requested a review from a team as a code owner October 9, 2026 11:59
@blink1073
blink1073 requested a review from connorsmacd October 9, 2026 11:59
@blink1073 blink1073 changed the title DRIVERS-3605 Add opt-in OTel span-export server configuration for OTEL trace-context prose tests DRIVERS-3605 Fix OTel test on Windows Oct 9, 2026
@blink1073
blink1073 merged commit da61846 into mongodb-labs:master Oct 9, 2026
82 checks passed
@blink1073
blink1073 deleted the DRIVERS-3605 branch October 9, 2026 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants