Add Windows and MacOS machines to nodejs-private GA
Hi folks,
I'm wondering if we could add Windows and MacOS machines to GA for nodejs-private. It's currently hard to identify some errors in a short time because we can only run CI after its lock down. IIRC we have removed macOS from GA because we were exceeding GA the limit very often. But, what about adding actions and running the CI only when a specific label is added?
This would prevent a lot of stress by the releaser when doing security releases. No need to rush things.
Feel free to move it to a different repository if this is not the best place to discuss it.
cc: @nodejs/tsc @nodejs/security-release for awarness
FWIW Build WG has nothing to do with use of GitHub Actions. The GitHub Actions limits on the private repo are a matter for the TSC, who own the Enterprise account for the Node.js orgs (public and private).
Note that we don't run tests on Windows in GHA on https://github.com/nodejs/node -- see https://github.com/nodejs/node/pull/50519 for the last (failed) attempt to get the tests passing in GitHub Actions on Windows.
Feel free to move it to a different repository if this is not the best place to discuss it.
I'm not sure where the best place to move this for further discussion would be.
Feel free to move it to a different repository if this is not the best place to discuss it.
I'm not sure where the best place to move this for further discussion would be.
I'll try TSC.
Right, for windows, we have a limitation, I could investigate a bit further and see if I can get this done. What about OSX, have we tried to include them via GA? Is it even supported by GA?
macOS has been running in https://github.com/nodejs/node/actions/workflows/test-macos.yml.
I remember we disabled it on nodejs-private because we were exceeding the quota of a private project. I'll make a PR to bring it back but behind a label, that should reduce the costs.
The workflows can be enabled/disabled with a few clicks (for example here for macOS: https://github.com/nodejs-private/node-private/actions/workflows/test-macos.yml). I think it would be overkill to create a labeling system specific to the private org when we can already manage it like that. BTW I disabled the test-asan workflow, which takes more than 2h30m every time it runs.
Also I think that we have more private actions minutes than before since we were moved to the enterprise account.
Also remember that we already have a simple way to skip workflows while the PR is not ready: Put the PR in draft state. If you want to quickly run workflows once: Undraft and redraft.
Also remember that we already have a simple way to skip workflows while the PR is not ready: Put the PR in draft state. If you want to quickly run workflows once: Undraft and redraft.
I think draft PRs aren't enabled in private repos. At least I couldn't find how to transform a PR into a Draft there.
It's in the top-right of the PR interface:
Oh nice. I'll work on Windows support then.
@RafaelGSS it sounds like you go the answer you needed. Does this still need to be open?
I was planning to leave it open until we enable Windows test suite on GitHub CI. But, I tried locally and the current situation is slightly difficult than I thought and I'm unsure if I'll have bandwidth to pursue this task.