Skip to content

doc: add Retry CI in collaborator guide - #44130

Merged
nodejs-github-bot merged 4 commits into
nodejs:mainfrom
LiviaMedeiros:add-collabguide-retryci
Aug 6, 2022
Merged

nodejs-github-bot merged 4 commits into
nodejs:mainfrom
LiviaMedeiros:add-collabguide-retryci

Conversation

@LiviaMedeiros

Copy link
Copy Markdown
Member

This is to prevent assumption that Resume build might be correct choice. Also to make it explicit that green/yellow CI is needed to be achieved on the last commit and intermediate success doesn't count.

Refs: #43714 (comment)

@nodejs-github-bot

ghost commented Aug 4, 2022

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/tsc

@nodejs-github-bot nodejs-github-bot added the doc Issues and PRs related to Node.js documentation. label Aug 4, 2022
@F3n67u

ghost commented Aug 4, 2022

Copy link
Copy Markdown
Contributor

I don't know that too.😂

@LiviaMedeiros LiviaMedeiros added the author ready PRs with CI started, the required approvals, and no outstanding review comments. label Aug 4, 2022
Comment thread doc/contributing/collaborator-guide.md Resolved
Comment thread doc/contributing/collaborator-guide.md Resolved
@benjamingr

ghost commented Aug 4, 2022

Copy link
Copy Markdown
Member

Also to make it explicit that green/yellow CI is needed to be achieved on the last commit and intermediate success doesn't count.

I'm (personally) OK with landing stuff without green CI which we've typically trusted collaborators to (very rarely) do. If a test doesn't pass due to build infra failure and it's clearly unrelated to the code changes - it's probably fine to land?

@GeoffreyBooth

ghost commented Aug 4, 2022

Copy link
Copy Markdown
Member

I thought resume was the correct thing to do. I remember asking about it a few weeks or months ago and that was what I was advised (can’t find where right now). See also #40817.

@Trott

ghost commented Aug 4, 2022 •

Copy link
Copy Markdown
Member

I thought resume was the correct thing to do. I remember asking about it a few weeks or months ago and that was what I was advised (can’t find where right now). See also #40817.

Resume Build is the right choice if there have been no code changes. The info added here specifies that the code has changed. In that case, I usually use "Rebuild". I don't know the difference between "Rebuild" and "Retry" but I imagine "Retry" would work too. ¯\(ツ)/¯

@richardlau

ghost commented Aug 4, 2022

Copy link
Copy Markdown
Member

I thought resume was the correct thing to do. I remember asking about it a few weeks or months ago and that was what I was advised (can’t find where right now). See also #40817.

Resume Build is the right choice if there have been no code changes. The info added here specifies that the code has changed. In that case, I usually use "Rebuild". I don't know the difference between "Rebuild" and "Retry" but I imagine "Retry" would work too. ¯_(ツ)_/¯

Retry uses the exact same parameters. Rebuild prepopulates the same values but allows you to change them before submitting the build.

ghost 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.

LGTM with @tniessen's suggestions applied.

Livia Medeiros and others added 2 commits August 5, 2022 03:30
Co-authored-by: Tobias Nießen <tniessen@tnie.de>
Co-authored-by: Tobias Nießen <tniessen@tnie.de>
@LiviaMedeiros LiviaMedeiros added the commit-queue-squash PRs the Commit Queue should land as one squashed commit. label Aug 4, 2022
@LiviaMedeiros

ghost commented Aug 4, 2022

Copy link
Copy Markdown
Member Author

Yes, the reason for this addition is to emphasize that (1) we need CI run after code changes and (2) this run should not be of "resume CI" type.
Landing a PR without explicit reapprovals or reruns after obviously-correct fixups, and red results due to obviously-unrelated issues, is indeed possible; but making such decisions probably belongs to common sense and not to the guide.

The difference between Resume build, Rebuild and Retry isn't obvious and current version of guide only mentioned Resume button, without suggesting and explaining the main usecase for Retry.
If this was worded too poorly, I'm open for suggestions.

ghost 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.

lgtm

ghost 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.

LGTM

@kvakil kvakil mentioned this pull request Aug 5, 2022
@F3n67u F3n67u added the commit-queue PRs queued for automated landing through the Commit Queue. label Aug 6, 2022
@nodejs-github-bot nodejs-github-bot removed the commit-queue PRs queued for automated landing through the Commit Queue. label Aug 6, 2022
@nodejs-github-bot
nodejs-github-bot merged commit 3ec8876 into nodejs:main Aug 6, 2022
@nodejs-github-bot

ghost commented Aug 6, 2022

Copy link
Copy Markdown
Collaborator

Landed in 3ec8876

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

Labels

author ready PRs with CI started, the required approvals, and no outstanding review comments. commit-queue-squash PRs the Commit Queue should land as one squashed commit. doc Issues and PRs related to Node.js documentation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.