GithubHelp home page GithubHelp logo

Fuzzing runs first about rust-bitcoin HOT 6 OPEN

tcharding avatar tcharding commented on June 21, 2024
Fuzzing runs first

from rust-bitcoin.

Comments (6)

Kixunil avatar Kixunil commented on June 21, 2024

It did help me actually since we have some parts that are only tested by fuzz, not normal tests unfortunately.

But this is also an issue. It'd be great to de-prioritize it but I haven't found a sane way to do that. At best we could make it "require" a different job but set if to ignore that the previous job failed.

from rust-bitcoin.

apoelstra avatar apoelstra commented on June 21, 2024

If stuff is getting queued rather than running in parallel we should re-order them so the fast stuff goes first. So first clippy/check (maybe with 2 or 3 feature combinations), then the normal tests, then fuzzing. That would help a lot.

As for "should we move fuzzing to a daily thing rather than every PR" ... I think if fuzzing ran last, it would be ok. It might delay merging, in theory, to have to wait for fuzzing, but at least it won't delay the more-commonly-failing parts of CI.

from rust-bitcoin.

dpc avatar dpc commented on June 21, 2024

BTW. Not sure if you looked into it, but GH has these Megue Queues now, and they allows running one set of things on every PR/push, and other right before merging. E.g. In Fedimint we. skip MacOS builds on PRs (because it takes forever), and run it only in the Merge Queue (because we don't want master to be broken on MacOS). Another thing it does is it can possibly run a given CI-step with multiple PRs together once (if you happen to approve lots of them at the same time, which is relatively uncommon, but worth mentioning).

So you could run a proper & longer fuzzing session after PR was approved, when the time it takes is less important, while get a fast ✔️ to unblock reviews etc.

from rust-bitcoin.

yancyribbens avatar yancyribbens commented on June 21, 2024

BTW. Not sure if you looked into it, but GH has these Megue Queues now, and they allows running one set of things on every PR/push, and other right before merging.

Unrelated to this PR, however maybe running cargo +nightly fmt right before merging would be better than the current fmt once per week strategy.

from rust-bitcoin.

Kixunil avatar Kixunil commented on June 21, 2024

@yancyribbens not really, it increases the probability of conflicts by pointlessly changing things. Though not doing it sucks too for different reasons. I wrote this: https://github.com/Kixunil/rust-merge which may improve the situation somewhat but it's far from perfect.

from rust-bitcoin.

apoelstra avatar apoelstra commented on June 21, 2024

Unrelated to this PR, however maybe running cargo +nightly fmt right before merging would be better than the current fmt once per week strategy.

Aside from the logistical issues, we can't do this anyway because merge commits are signed, so Github can't modify the code out from under us even if we requested it.

from rust-bitcoin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.