openvscode-server icon indicating copy to clipboard operation
openvscode-server copied to clipboard

Docker Image and VSCode secretsStorage persistence on browser refresh.

Open bd82 opened this issue 5 months ago • 1 comments

It is not quite a bug, however there seems to be something missing in the Open VSCode Server Getting Started docker image.

Issue Description

Basically a browser refresh seems to cause all secrets stored with context.secrets.store to be lost. This does not reproduce on productive gitpod (or codespaces). So I am guessing, something may be missing in the docker container.

Why I care

I have (apparently) exactly the same problem in a productive fork of Open VSCode Server. So I am assuming this is a solved and known container configuration issue and that solving it for the OVSCS docker image would demonstrate how it could be solved in my specific flow as well.

Reproducing Minimal Extension (with step by step)

  • https://github.com/bd82/vscode-context-secrets/tree/master

Thanks in advance.

bd82 avatar Jan 10 '24 14:01 bd82