Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Also check for secret storage provider before using old API #187105

Merged
merged 1 commit into from
Jul 6, 2023

Conversation

TylerLeonhardt
Copy link
Member

@TylerLeonhardt TylerLeonhardt commented Jul 5, 2023

This allows a nice migration path for web environments:

  1. Embedder implements a secret storage provider in addition to the credentials provider they already have
  2. Wait a release or 2
  3. Remove the credentials provider from the embedder

Once all known embedders do number 1, we can delete the _oldMainThreadSecretState entirely. Once all known embedders do 1-3, then web environments won't block the removal of the CredentialsService.

This allows a nice migration path for web environments:
1. Embedder implements a secret storage provider in addition to the credentials provider they already have
2. Wait a release or 2
3. Remove the credentials provider from the embedder

Once all known embedders do number 1, we can delete the `_oldMainThreadSecretState` entirely.
@TylerLeonhardt TylerLeonhardt enabled auto-merge (squash) July 5, 2023 23:13
@TylerLeonhardt TylerLeonhardt self-assigned this Jul 5, 2023
@VSCodeTriageBot VSCodeTriageBot added this to the July 2023 milestone Jul 5, 2023
@TylerLeonhardt TylerLeonhardt merged commit 609e636 into main Jul 6, 2023
7 checks passed
@TylerLeonhardt TylerLeonhardt deleted the tyler/agricultural-hare branch July 6, 2023 00:19
@github-actions github-actions bot locked and limited conversation to collaborators Aug 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants