GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — tools: commit-queue wait 2 days automatically by MoLow · Pull Request #45407 · nodejs/node

Conversation

@MoLow

@MoLow MoLow commented Nov 10, 2022

Copy link
Copy Markdown
Member

Fixes: #45405

not sure how we can test this

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@nodejs-github-bot

nodejs-github-bot commented Nov 10, 2022

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/actions
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@nodejs-github-bot nodejs-github-bot added the meta Issues and PRs related to the general management of the project. label Nov 10, 2022
@MoLow

MoLow commented Nov 10, 2022

Copy link
Copy Markdown
Member Author

CC @targos

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@aduh95

aduh95 commented Nov 10, 2022

Copy link
Copy Markdown
Contributor

This would force us to land fast-track PRs proposed for a shorter-than-standard waiting period before landing. PRs manually, I'm not sure it's desirable.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@aduh95

aduh95 commented Nov 10, 2022

Copy link
Copy Markdown
Contributor

not sure how we can test this

You can use https://github.com/nodejs/node-auto-test for this kind of things.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@MoLow

MoLow commented Nov 10, 2022

Copy link
Copy Markdown
Member Author

This would force us to land fast-track PRs that do not need to wait for 48 hours to land. PRs manually, I'm not sure it's desirable.

I guess we can merge the result of two queries

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@MoLow

MoLow commented Nov 10, 2022

Copy link
Copy Markdown
Member Author

@aduh95 added support for fast-track PRs proposed for a shorter-than-standard waiting period before landing.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

anonrig
anonrig approved these changes Nov 10, 2022
View reviewed changes

@anonrig anonrig left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

LGTM. I loved the idea!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
panva
panva approved these changes Nov 10, 2022
View reviewed changes
panva
panva reviewed Nov 10, 2022
View reviewed changes
Comment thread .github/workflows/commit-queue.yml Resolved

Uh oh!

There was an error while loading. Please reload this page.

panva
panva requested changes Nov 10, 2022
View reviewed changes
Comment thread .github/workflows/commit-queue.yml Resolved

Uh oh!

There was an error while loading. Please reload this page.

MoLow added a commit to nodejs/node-auto-test that referenced this pull request Nov 10, 2022
@MoLow
test nodejs/node#45407
a7d9443
MoLow added a commit to nodejs/node-auto-test that referenced this pull request Nov 10, 2022
@MoLow
test nodejs/node#45407
e3f6d8a
MoLow added a commit to nodejs/node-auto-test that referenced this pull request Nov 10, 2022
@MoLow
test nodejs/node#45407
592be55
MoLow added a commit to nodejs/node-auto-test that referenced this pull request Nov 10, 2022
@MoLow
test nodejs/node#45407
d669bb3
MoLow added a commit to nodejs/node-auto-test that referenced this pull request Nov 10, 2022
@MoLow
test nodejs/node#45407
9d5ebd9
MoLow added a commit to nodejs/node-auto-test that referenced this pull request Nov 10, 2022
@MoLow
test nodejs/node#45407
06d59da
MoLow added a commit to nodejs/node-auto-test that referenced this pull request Nov 10, 2022
@MoLow
test nodejs/node#45407
d7ca51b
MoLow added a commit to nodejs/node-auto-test that referenced this pull request Nov 10, 2022
@MoLow
test nodejs/node#45407
45f7320
MoLow added a commit to nodejs/node-auto-test that referenced this pull request Nov 10, 2022
@MoLow
test nodejs/node#45407
20159b7
MoLow added a commit to nodejs/node-auto-test that referenced this pull request Nov 10, 2022
@MoLow
test nodejs/node#45407
7dbc0ae
@MoLow
MoLow requested review from aduh95, anonrig and panva November 10, 2022 18:30
@MoLow

MoLow commented Nov 10, 2022 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member Author

@panva @aduh95 tested:
current result of https://github.com/nodejs/node-auto-test/issues?q=is%3Aopen+label%3Acommit-queue+sort%3Aupdated-desc is:

image

the commit queue resulted in attempting to commit PRs 31 (commit-queue & < 2 days) and 50 (commit-queue & fast track):
https://github.com/nodejs/node-auto-test/actions/runs/3439433893/jobs/5736726139

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

panva
panva approved these changes Nov 10, 2022
View reviewed changes
@MoLow

MoLow commented Nov 10, 2022

Copy link
Copy Markdown
Member Author

amazing @panva :) too bad I cannot use this on this PR yet :/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@MoLow MoLow added the author ready PRs with CI started, the required approvals, and no outstanding review comments. label Nov 10, 2022
@panva

panva commented Nov 10, 2022

Copy link
Copy Markdown
Member

If we could query for number of approvals we could also add minimum 2 to the 2 day query and add a third query for minimum 1 and 7 days ;)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@MoLow

MoLow commented Nov 10, 2022

Copy link
Copy Markdown
Member Author

If we could query for number of approvals we could also add minimum 2 to the 2 day query and add a third query for minimum 1 and 7 days ;)

ncu already does that

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@panva

