René's URL Explorer Experiment


Title: fix: state collision by code-asher · Pull Request #4881 · coder/code-server · GitHub

Open Graph Title: fix: state collision by code-asher · Pull Request #4881 · coder/code-server

X Title: fix: state collision by code-asher · Pull Request #4881 · coder/code-server

Description: VS Code names their databases after the workspace but if two workspaces share the same path (for example if they are on different virtual machines) but they share the same domain (since IndexedDB is scoped to domain) then those two states will have a naming collision. Blocked on coder/vscode#46.

Open Graph Description: VS Code names their databases after the workspace but if two workspaces share the same path (for example if they are on different virtual machines) but they share the same domain (since IndexedDB i...

X Description: VS Code names their databases after the workspace but if two workspaces share the same path (for example if they are on different virtual machines) but they share the same domain (since IndexedDB i...

Opengraph URL: https://github.com/coder/code-server/pull/4881

X: @github

direct link

Domain: github.com

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:0da120aa-ca5c-7b28-4c4b-81c370ba4968
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCF30:13E7EE:57A8B7:7286C9:6B02623C
html-safe-nonce2f7f2ed7984b110c58ea2bb400c89614e073d961e472e83125eb73599e41326a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjMwOjEzRTdFRTo1N0E4Qjc6NzI4NkM5OjZCMDI2MjNDIiwidmlzaXRvcl9pZCI6IjEwMDcxNzI5ODA5MTgzNDYzMDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac7265f27d472278c79f838b990eb1cf32f865daf2b29ae15568773a872330de8e
hovercard-subject-tagpull_request:856097646
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/coder/code-server/pull/4881/files
twitter:imagehttps://avatars.githubusercontent.com/u/45609798?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/45609798?s=400&v=4
og:image:altVS Code names their databases after the workspace but if two workspaces share the same path (for example if they are on different virtual machines) but they share the same domain (since IndexedDB i...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/coder/code-server git https://github.com/coder/code-server.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id172953845
octolytics-dimension-repository_nwocoder/code-server
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id172953845
octolytics-dimension-repository_network_root_nwocoder/code-server
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/coder/code-server/pull/4881/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcode-server%2Fpull%2F4881%2Ffiles
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%2Fcoder%2Fcode-server%2Fpull%2F4881%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=coder%2Fcode-server
Reloadhttps://github.com/coder/code-server/pull/4881/files
Reloadhttps://github.com/coder/code-server/pull/4881/files
Reloadhttps://github.com/coder/code-server/pull/4881/files
coderhttps://github.com/coder
code-serverhttps://github.com/coder/code-server
Codehttps://github.com/coder/code-server
Issues147 (147)https://github.com/coder/code-server/issues
Pull requests17 (17)https://github.com/coder/code-server/pulls
Discussionshttps://github.com/coder/code-server/discussions
Actionshttps://github.com/coder/code-server/actions
Projectshttps://github.com/coder/code-server/projects
Security and quality3 (3)https://github.com/coder/code-server/security
Insightshttps://github.com/coder/code-server/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fcoder%2Fcode-server%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fcoder%2Fcode-server%2Fissues%2Fnew%2Fchoose
code-asherhttps://github.com/code-asher
coder:mainhttps://github.com/coder/code-server/tree/main
code-asher:state-collisionhttps://github.com/code-asher/code-server/tree/state-collision
Conversation 19 https://github.com/coder/code-server/pull/4881
Commits 10 https://github.com/coder/code-server/pull/4881/commits
Checks 0 https://github.com/coder/code-server/pull/4881/checks
Files changed https://github.com/coder/code-server/pull/4881/files
Please reload this pagehttps://github.com/coder/code-server/pull/4881/files
fix: state collision https://github.com/coder/code-server/pull/4881/files#top
Show all changes 10 commits https://github.com/coder/code-server/pull/4881/files
cf991af Add helper for navigating the quick picker code-asher Feb 17, 2022 https://github.com/coder/code-server/pull/4881/commits/cf991afb33c6d75ed031ce9c330388ead229b30b
8ce6730 Add a test for opening a file code-asher Feb 17, 2022 https://github.com/coder/code-server/pull/4881/commits/8ce67308105d7f0bd5f2ef0f0487987f8c2fbe5b
87b3824 Add test for colliding state code-asher Feb 17, 2022 https://github.com/coder/code-server/pull/4881/commits/87b38244102d9bf3f76fdadd861df5ee00517c09
e28914a Update VS Code code-asher Feb 17, 2022 https://github.com/coder/code-server/pull/4881/commits/e28914a3382fb6875f7499ccaeeaac48e82d15ad
2dad878 fmt code-asher Feb 18, 2022 https://github.com/coder/code-server/pull/4881/commits/2dad878fcc000a743304d12f8033f722912ecec8
ee850b5 Standardize on endpoint vs path code-asher Feb 18, 2022 https://github.com/coder/code-server/pull/4881/commits/ee850b5bca44ca0d707fea1bdf155f7f8f848080
2e001f2 Rename picker to quick input to match VS Code terminology code-asher Feb 18, 2022 https://github.com/coder/code-server/pull/4881/commits/2e001f24f80d3f4849c9ff0a3d8760bea7e576a8
092bfaa Rename dir to workspaceDir code-asher Feb 18, 2022 https://github.com/coder/code-server/pull/4881/commits/092bfaaff4f22c1621245da704161c67182b7ed2
9b82ac3 Merge branch 'main' into state-collision code-asher Feb 22, 2022 https://github.com/coder/code-server/pull/4881/commits/9b82ac306433a5463a45ae0a1a02981c8423fa2b
b48cb87 Merge branch 'main' into state-collision jsjoeio Feb 22, 2022 https://github.com/coder/code-server/pull/4881/commits/b48cb874b9d40c9bb89097afe5832c95c7ef8f9b
Clear filters https://github.com/coder/code-server/pull/4881/files
Please reload this pagehttps://github.com/coder/code-server/pull/4881/files
Please reload this pagehttps://github.com/coder/code-server/pull/4881/files
codeServer.test.ts https://github.com/coder/code-server/pull/4881/files#diff-a460c5263dbfde4538ffff9faaebb47b490e0b5ec9a23a955c9244dc3f9026a3
CodeServer.ts https://github.com/coder/code-server/pull/4881/files#diff-919759731061eddd8522c53c0651f7328e5030d138e0c0e1005936f33aaf53e7
package.json https://github.com/coder/code-server/pull/4881/files#diff-a46b982087dc529e4032ee496078773fb0f5cf061739b7b7862e79bb266616de
yarn.lock https://github.com/coder/code-server/pull/4881/files#diff-7743183f5b9de5bbe12a85f91164a96a8818fb26d5223fd4fc0e75c3b61e1836
https://github.com/coder/code-server/blob/main/.github/CODEOWNERS#L1
test/e2e/codeServer.test.tshttps://github.com/coder/code-server/pull/4881/files#diff-a460c5263dbfde4538ffff9faaebb47b490e0b5ec9a23a955c9244dc3f9026a3
View file https://github.com/code-asher/code-server/blob/b48cb874b9d40c9bb89097afe5832c95c7ef8f9b/test/e2e/codeServer.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/code-server/pull/4881/{{ revealButtonHref }}
https://github.com/coder/code-server/pull/4881/files#diff-a460c5263dbfde4538ffff9faaebb47b490e0b5ec9a23a955c9244dc3f9026a3
Please reload this pagehttps://github.com/coder/code-server/pull/4881/files
https://github.com/coder/code-server/blob/main/.github/CODEOWNERS#L1
test/e2e/models/CodeServer.tshttps://github.com/coder/code-server/pull/4881/files#diff-919759731061eddd8522c53c0651f7328e5030d138e0c0e1005936f33aaf53e7
View file https://github.com/code-asher/code-server/blob/b48cb874b9d40c9bb89097afe5832c95c7ef8f9b/test/e2e/models/CodeServer.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/code-server/pull/4881/{{ revealButtonHref }}
https://github.com/coder/code-server/pull/4881/files#diff-919759731061eddd8522c53c0651f7328e5030d138e0c0e1005936f33aaf53e7
https://github.com/coder/code-server/pull/4881/files#diff-919759731061eddd8522c53c0651f7328e5030d138e0c0e1005936f33aaf53e7
Please reload this pagehttps://github.com/coder/code-server/pull/4881/files
https://github.com/coder/code-server/pull/4881/files#diff-919759731061eddd8522c53c0651f7328e5030d138e0c0e1005936f33aaf53e7
https://github.com/coder/code-server/pull/4881/files#diff-919759731061eddd8522c53c0651f7328e5030d138e0c0e1005936f33aaf53e7
https://github.com/coder/code-server/pull/4881/files#diff-919759731061eddd8522c53c0651f7328e5030d138e0c0e1005936f33aaf53e7
https://github.com/coder/code-server/pull/4881/files#diff-919759731061eddd8522c53c0651f7328e5030d138e0c0e1005936f33aaf53e7
Please reload this pagehttps://github.com/coder/code-server/pull/4881/files
https://github.com/coder/code-server/pull/4881/files#diff-919759731061eddd8522c53c0651f7328e5030d138e0c0e1005936f33aaf53e7
https://github.com/coder/code-server/pull/4881/files#diff-919759731061eddd8522c53c0651f7328e5030d138e0c0e1005936f33aaf53e7
Please reload this pagehttps://github.com/coder/code-server/pull/4881/files
https://github.com/coder/code-server/pull/4881/files#diff-919759731061eddd8522c53c0651f7328e5030d138e0c0e1005936f33aaf53e7
Please reload this pagehttps://github.com/coder/code-server/pull/4881/files
https://github.com/coder/code-server/pull/4881/files#diff-919759731061eddd8522c53c0651f7328e5030d138e0c0e1005936f33aaf53e7
https://github.com/coder/code-server/blob/main/.github/CODEOWNERS#L1
vendor/package.jsonhttps://github.com/coder/code-server/pull/4881/files#diff-a46b982087dc529e4032ee496078773fb0f5cf061739b7b7862e79bb266616de
View file https://github.com/code-asher/code-server/blob/b48cb874b9d40c9bb89097afe5832c95c7ef8f9b/vendor/package.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/code-server/pull/4881/{{ revealButtonHref }}
https://github.com/coder/code-server/pull/4881/files#diff-a46b982087dc529e4032ee496078773fb0f5cf061739b7b7862e79bb266616de
https://github.com/coder/code-server/blob/main/.github/CODEOWNERS#L1
vendor/yarn.lockhttps://github.com/coder/code-server/pull/4881/files#diff-7743183f5b9de5bbe12a85f91164a96a8818fb26d5223fd4fc0e75c3b61e1836
View file https://github.com/code-asher/code-server/blob/b48cb874b9d40c9bb89097afe5832c95c7ef8f9b/vendor/yarn.lock
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/coder/code-server/pull/4881/{{ revealButtonHref }}
https://github.com/coder/code-server/pull/4881/files#diff-7743183f5b9de5bbe12a85f91164a96a8818fb26d5223fd4fc0e75c3b61e1836
https://github.com/coder/code-server/pull/4881/files#diff-7743183f5b9de5bbe12a85f91164a96a8818fb26d5223fd4fc0e75c3b61e1836
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.