René's URL Explorer Experiment


Title: utils: prefer parent uri when matching uri by mnauw · Pull Request #682 · python-lsp/python-lsp-server · GitHub

Open Graph Title: utils: prefer parent uri when matching uri by mnauw · Pull Request #682 · python-lsp/python-lsp-server

X Title: utils: prefer parent uri when matching uri by mnauw · Pull Request #682 · python-lsp/python-lsp-server

Description: At present, match_uri_to_workspace can return a workspace that is not a parent of the uri. In particular, if /a/b/c is a workspace, and also /a/b, then searching for a workspace for /a/b/x/y can r...

Open Graph Description: At present, match_uri_to_workspace can return a workspace that is not a parent of the uri. In particular, if /a/b/c is a workspace, and also /a/b, then searching for a workspace for /a/b/x/y can r...

X Description: At present, match_uri_to_workspace can return a workspace that is not a parent of the uri. In particular, if /a/b/c is a workspace, and also /a/b, then searching for a workspace for /a/b/x/y can r...

Opengraph URL: https://github.com/python-lsp/python-lsp-server/pull/682

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:402422cc-4907-dd51-75ba-536448afc4cd
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9BB2:E4115:1CB7D89:2662315:69704EDD
html-safe-noncef175138326f101041285df49e26402d0dec457fdf64929796772faeebe250399
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QkIyOkU0MTE1OjFDQjdEODk6MjY2MjMxNTo2OTcwNEVERCIsInZpc2l0b3JfaWQiOiI5MDYwMTgyODMyMDY2ODc1MTAxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac2909ca51bdf02ccb508b08411c3e43c50c88eb0d1a5e51bdcda7cb871ae9b92d
hovercard-subject-tagpull_request:2947695158
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python-lsp/python-lsp-server/682/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/1e0b6c490788f3a62be6f85cc7acd4e4ad2c2561faf9d2b78ed46ca08121f990/python-lsp/python-lsp-server/pull/682
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1e0b6c490788f3a62be6f85cc7acd4e4ad2c2561faf9d2b78ed46ca08121f990/python-lsp/python-lsp-server/pull/682
og:image:altAt present, match_uri_to_workspace can return a workspace that is not a parent of the uri. In particular, if /a/b/c is a workspace, and also /a/b, then searching for a workspace for /a/b/x/y can r...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemnauw
hostnamegithub.com
expected-hostnamegithub.com
None9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2
turbo-cache-controlno-preview
go-importgithub.com/python-lsp/python-lsp-server git https://github.com/python-lsp/python-lsp-server.git
octolytics-dimension-user_id51609341
octolytics-dimension-user_loginpython-lsp
octolytics-dimension-repository_id341006790
octolytics-dimension-repository_nwopython-lsp/python-lsp-server
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id341006790
octolytics-dimension-repository_network_root_nwopython-lsp/python-lsp-server
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
releasef643964067a552f02067066d6a910b2f90a5721f
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/pull/682#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-lsp%2Fpython-lsp-server%2Fpull%2F682
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-lsp%2Fpython-lsp-server%2Fpull%2F682
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python-lsp%2Fpython-lsp-server
Reloadhttps://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/pull/682
Reloadhttps://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/pull/682
Reloadhttps://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/pull/682
python-lsp https://patch-diff.githubusercontent.com/python-lsp
python-lsp-serverhttps://patch-diff.githubusercontent.com/python-lsp/python-lsp-server
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-lsp%2Fpython-lsp-server
Fork 230 https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-lsp%2Fpython-lsp-server
Star 2.5k https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-lsp%2Fpython-lsp-server
Code https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server
Issues 144 https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/issues
Pull requests 21 https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/pulls
Discussions https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/discussions
Actions https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/actions
Projects 0 https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/projects
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/security
Please reload this pagehttps://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/pull/682
Insights https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/pulse
Code https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server
Issues https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/issues
Pull requests https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/pulls
Discussions https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/discussions
Actions https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/actions
Projects https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/projects
Security https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/security
Insights https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fpython-lsp%2Fpython-lsp-server%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fpython-lsp%2Fpython-lsp-server%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/pull/682#issue-comment-box
mnauwhttps://patch-diff.githubusercontent.com/mnauw
python-lsp:develophttps://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/tree/develop
mnauw:uri_match_parenthttps://patch-diff.githubusercontent.com/mnauw/python-lsp-server/tree/uri_match_parent
utils: prefer parent uri when matching uri https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/pull/682#top
mnauwhttps://patch-diff.githubusercontent.com/mnauw
python-lsp:develophttps://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/tree/develop
mnauw:uri_match_parenthttps://patch-diff.githubusercontent.com/mnauw/python-lsp-server/tree/uri_match_parent
Conversation 1 https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/pull/682
Commits 1 https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/pull/682/commits
Checks 13 https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/pull/682/checks
Files changed https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/pull/682/files
Please reload this pagehttps://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/pull/682
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/pull/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/mnauw
mnauwhttps://patch-diff.githubusercontent.com/mnauw
Oct 25, 2025https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/pull/682#issue-3552924486
Please reload this pagehttps://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/pull/682
https://patch-diff.githubusercontent.com/mnauw
utils: prefer parent uri when matching urihttps://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/pull/682/commits/edce2fc183992ea3aa7d34ad6449548305eabb51
edce2fchttps://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/pull/682/commits/edce2fc183992ea3aa7d34ad6449548305eabb51
https://patch-diff.githubusercontent.com/mnauw
mnauwhttps://patch-diff.githubusercontent.com/mnauw
force-pushedhttps://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/compare/f6542bfe0a1a774908df78aa65dd8d60869da9a4..edce2fc183992ea3aa7d34ad6449548305eabb51
f6542bfhttps://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/commit/f6542bfe0a1a774908df78aa65dd8d60869da9a4
edce2fchttps://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/commit/edce2fc183992ea3aa7d34ad6449548305eabb51
Compare https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/compare/f6542bfe0a1a774908df78aa65dd8d60869da9a4..edce2fc183992ea3aa7d34ad6449548305eabb51
December 27, 2025 14:20https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/pull/682#event-21765810985
https://patch-diff.githubusercontent.com/mnauw
mnauwhttps://patch-diff.githubusercontent.com/mnauw
Dec 27, 2025https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/pull/682#issuecomment-3694014619
Please reload this pagehttps://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/pull/682
Sign up for freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-lsp%2Fpython-lsp-server%2Fpull%2F682
Please reload this pagehttps://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/pull/682
https://patch-diff.githubusercontent.com/mnauw
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.