Skip to content

Raise the bors timeout to four hours #589

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

Merged
merged 1 commit into from
Apr 18, 2017
Merged

Conversation

notriddle
Copy link
Contributor

@notriddle notriddle commented Apr 17, 2017

The timeout is, by default, one hour. nix builds take about that long,
sometimes longer, sometimes shorter, making builds flaky.

@Susurrus
Copy link
Contributor

Thanks, @notriddle!

When changing arbitrary values to other arbitrary values I'm a big fan of excessive documentation. And since I don't even know the reasoning for why 4 hours was chosen, can you elaborate both in the bors.toml and also in the commit message and to why it was chosen? Whatever heuristic is used will be useful to know so that we know how to adjust it if we need to in the future as well.

bors's timeout should always be twice a long as the test suite takes.
This is to allow Travis to fast-fail a test; if one of the builders
immediately reports a failure, then bors will move on to the next batch,
leaving the slower builders to work through the already-doomed run and
the next one.

At the time this was written, nix's test suite took about an hour to run.
The timeout was raised to four hours, instead of two, to give nix room
to grow and time for delays on Travis's end.
@notriddle
Copy link
Contributor Author

I added a comment about the matter to bors.toml

@Susurrus
Copy link
Contributor

Oh yeah, love it! Thanks, @notriddle!

bors r+

bors bot added a commit that referenced this pull request Apr 18, 2017
589: Raise the bors timeout to four hours r=Susurrus
The timeout is, by default, one hour. `nix` builds take about that long,
sometimes longer, sometimes shorter, making builds flaky.
@bors
Copy link
Contributor

bors bot commented Apr 18, 2017

Build succeeded

@bors bors bot merged commit 935bbdd into nix-rust:master Apr 18, 2017
@notriddle notriddle deleted the patch-1 branch April 18, 2017 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants