Skip to content

RFC set up Codespaces to ease contributor experience especially during sprints? #31091

Open
@lesteve

Description

@lesteve

IMO this could be useful as fall-back during sprints, in particular for pesky company Windows laptops, where I (and others for example @adrinjalali and @glemaitre) have been guilty to debug the Windows situation rather than focussing on more important stuff 😅.

Try it on my fork https://github.com/lesteve/scikit-learn

Image

Full disclosure: for some reason, this does not work for me on Firefox, I need to use a Chromium-like browser (Vivaldi works for example), maybe due to my addons not sure.

Image

The setup seems quite maintable see current diff main...lesteve:scikit-learn:main. This could be tweaked for example to setup ccache if we insist but I think is good enough as is.

I tried it on my fork on a 2-core machine (default):

  • build time from scratch: ~7 minutes
  • run full test suite: ~13 minutes (with or without -n2 has similar timings)
  • doc make html-noplot (i.e. no example) ~9 minutes first time, ~1 minute second time

Pricing: 120 core hours + 15GB storage free per month. With the default 2-core machine, which is probably enough for sprints. See doc for more details.

I guess we may want to add light documentation about it somewhere.

Previous related conversations:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions