-
Notifications
You must be signed in to change notification settings - Fork 37.7k
ci: Run fuzzer task for the master branch only #22730
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
Conversation
ACK cac87ed |
Concept ACK
I think the second condition where it checks if the PR is based on the |
That sounds broken / over-complicated. On the master branch the fuzzers should be running on all commits, regardless of if the change is to the fuzzers themselves, or has a certain commit prefix. All we want to do is exclude branches other than master. |
Ah, thanks for the clarification! Seems I misunderstood the OP. In that case, ignore my comment, the change looks good to go. |
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.
crACK cac87ed
Ideally the fuzzers would run on all branches, it is just that my personal efforts are focussed on the master branch. While the fuzzers should run on older branches, I won't be working on this actively myself. About the changes: The changes here won't disable the fuzzers when built locally or run in CI locally. If the goal is to disable the fuzz task in our Cirrus CI, it might be better to just do that in the cirrus.yml and not by putting CI-specific symbols ( |
cac87ed
to
fa2234f
Compare
Updated cac87ed -> fa2234f (pr22730.01 -> pr22730.02). Addressed @MarcoFalke's comment:
|
6828822
to
3a515fe
Compare
Concept ACK, although in theory it'd make sense to fuzz some things across versions, I agree in practice it's unmaintainable, it trips up the CI for unrelated reasons too often. |
3a515fe
to
2606ac6
Compare
2606ac6
to
5a9e255
Compare
cr ACK 5a9e255 no opinion on the concept, also didn't test |
#22731 could be useful. |
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.
Backport to 22.0 (and drop all other CI fuzz task fixes)? |
|
Github-Pull: bitcoin#22730 Rebased-From: 5a9e255
Backported to 22.x in #22629. |
5a9e255 ci: Run fuzzer task for the master branch only (Hennadii Stepanov) Pull request description: bitcoin#22629 (comment): > I think we need to decide whether running the fuzzer CI in any branch other than master is something we want to be doing / maintaining. This seems pretty unsustainable unless we at least make changes in regards to the fuzz inputs being used by the different branches. I'm pretty sure Marco has mentioned this before. This PR makes CI ignore fuzz tests by forcing `RUN_FUZZ_TESTS=false` for all cases when it is not the master branch or a PR based on it. See bitcoin#22731 as a demo for the 22.x branch. ACKs for top commit: MarcoFalke: cr ACK 5a9e255 no opinion on the concept, also didn't test fanquake: ACK 5a9e255 - didn't test other than to look at bitcoin#22731. Tree-SHA512: 48f8f02f1814d4f15293a8804b76d544a08784ea7acd930b5c6d4608564d30aa5a608b1a511386ffda6975feec700c1bbeb86a30a75a7e48a1c5b167a227dbdd
32e1424 Fix build with Boost 1.77.0 (Rafael Sadowski) cb34a0a qt: Handle new added plurals in bitcoin_en.ts (Hennadii Stepanov) 068985c doc: Mention the flat directory structure for uploads (Andrew Chow) 27d43e5 guix: Don't include directory name in SHA256SUMS (Andrew Chow) 88fb7e3 test: fix bug in 22686 (S3RK) 63fec7e clientversion: No suffix #if CLIENT_VERSION_IS_RELEASE (Carl Dong) dfaffbe test: Test for ApproximateBestSubset edge case with too little fees (Andrew Chow) e86b023 wallet: Assert that enough was selected to cover the fees (Andrew Chow) ffc81e2 wallet: Use GetSelectionAmount for target value calculations (Andrew Chow) ce77b45 release: Release with separate SHA256SUMS and sig files (Carl Dong) cb491bd guix-verify: Non-zero exit code when anything fails (Carl Dong) 6a611d2 gui: ensure external signer option remains disabled without signers (Andrew Chow) e9b4487 qt: Fix regression in "Encrypt Wallet" menu item (Hennadii Stepanov) 57fce06 consensus/params: simplify ValidDeployment check to avoid gcc warning (Anthony Towns) e9d30fb ci: Run fuzzer task for the master branch only (Hennadii Stepanov) Pull request description: Backported: 1) #22730 1) bitcoin-core/gui#393 1) #22597 1) bitcoin-core/gui#396 1) #22643 1) #22642 1) #22685 1) #22686 1) #22654 1) #22742 1) bitcoin-core/gui#406 1) #22713 ACKs for top commit: laanwj: Code list-of-backported-PRs review ACK 32e1424 Tree-SHA512: f5e2dd1be6cdcd39368eeb5d297b3ff4418d0bf2e70c90e59ab4ba1dbf16f773045d877b4997511de58c3aca75a978dcf043e338bad23951557e2a27ccc845f6
Backport to 0.21? |
Github-Pull: bitcoin#22730 Rebased-From: 5a9e255
Backported to 0.21 in #22808. |
Github-Pull: bitcoin/bitcoin#22730 Rebased-From: 5a9e255e5a324e7aa0b63a9634aa3cfda9a300bd
d9b18c1 Fix build with Boost 1.77.0 (Rafael Sadowski) 2d7f260 ci: Run fuzzer task for the master branch only (Hennadii Stepanov) Pull request description: Backported: 1) #22730 1) #22713 ACKs for top commit: fanquake: ACK d9b18c1 - Checked the backports and tested building this branch with system Boost 1.76.0 and depends Boost 1.77.0. Tree-SHA512: dc3e0a2b3c1e3e80f6570e329a08ebc5103c233c30562f660432891c90bacb4d88d5373e32b9ac34fd143be46b8e63900ce9f52786b04bc799a4d17ba9fd8499
Reverted in #24292. |
Github-Pull: bitcoin/bitcoin#22730 Rebased-From: 5a9e255
Github-Pull: bitcoin/bitcoin#22730 Rebased-From: 5a9e255
#22629 (comment):
This PR makes CI ignore fuzz tests by forcing
RUN_FUZZ_TESTS=false
for all cases when it is not the master branch or a PR based on it.See #22731 as a demo for the 22.x branch.