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

Improve Codespaces documentation #1272

Open
StevenMaude opened this issue Jul 13, 2023 · 1 comment
Open

Improve Codespaces documentation #1272

StevenMaude opened this issue Jul 13, 2023 · 1 comment
Labels
improve content Improve existing documentation content

Comments

@StevenMaude
Copy link
Contributor

StevenMaude commented Jul 13, 2023

#1268 (comment)

I think ultimately this page is serving three current purposes, and would eventually split into:

  • the Getting Started page (but with some extra tidying/refinement)
  • a separate page on managing Codespaces and Codespaces billing
  • a separate page on the full set of features we provide in the Codespaces setup

It's fine as one self-contained page for now, until we work this out.

#1268 (comment)

Things that aren't discussed in this documentation, or have been thought too much about. They could be considered more in future:

  • codespace prebuilds
    • These speed up the codespace deployment, but not sure how these would work inside an organization.
    • Not sure how these interact with template-created repositories either.
    • They cost money for an organization, because they use storage.
  • debugging issues with Codespaces
    • can users access Codespaces at all, or does IT policy prevent access?
    • GitHub still occasionally has big outages unfortunately, roughly 1-3 times per month; check GitHub's status page if Codespaces is unavailable or behaving strangely
  • more on configuring machines appropriately
    • how to spot out of memory errors
  • the "unpublished changes" warning when deleting a codespace
    • you can save these changes to a branch when deleting a codespace
  • hiding unhelpful ehrQL autocompletion suggestions of internal attributes/methods
  • keeping the installed ehrQL in sync with the ehrQL version you're using for your project
    • for now, I've not worried about this too much and it's a bit out of scope
    • the latest main version gets installed
    • we might solve it by having a v1, v2 branch, or publishing an ehrQL package to PyPI
    • not sure what the behaviour is on restarting the existing codespace;
      • it might reinstall packages as this is a post-container command, and needs checking
  • updating OpenSAFELY CLI
    • may not really need to do manually; you might be able to just stop and start the codespace?
  • use of Codespaces with a local Visual Studio Code installation
    • it removes the web browser, which again might help to remove quirks/bugs
    • you can install Visual Studio Code as a "user setup", without admin permissions, I think
@StevenMaude StevenMaude added the improve content Improve existing documentation content label Jul 13, 2023
@StevenMaude
Copy link
Contributor Author

Also Codespaces has an actual management panel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improve content Improve existing documentation content
Projects
None yet
Development

No branches or pull requests

1 participant