Skip to content

Support adding the commit-queue label before the wait time is over #45405

Description

@targos

Maybe this needs to be implemented mostly in node-core-utils, but I'd like to open the discussion here first for visibility.

I think we should be able to add the commit-queue label to a PR when the only missing requirement for it to land is the wait time. It is always annoying to have to calculate the remaining time and then remember to come back to a pull request just to add this label.

Is it desirable and implementable?

@nodejs/actions

Activity

  1. added
    metaIssues and PRs related to the general management of the project.
    on Nov 10, 2022
  2. aduh95 commented on Nov 10, 2022

    @aduh95
    Contributor

    Having the commit-queue PRs queued for automated landing through the Commit Queue. label added before a PR is actually ready to land forces the scheduled GHA to do a lot more of work (it now has to fetch the full commit history, install ncu, etc.) which can delay the launch of regular CI runs on other PRs if we've reached the max number of active runners. For example, it's already possible to add the label while the CI is still running, but I've recommended against doing that because of that (and also we never know if the CI will be successful or not).

    If there was a way of doing that without the need of fetching the entire commit history, that could be interesting. Otherwise, there's always the author ready PRs with CI started, the required approvals, and no outstanding review comments. label.

  3. MoLow commented on Nov 10, 2022

    @MoLow
    Member

    why do we need the full commit history?

  4. aduh95 commented on Nov 10, 2022

    @aduh95
    Contributor

    # Needs the whole git history for ncu to work
    # See https://github.com/nodejs/node-core-utils/pull/486
    fetch-depth: 0

  5. MoLow commented on Nov 10, 2022

    @MoLow
    Member

    @aduh95 my PR filters pr prior to this checkout step

  6. Jimimaku commented on Nov 27, 2022

    @Jimimaku
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

    metaIssues and PRs related to the general management of the project.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions