rstudio / rstudio-docker-products

Docker images for RStudio Professional Products

Home Page:https://hub.docker.com/u/rstudio

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Excessive load time for new Quarto and RMD documents in GCP Cloud Workstations

blairj09 opened this issue · comments

The first time a new Quarto or RMD document is opened from the IDE via the New File menu, it takes a very long time before the document finally opens. During the process, an error message sometimes appears that indicates trouble with get_active_sessions:

image

Subsequent new files load much more quickly once the first one has loaded.

@blairj09 I think these problems were caused by #516 which was preventing consistent communications with the Launcher service. I was able to create an RMD and Quarto doc without much delay. Could you test it out as well to make sure they're performing for you as well?

Observations testing with ianprstudio/gcw-workbench:2022.03.0-6:

  • Quarto and RMD documents open very quickly!
  • When I first opened a Quarto document, I saw the following error:
    image
    Clicking "Ok" allowed me to continue working as expected, but I'm not sure what caused the error. I tried to reproduce a few times and wasn't successful, so it may have just been an odd case.

I've been unable to replicate the 405 error you got, @blairj09. Since the performance issue itself is resolved, I'm going to close this issue. We can open a new issue if we encounter the 405 error (or any other RStudio error) in the future.