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

dev-cmd/bottle: add --no-all-checks #14095

Merged
merged 1 commit into from Nov 5, 2022
Merged

Conversation

Bo98
Copy link
Member

@Bo98 Bo98 commented Nov 4, 2022

We use brew bottle --merge in two places: test-bot (single bottle) and uploading.

Currently we do :all and identical rebottle checks in both places. This isn't correct - it should only happen on upload since test-bot does not have knowledge of what's being built on other machines.

This is problematic if we want to do a rebottle but one of the bottles is the same (like in https://github.com/Homebrew/homebrew-core/actions/runs/3396065093) but others are not.

We mitigated the issue for :all by only producing an :all bottle if there is more than one tag. This mitigation cannot be applied to the identical rebuild case since there's a desire to block identical :all rebuilds.

So the idea here is to add a switch to disable these checks and pass it in test-bot.

@Bo98 Bo98 added the critical Critical change which should be shipped as soon as possible. label Nov 4, 2022
@BrewTestBot
Copy link
Member

Review period skipped due to critical label.

@Bo98
Copy link
Member Author

Bo98 commented Nov 5, 2022

Need this to unblock a few things in homebrew-core.

@Bo98 Bo98 merged commit 590773f into Homebrew:master Nov 5, 2022
@Bo98 Bo98 deleted the no-all-checks branch November 5, 2022 01:42
@github-actions github-actions bot added the outdated PR was locked due to age label Dec 5, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
critical Critical change which should be shipped as soon as possible. outdated PR was locked due to age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants