FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

tools: skip early single-approval PRs in commit queue by trivikr · Pull Request #64262 · nodejs/node · GitHub

/ node Public

tools: skip early single-approval PRs in commit queue - #64262

Closed
trivikr wants to merge 1 commit into
nodejs:mainfrom
trivikr:commit-queue-for-PRs-with-one-approval
Closed

tools: skip early single-approval PRs in commit queue#64262
trivikr wants to merge 1 commit into
nodejs:mainfrom
trivikr:commit-queue-for-PRs-with-one-approval

Conversation

trivikr commented Jul 2, 2026

Copy link
Copy Markdown
Member

Filter regular commit-queue PRs in the workflow so PRs with only one
valid approval are skipped until they have been open for at least 7 days.

Keep fast-track PR handling unchanged.

Today, commit-queue can pick up a regular PR that is still not eligible to
land, and the failure only happens later inside git node land.

For example, in #64163 (comment), the PR had a single approval
and commit-queue was added before the PR had been open for 7 days.
The queue then failed during landing instead of simply skipping that PR
until it became eligible.

Refs: #64163 (comment)


Assisted-by: openai:gpt-5.5

Filter regular commit-queue PRs in the workflow so PRs with only one
approval are skipped until they have been open for 7 days. Keep the
fast-track path unchanged and update the commit-queue documentation to
match the workflow behavior.

Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com>
Assisted-by: openai:gpt-5.5

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/actions
  • @nodejs/tsc

nodejs-github-bot added the meta Issues and PRs related to the general management of the project. label Jul 2, 2026

aduh95 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Really not a fan of the added complexity, and we've learned the hard way that commit date was not a reliable info. I'd much prefer using a different label (maybe slow-track?) which the bot would add if the first attempt at the CQ failed

panva left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

trivikr commented Jul 2, 2026

Copy link
Copy Markdown
Member Author

I think we should make this change for ease of maintenance.

Most of my PRs get a single approval. Even though they're author-ready and CI is green, I have to wait for 7 days before adding the commit-queue label. I sometimes forget it and PRs stay unmerged.

I've seen 3-4 occurrences where another collaborator added the commit-queue label with knowing that there are no two approvals. The commit queue workflow adds commit-queue-failed in that case. This can be avoided if we just not process the PRs which are not ready to land, which is a proposal in this PR.

aduh95 commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Could someone please approve nodejs/node-auto-test#45? I'm testing my label idea

trivikr commented Jul 24, 2026

Copy link
Copy Markdown
Member Author

Closing as alternatives are being tested in #64340 and #64343

trivikr closed this Jul 24, 2026
trivikr deleted the commit-queue-for-PRs-with-one-approval branch July 31, 2026 04:30
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

meta Issues and PRs related to the general management of the project.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL