-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Conversation
Obsoletes `Overseer::new`, `AllSubsystemsGen` derive macro, `AllSubsystems`.
Since we want to avoid all ways of possible pitfallls around the setup of an overseer, this will also unify the setup path to the |
…onnected-disconnected-removal
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like a good simplification overall!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just a few questions.
@@ -35,6 +68,12 @@ pub(crate) fn impl_builder(info: &OverseerInfo) -> proc_macro2::TokenStream { | |||
.iter() | |||
.map(|subsystem_name| format_ident!("{}_with", subsystem_name)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where is it used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this can be removed again in a future PR, this was added when I was under the impression that we could get away without OverseerConnector
which was wrong ultimately.
I'll remove this in a separate PR.
…d-disconnected-removal
…onnected-disconnected-removal
…onnected-disconnected-removal
The diff is quite a bit to digest for me at least - trying on Rococo before merge, might be a good idea. |
Fair point, it got larger than anticipated and touches a lot of essentials. |
…d-disconnected-removal
Removes the concept of a disconnected or connected overseer, which doesn't really have any practical meaning.
fn new_partial
into multipleis_relay_chain
and use that to selection which chain selection to use, closes overseer: removeconnect
/disconnect
state of theHandle
#3777struct Overseer
, since there were two code paths achieving the same thing, now it's unified to the builder pattern,AllSubsystemsGen
andAllSubsystem<_,...>
are gone for good, closes [overseer] removeAllSubsystems
and proc-macroAllSubsystemGen
#3773