Skip to content

[BUG] VSCode secretsStorage lacks persistence on browser refresh #37

@misudo

Description

@misudo

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Basically a browser refresh seems to cause all secrets stored with context.secrets.store to be lost.
I'm trying to set up RooCode extension which claims that "API keys are stored securely in VSCode's Secret Storage" as well as GitHub extension.

I enter my service provider's API keys to RooCode and login to GitHub, but after the browser refresh, the entries are gone, so both extensions stop operating, requiring re-configuration of the lost API keys and login credentials.

I found a similar error with Gitpod's Openvscode-server implementation, but it looks like they patched the problem: gitpod-io/openvscode-server#544

Expected Behavior

The Openvscode's SecretStorage should persist upon browser refreshing, so that extensions using it don't break.

Steps To Reproduce

  1. install RooCode extension
  2. Add service provider's api key and save it
  3. refresh browser page
  4. find that the api key field is empty again

Environment

- OS:unraid
- How docker service was installed: unraid's gui / docker compose with /config volume and python mod.

CPU architecture

x86-64

Docker creation

as outlined above.

Container logs

TBC

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions