Skip to content

Add Windows and MacOS machines to nodejs-private GA #1677

Open

Description

@RafaelGSS

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

Activity

  1. richardlau commented on Jan 20, 2025

    @richardlau
    Member

    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 nodejs/node#50519 for the last (failed) attempt to get the tests passing in GitHub Actions on Windows.

  2. richardlau commented on Jan 20, 2025

    @richardlau
    Member

    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.

  3. richardlau commented on Jan 20, 2025

    @richardlau
    Member

    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.

  4. transferred this issue fromnodejs/buildon Jan 20, 2025
  5. RafaelGSS commented on Jan 20, 2025

    @RafaelGSS
    MemberAuthor

    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?

  6. richardlau commented on Jan 20, 2025

    @richardlau
    Member
  7. RafaelGSS commented on Jan 20, 2025

    @RafaelGSS
    MemberAuthor

    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.

  8. targos commented on Jan 21, 2025

    @targos
    Member

    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.

  9. targos commented on Jan 21, 2025

    @targos
    Member

    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.

  10. RafaelGSS commented on Jan 21, 2025

    @RafaelGSS
    MemberAuthor

    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.

  11. targos commented on Jan 21, 2025

    @targos
    Member

    It's in the top-right of the PR interface:

    Image

  12. RafaelGSS commented on Jan 21, 2025

    @RafaelGSS
    MemberAuthor

    Oh nice. I'll work on Windows support then.

  13. mhdawson commented on Mar 4, 2025

    @mhdawson
    Member

    @RafaelGSS it sounds like you go the answer you needed. Does this still need to be open?

  14. RafaelGSS commented on Mar 5, 2025

    @RafaelGSS
    MemberAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions