Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdded ability to randomly kill pipelines to the constellation. #10179
Conversation
|
Things that we need to make sure about this PR:
|
|
Argh, forgot to run test-tidy. |
|
There is a constellation hardening metabug: issue #10124. |
|
Looks good to me! I left a comment about the -S-awaiting-review +S-awaiting-answer Reviewed 4 of 6 files at r1, 1 of 2 files at r2. components/compositing/constellation.rs, line 370 [r2] (raw file): Renaming These are nits though, and I won't blame you for landing this as-is :P Comments from the review on Reviewable.io |
|
Review status: 5 of 6 files reviewed at latest revision, 1 unresolved discussion. components/compositing/constellation.rs, line 370 [r2] (raw file): Comments from the review on Reviewable.io |
| @@ -347,6 +352,11 @@ impl<LTF: LayoutThreadFactory, STF: ScriptThreadFactory> Constellation<LTF, STF> | |||
| child_processes: Vec::new(), | |||
| document_states: HashMap::new(), | |||
| webrender_api_sender: state.webrender_api_sender, | |||
| random_pipeline_closure: opts::get().random_pipeline_closure_probability.map(|prob| { | |||
| let seed = opts::get().random_pipeline_closure_seed.unwrap_or_else(random); | |||
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
mbrubeck
Mar 25, 2016
Contributor
debug! is compiled out in release builds of Servo, so use info! if you want to use this feature in release.
This comment has been minimized.
This comment has been minimized.
|
Looks good to me, r=me with that typo fixed and the commits squashed :) -S-awaiting-answer -S-awaiting-answer +S-needs-code-changes +S-needs-squash Reviewed 1 of 2 files at r2, 1 of 1 files at r5. components/compositing/constellation.rs, line 370 [r2] (raw file): Comments from the review on Reviewable.io |
|
Squashed, typo fixed. Review status: 5 of 6 files reviewed at latest revision, 1 unresolved discussion. Comments from the review on Reviewable.io |
|
@bors-servo: r=emilio |
|
|
Added ability to randomly kill pipelines to the constellation. Added flags: * `--random-pipeline-closure-probability`: probability of each event triggering a forced exit of a randomly chosen pipeline. * `--random-pipeline-closure-seed`: seed to use for the RNG (to remove a source of intermittent failure). These are designed for testing the hardness of the constellation. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10179) <!-- Reviewable:end -->
|
|
|
Need to update the other lockfiles. |
|
Grr, I'll do this tomorrow. |
|
OK, fixed Cargo.lock files, Let's see if this works... @bors-servo try |
Added ability to randomly kill pipelines to the constellation. Added flags: * `--random-pipeline-closure-probability`: probability of each event triggering a forced exit of a randomly chosen pipeline. * `--random-pipeline-closure-seed`: seed to use for the RNG (to remove a source of intermittent failure). These are designed for testing the hardness of the constellation. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10179) <!-- Reviewable:end -->
|
|
|
@bors-servo: r=emilio |
|
|
Added ability to randomly kill pipelines to the constellation. Added flags: * `--random-pipeline-closure-probability`: probability of each event triggering a forced exit of a randomly chosen pipeline. * `--random-pipeline-closure-seed`: seed to use for the RNG (to remove a source of intermittent failure). These are designed for testing the hardness of the constellation. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10179) <!-- Reviewable:end -->
|
|
|
@bors-servo: retry |
|
|
|
|
asajeffrey commentedMar 24, 2016
Added flags:
--random-pipeline-closure-probability: probability of each event triggering a forced exit of a randomly chosen pipeline.--random-pipeline-closure-seed: seed to use for the RNG (to remove a source of intermittent failure).These are designed for testing the hardness of the constellation.
This change is