1. Jul 09, 2020
  2. Jun 30, 2020
    • asynchronous rob's avatar
      Implement Network Bridge (#1280) · eaae8653
      asynchronous rob authored
      
      
      * network bridge skeleton
      
      * move some primitives around and add debug impls
      
      * protocol registration glue & abstract network interface
      
      * add send_msgs to subsystemctx
      
      * select logic
      
      * transform different events into actions and handle
      
      * implement remaining network bridge state machine
      
      * start test skeleton
      
      * make network methods asynchronous
      
      * extract subsystem out to subsystem crate
      
      * port over overseer to subsystem context trait
      
      * fix minimal example
      
      * fix overseer doc test
      
      * update network-bridge crate
      
      * write a subsystem test-helpers crate
      
      * write a network test helper for network-bridge
      
      * set up (broken) view test
      
      * Revamp network to be more async-friendly and not require Sync
      
      * fix spacing
      
      * fix test compilation
      
      * insert side-channel for actions
      
      * Add some more message types to AllMessages
      
      * introduce a test harness
      
      * add some tests
      
      * ensure service compiles and passes tests
      
      * fix typo
      
      * fix service-new compilation
      
      * Subsystem test helpers send messages synchronously
      
      * remove smelly action inspector
      
      * remove superfluous let binding
      
      * fix warnings
      
      * Update node/network/bridge/src/lib.rs
      
      Co-authored-by: default avatarPeter Goodspeed-Niklaus <[email protected]>
      
      * fix compilation
      
      Co-authored-by: default avatarPeter Goodspeed-Niklaus <[email protected]>
      eaae8653
  3. Jun 05, 2020
  4. Jun 03, 2020
  5. Jun 02, 2020
    • Fedor Sakharov's avatar
      Overseer (#1152) · 162486cd
      Fedor Sakharov authored
      
      
      * Initial commit
      
      * Licenses, spaces, docs
      
      * Add a spawner
      
      * Watch spawned subsystems with a FuturesUnordered
      
      * Move the types around a bit
      
      * Suggested fixes by Max
      
      * Add a handler to talk to the Overseer
      
      * FromOverseer and ToOverseer msgs and stopping
      
      * Docs and return errors
      
      * Dont broadcast, have add a from field to messages
      
      * Allow communication between subsystems and outside world
      
      * A message with a oneshot to send result example
      
      * Remove leftover can_recv_msg
      
      * Remove from field from messages
      
      * Dont be generic over stuff
      
      * Gather messages with StreamUnordered
      
      * Fix comments and formatting
      
      * More docs fixes and an example
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      
      * Fixes from review
      
      Move function from impl block.
      Do not panic but resolve with errors if spawner fails or subsystem
      resolves.
      
      * Dropping a handler results in a flaky test
      
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      162486cd