panva commented Nov 10, 2022

Copy link
Copy Markdown
Member

If we could query for number of approvals we could also add minimum 2 to the 2 day query and add a third query for minimum 1 and 7 days ;)

ncu already does that

by then the label is removed and ncu will fail the commit queue.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@MoLow

MoLow commented Nov 10, 2022

Copy link
Copy Markdown
Member Author

Yeah 😐

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@panva

panva commented Nov 10, 2022 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

But it's mostly crypto and cpp PRs that don't manage to get at least two approvals in 2 days.

This is still a great feature. Add CQ label as soon as you have two or enough fast track thumbs. Then stop worrying about the PR.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@panva panva added the commit-queue-squash PRs the Commit Queue should land as one squashed commit. label Nov 10, 2022
aduh95
aduh95 reviewed Nov 10, 2022
View reviewed changes
Comment thread .github/workflows/commit-queue.yml Outdated
Comment on lines 52 to 53

@aduh95 aduh95 Nov 10, 2022

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

nit

Suggested change
numbers=$(echo $prs' '$fast_track_prs | jq -r -s 'unique | join(" ")')
echo "numbers=$numbers" >> $GITHUB_OUTPUT
echo "numbers=$(echo $prs' '$fast_track_prs | jq -r -s 'unique | join(" ")')" >> $GITHUB_OUTPUT

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@MoLow MoLow Nov 10, 2022

Copy link
Copy Markdown
Member Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

I prefer to minimize changes after I completed testing

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
aduh95
aduh95 approved these changes Nov 10, 2022
View reviewed changes
@aduh95

aduh95 commented Nov 10, 2022

Copy link
Copy Markdown
Contributor

Note: the commit message should start with a verb after the subsystem (and the subsystem should probably be tools: instead of meta:), e.g. tools: do not run CQ on non-fast-tracked PRs open for less than 2 days.

MoLow reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@MoLow MoLow changed the title meta: commit-queue wait 2 days automatically tools: commit-queue wait 2 days automatically Nov 10, 2022
anonrig
anonrig approved these changes Nov 10, 2022
View reviewed changes

@anonrig anonrig left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

lgtm

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@MoLow
tools: do not run CQ on non-fast-tracked PRs open for less than 2 days
bf4f077
@MoLow
MoLow force-pushed the commit-queue-auto-wait branch from 7160ddc to bf4f077 Compare November 10, 2022 21:19
aduh95
aduh95 approved these changes Nov 10, 2022
View reviewed changes
@MoLow MoLow added tools Issues and PRs related to the tools directory. and removed meta Issues and PRs related to the general management of the project. commit-queue-squash PRs the Commit Queue should land as one squashed commit. labels Nov 10, 2022
targos
targos approved these changes Nov 11, 2022
View reviewed changes

@targos targos left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Thank you!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Trott
Trott force-pushed the main branch from 2d76238 to ca3ed36 Compare November 12, 2022 01:49
@MoLow MoLow added the commit-queue PRs queued for automated landing through the Commit Queue. label Nov 12, 2022
@nodejs-github-bot nodejs-github-bot removed the commit-queue PRs queued for automated landing through the Commit Queue. label Nov 12, 2022
@nodejs-github-bot
nodejs-github-bot merged commit 119559a into nodejs:main Nov 12, 2022
@nodejs-github-bot

nodejs-github-bot commented Nov 12, 2022

Copy link
Copy Markdown
Collaborator

Landed in 119559a

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

ruyadorno pushed a commit that referenced this pull request Nov 21, 2022
@MoLow @ruyadorno
tools: do not run CQ on non-fast-tracked PRs open for less than 2 days
bb36acf
PR-URL: #45407
Fixes: #45405
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Filip Skokan <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
@ruyadorno ruyadorno mentioned this pull request Nov 24, 2022
v19.2.0 proposal #45615
Merged
@danielleadams danielleadams mentioned this pull request Dec 30, 2022
v18.13.0 release proposal #46025
Merged
danielleadams pushed a commit that referenced this pull request Dec 30, 2022
@MoLow @danielleadams
tools: do not run CQ on non-fast-tracked PRs open for less than 2 days
ddca994
PR-URL: #45407
Fixes: #45405
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Filip Skokan <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
danielleadams pushed a commit that referenced this pull request Jan 3, 2023
@MoLow @danielleadams
tools: do not run CQ on non-fast-tracked PRs open for less than 2 days
f5a4c52
PR-URL: #45407
Fixes: #45405
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Filip Skokan <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
@MoLow
MoLow deleted the commit-queue-auto-wait branch April 2, 2023 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@panva panva panva approved these changes
@anonrig anonrig anonrig approved these changes
@aduh95 aduh95 aduh95 approved these changes
+1 more reviewer
@targos targos targos approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

author ready PRs with CI started, the required approvals, and no outstanding review comments. tools Issues and PRs related to the tools directory.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

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

Uh oh!

There was an error while loading. Please reload this page.

6 participants

@MoLow @nodejs-github-bot @aduh95 @panva @anonrig @targos
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.