Repository navigation
fix(vscode-web)!: add opt-in persistent browser secret storage - #1259
Merged
Edd88-pixel merged 3 commits intoNov 20, 2026
Merged
Conversation
Edd88-pixel
marked this pull request as ready for review
November 16, 2026 15:20
Collaborator
Can we find a workaround for these? The |
Collaborator
Author
|
@matifali Good catch! I tried and got all three options working together. The module uses platform to pick the right archive, and a small launcher passes disable_trust and extensions_dir through to code-server. Everything worked perfectly . |
Edd88-pixel
requested review from
matifali
and removed request for
DevelopmentCats
November 20, 2026 09:19
matifali
approved these changes
Nov 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The current
serve-locallauncher leaves browser extension secrets in memory, causing authentication sessions to disappear after reload (#584). The officialcode serve-weblauncher provides encrypted browser storage backed by a persistent server key.Changes
use_cli = truewhile keeping the existing launcher as the default.coder-utilshandling installation and startup ordering.platformto select the server archive and passdisable_trustandextensions_dirto the server launched bycode serve-web. All three options work together.Type of Change
Module Information
Path:
registry/coder/modules/vscode-webNew version:
v2.0.0Breaking change: Yes — requires Coder provider 2.13+ in both launch modes and Terraform 1.2+. The default launcher remains unchanged.
Related Issues
Related to #584 and follows the investigation in #627. Persistent browser secrets require explicitly enabling CLI mode.