René's URL Explorer Experiment


Title: "[warning] Working directory resolves to different path" due to case-sensitive comparison · Issue #26050 · microsoft/vscode-python · GitHub

Open Graph Title: "[warning] Working directory resolves to different path" due to case-sensitive comparison · Issue #26050 · microsoft/vscode-python

X Title: "[warning] Working directory resolves to different path" due to case-sensitive comparison · Issue #26050 · microsoft/vscode-python

Description: We have written the needed data into your clipboard because it was too large to send. Please paste. Type: Bug Behaviour In many or all Workspaces with an NT path, the Python extension emits

Open Graph Description: We have written the needed data into your clipboard because it was too large to send. Please paste. Type: Bug Behaviour In many or all Workspaces with an NT path, the Python extension emits ...

X Description: We have written the needed data into your clipboard because it was too large to send. Please paste. Type: Bug Behaviour In many or all Workspaces with an NT path, the Python extension emits <dat...

Opengraph URL: https://github.com/microsoft/vscode-python/issues/26050

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"\"[warning] Working directory resolves to different path\" due to case-sensitive comparison","articleBody":"We have written the needed data into your clipboard because it was too large to send. Please paste.\n\n\nType: \u003cb>Bug\u003c/b>\n\n\u003c!-- Please fill in all XXX markers -->\n# Behaviour\n\nIn many or all Workspaces with an NT path, the Python extension emits\n\n```\n\u003cdate> \u003ctime> [warning] Working directory resolves to different path: c:\\\u003ccorrect>\\\u003cpath> -> C:\\\u003ccorrect>\\\u003cpath>. Checking for symlinks in parent directories.\n```\n- The only difference is that the first drive letter is always lowercase and the second drive letter is always uppercase.\n- If the mismatch causes other problems, I am not aware of the connection. \n\n\u003cdetails>\u003csummary>Stream-of-consciousness conjecture\u003c/summary>\n\u003cp>\n\nWhen the testing panel is open, every (or almost every) keystroke in the editor causes the Python extension to rescan for tests (pytest configured), so the test tree disappears for a few seconds, then repopulates. To me, it is annoying; however, I have always assumed the system was working as intended, so I never opened an Issue. \n\nBut as I wrote, \"If the mismatch causes other problems, I am not aware of the connection,\" it occurred to me that there is a remote chance the constant refresh is due to the path mismatch. _Pure conjecture, no evidence:_ \n\n1. Because the paths don't match, the extension saves a null value in the \"Working-directory-resolves\" variable. \n2. In a different process, a subroutine monitors for changes that necessitate a test rescan. \n3. The subroutine relies, in part, on the \"Working-directory-resolves\" variable (perhaps to hash file contents or get last-modified data). \n4. The null value in the \"Working-directory-resolves\" variable prevents the subroutine from operating efficiently, \n    1. so on every file save \n    2. (Ah-ha! I have autosave-on-inactivity enabled), \n    3. the subroutine uses its fallback process, which is to \n    4. rescan every file in the workspace.\n\n\n\u003c/p>\n\u003c/details> \n\n\n## Steps to reproduce:\n\n1. Configure the test panel options????\n2. Have a problem in the test panel.\n3. Click on the test panel link to open the output panel.\n4. See the warning that doesn't help you resolve the real problem, such as `pytest` not being installed.\n\n\u003c!--\n**After** creating the issue on GitHub, you can add screenshots and GIFs of what is happening. Consider tools like https://www.cockos.com/licecap/, https://github.com/phw/peek or https://www.screentogif.com/ for GIF creation.\n-->\n\n\u003c!-- **NOTE**: Please do provide logs from Python Output panel. -->\n# Diagnostic data\n\n\u003cdetails>\n\n\u003csummary>Output for \u003ccode>Python\u003c/code> in the \u003ccode>Output\u003c/code> panel (\u003ccode>View\u003c/code>→\u003ccode>Output\u003c/code>, change the drop-down the upper-right of the \u003ccode>Output\u003c/code> panel to \u003ccode>Python\u003c/code>)\n\u003c/summary>\n\n\u003cp>\n\n```\n2026-07-20 14:35:41.508 [info] [test-by-project] Cleaned up 1 test items for workspace: c:\\clones\\python-soundfile\n2026-07-20 14:35:41.508 [info] [test-by-project] Discovering projects for workspace: c:\\clones\\python-soundfile\n2026-07-20 14:35:41.508 [info] [test-by-project] Found 1 total Python projects from API\n2026-07-20 14:35:41.509 [info] [test-by-project] Filtered to 1 projects in workspace\n2026-07-20 14:35:41.509 [info] [test-by-project] Creating adapter for: python-soundfile at file:///c%3A/clones/python-soundfile\n2026-07-20 14:35:41.509 [info] [test-by-project] Registered 1 project(s) for c:\\clones\\python-soundfile\n2026-07-20 14:35:41.510 [info] [test-by-project] Starting discovery for 1 project(s) in workspace\n2026-07-20 14:35:41.510 [info] [test-by-project] Discovering tests for project: python-soundfile (Python 3.14)\n2026-07-20 14:35:41.510 [warning] Working directory resolves to different path: c:\\clones\\python-soundfile -> C:\\clones\\python-soundfile. Checking for symlinks in parent directories.\n2026-07-20 14:35:41.511 [info] arg: --rootdir already exists in args, not adding.\n2026-07-20 14:35:41.511 [info] Environment variables set for pytest discovery: PYTHONPATH=c:\\Users\\hunte\\.vscode-insiders\\extensions\\ms-python.python-2026.5.2026070801-win32-x64\\python_files, TEST_RUN_PIPE=\\\\.\\pipe\\python-test-discovery-ed54e608dab12aeea168\n2026-07-20 14:35:41.511 [info] Using environment extension for pytest discovery in workspace c:\\clones\\python-soundfile\n2026-07-20 14:35:41.518 [info] Started pytest discovery subprocess (environment extension) for workspace c:\\clones\\python-soundfile\n2026-07-20 14:35:41.594 [error] c:\\clones\\python-soundfile\\.venv\\Scripts\\python.exe: No module named pytest\n\n2026-07-20 14:35:41.602 [error] pytest discovery failed with exit code 1 and signal null for workspace c:\\clones\\python-soundfile. Creating error payload.\n2026-07-20 14:35:41.603 [error] pytest test discovery error for workspace:  c:\\clones\\python-soundfile \n  \n The python test process was terminated before it could exit on its own, the process errored with: Code: 1, Signal: null for workspace c:\\clones\\python-soundfile\n2026-07-20 14:35:41.603 [info] Pytest discovery completed for workspace c:\\clones\\python-soundfile\n2026-07-20 14:35:41.603 [info] [test-by-project] Project python-soundfile (Python 3.14) discovery completed\n2026-07-20 14:35:41.603 [info] [test-by-project] Discovery complete: 1/1 projects completed\n\n```\n\n\u003c/p>\n\u003c/details>\n\n---\n\n## More TS info\n\n- the problem has existed for a long time.\n- I don't remember if it has always existed or if there was a starting date.\n- C: is just a plain NTFS drive\n- The problem certainly happens in both of my main directories, c:\\apps and c:\\clones, and maybe others.\n- The directories are not symlinks.\n- Each workspace is a subdirectory, and no workspace is itself a symlink.\n- I have not put effort into troubleshooting; I'm just doing a brain dump of relevant facts.\n\n```cmd\nC:\\>psinfo -d\n\nPsInfo v1.79 - Local and remote system information viewer\nCopyright (C) 2001-2023 Mark Russinovich\nSysinternals - www.sysinternals.com\n\nSystem information for \\\\DUDA:\nUptime:                    2 days 20 hours 58 minutes 29 seconds\nKernel version:            Windows 10 Pro, Multiprocessor Free\nProduct type:              Professional\nProduct version:           6.3\nService pack:              0\nKernel build number:       26200\nRegistered organization:\nRegistered owner:          nunya\nIE version:                9.0000\nSystem root:               C:\\WINDOWS\nProcessors:                16\nProcessor speed:           1.8 GHz\nProcessor type:            AMD Ryzen 7 5700U with Radeon Graphics\nPhysical memory:           13214 MB\nVideo driver:              AMD Radeon(TM) Graphics\nVolume Type       Format     Label                      Size       Free   Free\n    C: Fixed      NTFS                             929.56 GB  295.05 GB  31.7%\n    G: Fixed      FAT32      Google Drive           15.00 GB   13.84 GB  92.3%\n\nC:\\>dir /ad\n...\n05/07/2024  02:08 PM    \u003cDIR>          $AV_AVG\n05/06/2024  11:12 PM    \u003cDIR>          $RECYCLE.BIN\n06/10/2026  05:51 AM    \u003cDIR>          AMD\n06/30/2026  11:59 AM    \u003cDIR>          apps\n07/12/2026  04:14 PM    \u003cDIR>          clones\n06/05/2021  06:47 AM    \u003cDIR>          Config.Msi\n...\n\nC:\\>dir /al\n Volume in drive C has no label.\n Volume Serial Number is EE8F-7C8C\n\n Directory of C:\\\n\n05/07/2024  10:50 AM    \u003cJUNCTION>     Documents and Settings [C:\\Users]\n               0 File(s)              0 bytes\n               1 Dir(s)  316,805,861,376 bytes free\n\nC:\\>dir \\apps \\clones /al /b\nFile Not Found\nFile Not Found\n```\n\n---\n\nExtension version: 2026.5.2026070801\nVS Code version: Code - Insiders 1.130.0-insider (e586b8ac6e718785ed7271c162794c04f8d85648, 2026-07-20T04:43:17Z)\nOS version: Windows_NT x64 10.0.26200\nModes:\n\n\u003cdetails>\n\u003csummary>System Info\u003c/summary>\n\n|Item|Value|\n|---|---|\n|CPUs|AMD Ryzen 7 5700U with Radeon Graphics          (16 x 1797)|\n|GPU Status|2d_canvas: enabled\u003cbr>GPU0: VENDOR= 0x1002, DEVICE=0x164c [AMD Radeon(TM) Graphics], DRIVER_VENDOR=AMD, DRIVER_VERSION=31.0.21925.1001 *ACTIVE*\u003cbr>GPU1: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.8875\u003cbr>Machine model name: \u003cbr>Machine model version: \u003cbr>direct_rendering_display_compositor: disabled_off_ok\u003cbr>gpu_compositing: enabled\u003cbr>multiple_raster_threads: enabled_on\u003cbr>opengl: enabled_on\u003cbr>rasterization: enabled\u003cbr>raw_draw: disabled_off_ok\u003cbr>skia_graphite: disabled_off\u003cbr>trees_in_viz: disabled_off\u003cbr>video_decode: enabled\u003cbr>video_encode: enabled\u003cbr>webgl: enabled\u003cbr>webgpu: enabled\u003cbr>webnn: disabled_off|\n|Load (avg)|undefined|\n|Memory (System)|12.90GB (1.88GB free)|\n|Process Argv||\n|Screen Reader|no|\n|VM|0%|\n\u003c/details>\n\u003c!-- generated by issue reporter -->","author":{"url":"https://github.com/hunterhogan","@type":"Person","name":"hunterhogan"},"datePublished":"2026-07-20T20:43:25Z","url":"https://github.com/microsoft/vscode-python/issues/26050"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:8909346d-575e-2629-2e91-676214ce063c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDE7C:311640:CFFF79:10923DB:6B0102A4
html-safe-nonce4fb57cc9e7fc46d5d409601ef41e8a88ce715dde8f3187d835dccc29c351c0dc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTdDOjMxMTY0MDpDRkZGNzk6MTA5MjNEQjo2QjAxMDJBNCIsInZpc2l0b3JfaWQiOiI2ODQwODkzNzczMzU0OTU5NTI0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac1f1935f9aff0443bf78b22242c1936d0671fb2c0ba64b5ea240c00693ccab502
hovercard-subject-tagissue:4932920439
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/vscode-python/26050/issue_layout
twitter:imagehttps://opengraph.githubassets.com/1bf0e0a32b9136801c735ec032bfc730f29d550f415902938aad9536de4dd9c1/microsoft/vscode-python/issues/26050
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1bf0e0a32b9136801c735ec032bfc730f29d550f415902938aad9536de4dd9c1/microsoft/vscode-python/issues/26050
og:image:altWe have written the needed data into your clipboard because it was too large to send. Please paste. Type: Bug Behaviour In many or all Workspaces with an NT path, the Python extension emits ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamehunterhogan
hostnamegithub.com
expected-hostnamegithub.com
Nonecb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124
turbo-cache-controlno-preview
go-importgithub.com/microsoft/vscode-python git https://github.com/microsoft/vscode-python.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id106462765
octolytics-dimension-repository_nwomicrosoft/vscode-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id49946255
octolytics-dimension-repository_parent_nwoDonJayamanne/pythonVSCode
octolytics-dimension-repository_network_root_id49946255
octolytics-dimension-repository_network_root_nwoDonJayamanne/pythonVSCode
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/vscode-python/issues/26050#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fvscode-python%2Fissues%2F26050
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fvscode-python%2Fissues%2F26050
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=microsoft%2Fvscode-python
Reloadhttps://github.com/microsoft/vscode-python/issues/26050
Reloadhttps://github.com/microsoft/vscode-python/issues/26050
Reloadhttps://github.com/microsoft/vscode-python/issues/26050
microsofthttps://github.com/microsoft
vscode-pythonhttps://github.com/microsoft/vscode-python
Codehttps://github.com/microsoft/vscode-python
Issues345 (345)https://github.com/microsoft/vscode-python/issues
Pull requests54 (54)https://github.com/microsoft/vscode-python/pulls
Discussionshttps://github.com/microsoft/vscode-python/discussions
Actionshttps://github.com/microsoft/vscode-python/actions
Wikihttps://github.com/microsoft/vscode-python/wiki
Security and quality2 (2)https://github.com/microsoft/vscode-python/security
Insightshttps://github.com/microsoft/vscode-python/insights
https://github.com/microsoft/vscode-python
New issuehttps://github.com/login?return_to=https://github.com/microsoft/vscode-python/issues/26050
New issuehttps://github.com/login?return_to=https://github.com/microsoft/vscode-python/issues/26050
#26229https://github.com/microsoft/vscode-python/pull/26229
"[warning] Working directory resolves to different path" due to case-sensitive comparisonhttps://github.com/microsoft/vscode-python/issues/26050#top
#26229https://github.com/microsoft/vscode-python/pull/26229
https://github.com/hunterhogan
Hunter Hogan (hunterhogan)https://github.com/hunterhogan
on Jul 20, 2026https://github.com/microsoft/vscode-python/issues/26050#issue-4932920439
github-actionshttps://github.com/apps/github-actions
triage-neededNeeds assignment to the proper sub-teamhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22triage-needed%22
on Jul 20, 2026https://github.com/microsoft/vscode-python/issues/26050#event-28234294065
vs-code-engineeringhttps://github.com/apps/vs-code-engineering
triage-neededNeeds assignment to the proper sub-teamhttps://github.com/microsoft/vscode-python/issues?q=state%3Aopen%20label%3A%22triage-needed%22
on Jul 20, 2026https://github.com/microsoft/vscode-python/issues/26050#event-28234666667
vs-code-engineeringhttps://github.com/apps/vs-code-engineering
Eleanor Boyd (eleanorjboyd)https://github.com/eleanorjboyd
on Jul 20, 2026https://github.com/microsoft/vscode-python/issues/26050#event-28234667933
https://github.com/mohityadav8
Mohit Yadav (mohityadav8)https://github.com/mohityadav8
on Jul 21, 2026https://github.com/microsoft/vscode-python/issues/26050#issuecomment-5039152975
Eleanor Boyd (@eleanorjboyd)https://github.com/eleanorjboyd
Eduardo Villalpando Mello (edvilme)https://github.com/edvilme
Eleanor Boyd (eleanorjboyd)https://github.com/eleanorjboyd
on Nov 10, 2026https://github.com/microsoft/vscode-python/issues/26050#event-35741491288
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/vscode-python/issues/26050
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/vscode-python/issues/26050
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.