Skip to content

Fix file watcher issue with common path check#12741

Merged
lukasmasuch merged 2 commits intodevelopfrom
fix/common-path-windows-issue
Oct 15, 2025
Merged

Fix file watcher issue with common path check#12741
lukasmasuch merged 2 commits intodevelopfrom
fix/common-path-windows-issue

Conversation

@lukasmasuch
Copy link
Copy Markdown
Collaborator

@lukasmasuch lukasmasuch commented Oct 10, 2025

Describe your changes

Improves error handling to prevent issues with commonpath operation on windows during file watching.

GitHub Issue Link (if applicable)

Testing Plan

  • Added unit test.

Contribution License Agreement

By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.

@snyk-io
Copy link
Copy Markdown
Contributor

snyk-io bot commented Oct 10, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

license/snyk check is complete. No issues have been found. (View Details)

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Oct 10, 2025

✅ PR preview is ready!

Name Link
📦 Wheel file https://core-previews.s3-us-west-2.amazonaws.com/pr-12741/streamlit-1.50.0-py3-none-any.whl
📦 @streamlit/component-v2-lib Download from artifacts
🕹️ Preview app pr-12741.streamlit.app (☁️ Deploy here if not accessible)

@sfc-gh-lmasuch sfc-gh-lmasuch added security-assessment-completed impact:internal PR changes only affect internal code change:bugfix PR contains bug fix implementation impact:users PR changes affect end users and removed impact:internal PR changes only affect internal code labels Oct 10, 2025
@sfc-gh-lmasuch sfc-gh-lmasuch marked this pull request as ready for review October 10, 2025 11:40
Copy link
Copy Markdown
Collaborator

@sfc-gh-lwilby sfc-gh-lwilby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. The user did reply saying their files are not on different drives, so there may be a different cause for their issue. However, this seems like a good improvement anyways.

@lukasmasuch lukasmasuch merged commit a8e49a8 into develop Oct 15, 2025
38 checks passed
@lukasmasuch lukasmasuch deleted the fix/common-path-windows-issue branch October 15, 2025 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

change:bugfix PR contains bug fix implementation impact:users PR changes affect end users

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ValueError: Paths don't have the same drive

3 participants