You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no real reason why it wouldn't work (although some changes would be required).
Off the top of my head, the following things may need to be adapted (or made configurable):
The rust-lang/rust repo is hardcoded in various places.
Some specific output from the rust-lang/rust build is ignored (that shouldn't cause any real issues for you).
Apart from that, the general logic of the bot is basically this:
Analyze tons of old (and all future) successful build logs.
Score lines of failed build logs based on how similar they are to existing lines.
Try and find large, ~continuous regions of high-scoring lines.
If you think this heuristic would work for Servo, it shouldn't take too much effort to set things up. (Actually running this doesn't require much setup either, the server easily runs for months without issues).
I should be able to find the time to adapt RLA over the weekend to make most of the stuff hardcoded to rust-lang/rust configurable, if you want to give it a try with Servo.
If you want to help out or have more question please just reply here or ping me on IRC.
Rust's build system and tests are kinda special, which means that this analyzer may be specifically geared towards that.
I'd like to use this tool for Servo; do you think it will just work or will it require changes to the analysis code?
(For all intents and purposes Servo just runs cargo build on CI, though it also has a custom tidy check)
In general documentation for tweaking the analyser would be nice.
The text was updated successfully, but these errors were encountered: