Skip to content

In chaos-monkey mode, only keep the mozbrowser pipeline alive. - #10898

Merged
bors-servo merged 1 commit into
servo:masterfrom
asajeffrey:chaotic-even-better
May 18, 2016
Merged

bors-servo merged 1 commit into
servo:masterfrom
asajeffrey:chaotic-even-better

Conversation

@asajeffrey

@asajeffrey asajeffrey commented Apr 28, 2016 •

Copy link
Copy Markdown
Contributor

Fixes #10897


This change is Reviewable

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Apr 28, 2016
Comment thread components/compositing/constellation.rs Outdated
pipeline.force_exit();
// Don't kill the mozbrowser pipeline
if prefs::get_pref("dom.mozbrowser.enabled").as_boolean().unwrap_or(false) &&
pipeline.parent_info.is_some()

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like it doesn't close child pipelines :<

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is deliberate, it calls pipeline.force_exit() to partly shut down the pipeline, but leaves everything in a deliberately horrible state. Or are you worried that the state isn't horrible enough?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, I mean that now only the root pipeline will be forced closed.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, I flip-flopped on that if test, and ended up flopping where I should have flipped.

@asajeffrey

Copy link
Copy Markdown
Contributor Author

An update to #10862

@bors-servo

Copy link
Copy Markdown
Contributor

☔ The latest upstream changes (presumably #11243) made this pull request unmergeable. Please resolve the merge conflicts.

@highfive highfive added the S-needs-rebase There are merge conflict errors. label May 18, 2016
@Manishearth

Copy link
Copy Markdown
Member

Forgot about this, sorry, r=me

@asajeffrey
asajeffrey force-pushed the chaotic-even-better branch from 87a1933 to 243fa4f Compare May 18, 2016 14:13
@asajeffrey

Copy link
Copy Markdown
Contributor Author

@bors-servo r=Manishearth

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 243fa4f has been approved by Manishearth

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. S-needs-rebase There are merge conflict errors. labels May 18, 2016
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 243fa4f with merge 693478b...

bors-servo pushed a commit that referenced this pull request May 18, 2016
In chaos-monkey mode, only keep the mozbrowser pipeline alive.

Fixes #10897

<!-- 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/10898)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, mac-rel-wpt, windows

@bors-servo
bors-servo merged commit 243fa4f into servo:master May 18, 2016
@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label May 18, 2016
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.

5 participants