Hi team,Component manager currently implements behavior where, if you bind to a component, it will automatically bind to all its ancestors. This is a holdover from when we held that parents should always run if one of their children is running. But since then, we have added features that discard this principle (e.g., `use from child`, in which case the parent may be stopped before the child). I uploaded a change that removes this behavior and ran it through CQ without any problems. Are there any reasons we can think of not to do this? Or any known places relying on this behavior which are not caught by tests?
--
All posts must follow the Fuchsia Code of Conduct https://fuchsia.dev/fuchsia-src/CODE_OF_CONDUCT or may be removed.
---
You received this message because you are subscribed to the Google Groups "component-framework-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to component-framewo...@fuchsia.dev.
To view this discussion on the web visit https://groups.google.com/a/fuchsia.dev/d/msgid/component-framework-dev/CAK1yh2kd6re-C4xMgaLTjUZoGTwuZ%2BZt7rJBEvoPkbTOibmW5A%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/fuchsia.dev/d/msgid/component-framework-dev/CAP%3D28cexy58AsYZKajg9K76bSx6v_TGsTECutf_L1wmV9igF0g%40mail.gmail.com.
Hi team,Component manager currently implements behavior where, if you bind to a component, it will automatically bind to all its ancestors. This is a holdover from when we held that parents should always run if one of their children is running. But since then, we have added features that discard this principle (e.g., `use from child`, in which case the parent may be stopped before the child). I uploaded a change that removes this behavior and ran it through CQ without any problems. Are there any reasons we can think of not to do this? Or any known places relying on this behavior which are not caught by tests?
--