Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: modernize BrewTestBot info for maintainers #16634

Merged
merged 1 commit into from Feb 15, 2024

Conversation

p-linnane
Copy link
Member

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same change?
  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your changes? Here's an example.
  • Have you successfully run brew style with your changes locally?
  • Have you successfully run brew typecheck with your changes locally?
  • Have you successfully run brew tests with your changes locally?

I happened to notice that this document was very out of date for our current state. I also planned to change the filename to include "BrewTestBot" instead of "Brew Test Bot" but wanted to keep the diff clean since there are many changes here. Can follow up with that on later.

@p-linnane p-linnane added the documentation Documentation changes label Feb 10, 2024

If a pull request won't be automatically merged by Brew Test Bot (has the labels `do not merge`, `new formula`, or `automerge-skip`), but the [commit messages and commit style](Formula-Cookbook.md#commit) are correct:
If a pull request won't be automatically merged by BrewTestBot (has the labels `autosquash`, `automerge-skip`, or`new formula`, or has some kind of acceptable CI failure):
Copy link
Member

Choose a reason for hiding this comment

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

The goal is to never have failing CI, and I assume we don't have documented what's an „acceptable CI failure”, so I don't think it is useful to mention here.

Copy link
Member

Choose a reason for hiding this comment

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

I believe new formula require manual intervention at the moment

Copy link
Member Author

Choose a reason for hiding this comment

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

I agree that having failing CI is never ideal, but in this case I'm thinking about things like: checksum mismatches that have been verified, new formula that we are waiving the notability requirement for, etc. The alternative would be setting up flags for BrewTestBot to ignore all the different types of "acceptable" failures we currently see.

Copy link
Member

Choose a reason for hiding this comment

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

The alternative would be setting up flags for BrewTestBot to ignore all the different types of "acceptable" failures we currently see.

I mean that's how it already works for casks using ci-* labels.

Copy link
Member Author

Choose a reason for hiding this comment

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

Right, and we have some of that in core. I just don't think it's currently as comprehensive. @MikeMcQuaid has been prodding us to move toward a "no red CI" approach, so this may be the time to figure out any remaining instances of this.

Copy link
Member

Choose a reason for hiding this comment

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

This may be a good candidate for a "repo admins can merge" branch protection and we limit this to TSC.

Also: we should consider pulling these "flaky audits" into a separate job that can be non-required.

Copy link
Member

Choose a reason for hiding this comment

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

Also also: if we have known flaky audits that are unfixed: this should be tracked in an issue.

Copy link
Member

Choose a reason for hiding this comment

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

There's not really known flaky per se but more along the lines of say the formula homepage (but not source) temporarily goes down during a long build, which is something that's silly to perform a rebuild over. The nature of the internet means these things happen.

Copy link
Member

Choose a reason for hiding this comment

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

Yeh, I think we should consider pulling all these sorts of audits into another job (also because they are not OS dependent).

Copy link
Member Author

Choose a reason for hiding this comment

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

There's not really known flaky per se but more along the lines of say the formula homepage (but not source) temporarily goes down during a long build, which is something that's silly to perform a rebuild over. The nature of the internet means these things happen.

Strongly agree with this for homepage, livecheck, etc.

docs/Brew-Test-Bot-For-Core-Contributors.md Outdated Show resolved Hide resolved
@@ -1,23 +1,26 @@
# Brew Test Bot for Maintainers
# BrewTestBot for Maintainers
Copy link
Member

Choose a reason for hiding this comment

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

Would be nice to make filename and title consistent (in either direction, don't mind)

Copy link
Member Author

Choose a reason for hiding this comment

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

I plan to rename the file after we agree on changes, since it screws the diff up since it's a "new file".

Signed-off-by: Patrick Linnane <patrick@linnane.io>

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
@p-linnane p-linnane merged commit 9acd5c9 into Homebrew:master Feb 15, 2024
24 checks passed
@p-linnane p-linnane deleted the btb-maintainer-doc-update branch February 15, 2024 16:39
@github-actions github-actions bot added the outdated PR was locked due to age label Mar 18, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Documentation changes outdated PR was locked due to age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants