René's URL Explorer Experiment


Title: Store state on remote instead of browser · Issue #4212 · coder/code-server · GitHub

Open Graph Title: Store state on remote instead of browser · Issue #4212 · coder/code-server

X Title: Store state on remote instead of browser · Issue #4212 · coder/code-server

Description: Edit by @code-asher: Storing the state in the browser has (at least) the two following problems: If you switch to another browser you have to open and configure everything all over again (what this issue was originally about). It is impo...

Open Graph Description: Edit by @code-asher: Storing the state in the browser has (at least) the two following problems: If you switch to another browser you have to open and configure everything all over again (what this...

X Description: Edit by @code-asher: Storing the state in the browser has (at least) the two following problems: If you switch to another browser you have to open and configure everything all over again (what this...

Opengraph URL: https://github.com/coder/code-server/issues/4212

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Store state on remote instead of browser","articleBody":"**Edit by @code-asher:** Storing the state in the browser has (at least) the two following problems:\r\n\r\n1.  If you switch to another browser you have to open and configure everything all over again (what this issue was originally about).\r\n2. It is impossible to seed the initial state like you could in native VS Code by writing to the JSON state file.\r\n\r\nOriginal issue content follows.\r\n\r\n\u003c!--\r\n\r\nHi there! 👋\r\n\r\nThanks for reporting a bug.\r\n\r\nPlease search for existing issues before filing, as they may contain additional\r\ninformation about the problem and descriptions of workarounds. Provide as much\r\ninformation as you can, so that we can reproduce the issue. Otherwise, we may\r\nnot be able to help diagnose the problem, and may close the issue as\r\nunreproducible or incomplete. For visual defects, please include screenshots to\r\nhelp us understand the issue.\r\n-->\r\n\r\n## OS/Web Information\r\n\r\n- Web Browser: Chrome v91\r\n- Local OS: Windows 10\r\n- Remote OS: Ubuntu 20.04\r\n- Remote Architecture: Debian\r\n- `code-server --version`: 3.12.0\r\n\r\n## Steps to Reproduce\r\n\r\n1. Open a new code server instance in browser and make some changes (eg : hide remote host).\r\n3. Open the same instance in incognito tab.\r\n4. The changed made above will not be reflected, and you have to make those changes again.\r\n\r\n## Expected\r\nTill v3.11 the state of code-server was maintained across browsers. \r\n\r\n\u003c!-- What should happen? -->\r\n\r\n## Actual\r\nThe state is saved local storage instead of server and hence the changes does not reflect on browser changes.\r\n\r\n\u003c!-- What actually happens? -->\r\n\r\n## Notes\r\n`scope === StorageScope.GLOBAL ? 'global' : this.payload.id;` it is in workbench.web.api.js.map\r\nPerhaps it's related to where the state is saved?\r\nFrom discussion : https://github.com/cdr/code-server/discussions/4185\r\n\u003c!-- If you can reproduce the issue on vanilla VS Code,\r\nplease file the issue at the VS Code repository instead. -->","author":{"url":"https://github.com/abhay-ranawat","@type":"Person","name":"abhay-ranawat"},"datePublished":"2021-09-20T23:17:53Z","url":"https://github.com/coder/code-server/issues/4212"}

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:894589ca-f36d-d1af-aa7d-ccf4748e1c55
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9F32:1201C:2766FA4:345A4B3:6B01A633
html-safe-noncef3303a32ef00f4c999182377cbb501a63928e18da5555cfbf2cd573b5c107f4e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RjMyOjEyMDFDOjI3NjZGQTQ6MzQ1QTRCMzo2QjAxQTYzMyIsInZpc2l0b3JfaWQiOiI2MzI2NTk0NDczNTY4NjA5ODQzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac022709023ca21403bf2e05316d6992926ed7ff9184f3f64f29f35ccd094e22b4
hovercard-subject-tagissue:1001549328
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/coder/code-server/4212/issue_layout
twitter:imagehttps://opengraph.githubassets.com/86dc6a04fc3553a8efd7e6424bb6925dbbdc0a970da4a05ef02c294b55763f48/coder/code-server/issues/4212
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/86dc6a04fc3553a8efd7e6424bb6925dbbdc0a970da4a05ef02c294b55763f48/coder/code-server/issues/4212
og:image:altEdit by @code-asher: Storing the state in the browser has (at least) the two following problems: If you switch to another browser you have to open and configure everything all over again (what this...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameabhay-ranawat
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/coder/code-server/issues/4212#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcode-server%2Fissues%2F4212
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%2Fissues%2F4212
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=coder%2Fcode-server
Reloadhttps://github.com/coder/code-server/issues/4212
Reloadhttps://github.com/coder/code-server/issues/4212
Reloadhttps://github.com/coder/code-server/issues/4212
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
https://github.com/coder/code-server
New issuehttps://github.com/login?return_to=https://github.com/coder/code-server/issues/4212
New issuehttps://github.com/login?return_to=https://github.com/coder/code-server/issues/4212
#7914https://github.com/coder/code-server/pull/7914
Store state on remote instead of browserhttps://github.com/coder/code-server/issues/4212#top
#7914https://github.com/coder/code-server/pull/7914
enhancementSome improvement that isn't a featurehttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22enhancement%22
needs-investigationThis issue needs to be further investigatedhttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22needs-investigation%22
On Deckhttps://github.com/coder/code-server/milestone/20
https://github.com/abhay-ranawat
abhay-ranawathttps://github.com/abhay-ranawat
on Sep 20, 2021https://github.com/coder/code-server/issues/4212#issue-1001549328
@code-asherhttps://github.com/code-asher
#4185https://github.com/coder/code-server/discussions/4185
Nexthttps://github.com/coder/code-server/issues/4212?timeline_page=1
jsjoeiohttps://github.com/jsjoeio
needs-investigationThis issue needs to be further investigatedhttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22needs-investigation%22
on Sep 21, 2021https://github.com/coder/code-server/issues/4212#event-5337188587
jsjoeiohttps://github.com/jsjoeio
On Deckhttps://github.com/coder/code-server/milestone/20
on Sep 21, 2021https://github.com/coder/code-server/issues/4212#event-5337188929
https://github.com/jsjoeio
jsjoeiohttps://github.com/jsjoeio
on Sep 21, 2021https://github.com/coder/code-server/issues/4212#issuecomment-924173771
@abhay-ranawathttps://github.com/abhay-ranawat
https://github.com/benz0li
benz0lihttps://github.com/benz0li
on Sep 24, 2021https://github.com/coder/code-server/issues/4212#issuecomment-926414621
https://github.com/jsjoeio
jsjoeiohttps://github.com/jsjoeio
on Sep 24, 2021https://github.com/coder/code-server/issues/4212#issuecomment-926792388
https://github.com/abhay-ranawat
abhay-ranawathttps://github.com/abhay-ranawat
on Sep 24, 2021https://github.com/coder/code-server/issues/4212#issuecomment-926894255
https://github.com/benz0li
benz0lihttps://github.com/benz0li
on Oct 6, 2021https://github.com/coder/code-server/issues/4212#issuecomment-936520678
debian:bullseyehttps://hub.docker.com/_/debian
https://github.com/apps/stale
stalehttps://github.com/apps/stale
on Apr 4, 2022https://github.com/coder/code-server/issues/4212#issuecomment-1087718651
stalehttps://github.com/apps/stale
stalehttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22stale%22
on Apr 4, 2022https://github.com/coder/code-server/issues/4212#event-6364229634
https://github.com/benz0li
benz0lihttps://github.com/benz0li
on Apr 4, 2022https://github.com/coder/code-server/issues/4212#issuecomment-1087728485
https://drewdevault.com/2021/10/26/stalebot.htmlhttps://drewdevault.com/2021/10/26/stalebot.html
stalehttps://github.com/apps/stale
stalehttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22stale%22
on Apr 4, 2022https://github.com/coder/code-server/issues/4212#event-6364303587
https://github.com/code-asher
code-asherhttps://github.com/code-asher
on Apr 11, 2022https://github.com/coder/code-server/issues/4212#issuecomment-1095343371
https://drewdevault.com/2021/10/26/stalebot.htmlhttps://drewdevault.com/2021/10/26/stalebot.html
code-asherhttps://github.com/code-asher
on Jun 21, 2023https://github.com/coder/code-server/issues/4212#event-9597049112
benz0lihttps://github.com/benz0li
on Nov 21, 2023https://github.com/coder/code-server/issues/4212#event-11019702427
Delete local storage patchhttps://github.com/coder/code-server/commit/09dd5fe44d86d30ea21e03ebdb3979d31eab1ac9
09dd5fehttps://github.com/coder/code-server/commit/09dd5fe44d86d30ea21e03ebdb3979d31eab1ac9
code-asherhttps://github.com/code-asher
on Dec 29, 2023https://github.com/coder/code-server/issues/4212#event-11358510711
https://github.com/hefanbo
hefanbohttps://github.com/hefanbo
on Mar 23, 2026https://github.com/coder/code-server/issues/4212#issuecomment-4108146704
https://github.com/code-asher
code-asherhttps://github.com/code-asher
on Mar 23, 2026https://github.com/coder/code-server/issues/4212#issuecomment-4112840906
https://github.com/microsoft/vscode/blob/ce099c1ed25d9eb3076c11e4a280f3eb52b4fbeb/src/vs/code/browser/workbench/workbench.ts#L619-L621https://github.com/microsoft/vscode/blob/ce099c1ed25d9eb3076c11e4a280f3eb52b4fbeb/src/vs/code/browser/workbench/workbench.ts#L619-L621
https://github.com/hefanbo
hefanbohttps://github.com/hefanbo
on Mar 24, 2026https://github.com/coder/code-server/issues/4212#issuecomment-4114902772
alessandroddhttps://github.com/alessandrodd
PRhttps://github.com/Microsoft/VSCode/pull/288880
remote-secret-storage.patchhttps://github.com/user-attachments/files/26198767/remote-secret-storage.patch
https://github.com/echuber2
echuber2https://github.com/echuber2
on Mar 24, 2026https://github.com/coder/code-server/issues/4212#issuecomment-4119328991
@hefanbohttps://github.com/hefanbo
microsoft/vscode#288880https://github.com/microsoft/vscode/pull/288880
https://github.com/hefanbo
hefanbohttps://github.com/hefanbo
on Mar 24, 2026https://github.com/coder/code-server/issues/4212#issuecomment-4119458807
@hefanbohttps://github.com/hefanbo
microsoft/vscode#288880https://github.com/microsoft/vscode/pull/288880
https://github.com/oransterf
oransterfhttps://github.com/oransterf
on Apr 25, 2026https://github.com/coder/code-server/issues/4212#issuecomment-4320295177
@hefanbohttps://github.com/hefanbo
https://github.com/hefanbo
hefanbohttps://github.com/hefanbo
on Apr 27, 2026https://github.com/coder/code-server/issues/4212#issuecomment-4326827677
@oransterfhttps://github.com/oransterf
44fc463https://github.com/coder/code-server/commit/44fc46316f74ec627ccab25da18e56c1fb51c0aa
remote-storage.patchhttps://github.com/user-attachments/files/27124683/remote-storage.patch
https://github.com/echuber2
echuber2https://github.com/echuber2
on May 1, 2026https://github.com/coder/code-server/issues/4212#issuecomment-4358653907
https://github.com/oransterf
oransterfhttps://github.com/oransterf
on May 1, 2026https://github.com/coder/code-server/issues/4212#issuecomment-4361911292
https://github.com/hefanbo
hefanbohttps://github.com/hefanbo
on May 2, 2026https://github.com/coder/code-server/issues/4212#issuecomment-4362400009
https://github.com/hefanbo
hefanbohttps://github.com/hefanbo
on May 6, 2026https://github.com/coder/code-server/issues/4212#issuecomment-4387063481
my forkhttps://github.com/hefanbo/code-server/tree/feat/remote-storage
@echuber2https://github.com/echuber2
@oransterfhttps://github.com/oransterf
https://github.com/oransterf
oransterfhttps://github.com/oransterf
on May 7, 2026https://github.com/coder/code-server/issues/4212#issuecomment-4394633807
Daywin67https://github.com/Daywin67
on Jul 30, 2026https://github.com/coder/code-server/issues/4212#event-28728087123
fix: persist workbench state on the remotehttps://github.com/Daywin67/code-server/commit/be7d845ec0d1f0d6b2c26b678d92864187a5b28c
https://docs.github.com/articles/closing-issues-via-commit-messages
be7d845https://github.com/Daywin67/code-server/commit/be7d845ec0d1f0d6b2c26b678d92864187a5b28c
code-asherhttps://github.com/code-asher
completedhttps://github.com/coder/code-server/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#7914https://github.com/coder/code-server/pull/7914
on Oct 8, 2026https://github.com/coder/code-server/issues/4212#event-32737322121
https://github.com/KaKi87
KaKi87https://github.com/KaKi87
on Nov 14, 2026https://github.com/coder/code-server/issues/4212#issuecomment-6882696496
Sign up for freehttps://github.com/signup?return_to=https://github.com/coder/code-server/issues/4212
Sign in to commenthttps://github.com/login?return_to=https://github.com/coder/code-server/issues/4212
enhancementSome improvement that isn't a featurehttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22enhancement%22
needs-investigationThis issue needs to be further investigatedhttps://github.com/coder/code-server/issues?q=state%3Aopen%20label%3A%22needs-investigation%22
On Deckhttps://github.com/coder/code-server/milestone/20
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.