-
Notifications
You must be signed in to change notification settings - Fork 521
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
Bisecting errors against PRs #78
Comments
(Is this on topic for this guide? Maybe too far astray? Maybe better for forge? I'm not really sure.) |
The current (possibly broken, I haven't used it in a while) tooling that I know of to do this is https://github.com/Mark-Simulacrum/bisect-rust. However, I have had some thoughts about changing to just using normal |
I think this could go in the "debugging the compiler" section |
Usually it looks like this for me:
|
While we're talking about tools, it'd be nice for the same tool to support nightlies too (and, in an ideal world, building from source). |
I've never built from source in my bisection work. I've always pinged the most suspicious looking person and then left it to them to nail stuff down further :). But yeah support for nightlies as well would be great (as we delete older builds now) |
@est31 Would you mind adding this to the "Debugging the compiler" chapter? |
I've written a tutorial on how to bisect PR's here: https://github.com/rust-lang-nursery/cargo-bisect-rustc/blob/master/TUTORIAL.md |
@ehuss Great :) Are you looking to move it to the book? |
That's up to @Mark-Simulacrum. I would think it will be easier to maintain in its own repo, in case things change. Perhaps a small paragraph directing people to the tool would be sufficient? Maybe something like this in the debugging chapter: Narrowing RegressionsThe cargo-bisect-rustc tool can be used as a quick and easy way to find exactly which PR caused a change in |
I'm happy with anything! No Rust team currently maintains cargo-bisect-rustc and I myself only have time to review pull requests currently but I think we can link to it despite both of these. Generally linking the tutorial is I think a better approach so that it stays more up to date, though. |
opened #216 let me know what you think |
One of the best way of figuring out the cause of a regression is bisecting against the PRs that have landed recently. There are a number of folks (cc'd below) who do this from time to time -- I'm not really sure what wizardry they use to do it, but I'd love to see it documented!
cc @Mark-Simulacrum, @kennytm, @TimNN, @est31
The text was updated successfully, but these errors were encountered: