-
Notifications
You must be signed in to change notification settings - Fork 4
Make Engine startup async and fallible #232
Copy link
Copy link
Open
Labels
high prioGET DONE ASAP!!GET DONE ASAP!!libtortillasChanges in the libtortillas crateChanges in the libtortillas craterefactorNeither fixes a bug nor adds a featureNeither fixes a bug nor adds a featurerustPull requests that update rust codePull requests that update rust codetui-foundationWork needed before building the Tortillas TUIWork needed before building the Tortillas TUI
Description
Metadata
Metadata
Assignees
Labels
high prioGET DONE ASAP!!GET DONE ASAP!!libtortillasChanges in the libtortillas crateChanges in the libtortillas craterefactorNeither fixes a bug nor adds a featureNeither fixes a bug nor adds a featurerustPull requests that update rust codePull requests that update rust codetui-foundationWork needed before building the Tortillas TUIWork needed before building the Tortillas TUI
Problem
Engine::newis synchronous and returnsSelf, but actor startup binds TCP/uTP/UDP sockets asynchronously. Startup failures are not clearly surfaced to the frontend.Relevant code:
crates/libtortillas/src/engine/mod.rs:95crates/libtortillas/src/engine/actor.rs:137Dependency
Blocked by #231 because startup failures need typed public errors.
Acceptance criteria
Result.