TraceMachina / nativelink

Bazel RBE with CAS server implementation in Rust. The free and open source cache and remote execution service, prioritizing stability and speed for the people that need it.
https://docs.nativelink.com
Apache License 2.0
236 stars 46 forks source link

Create scheduler state module #982

Closed adam-singer closed 4 weeks ago

adam-singer commented 4 weeks ago

Moving enough code out of simple_scheduler for decoupling stateful structures to support trait based interfaces in the future. There is no logical flow change in this refactor, all tests pass. Some structures will have pub(crate) visable modules and fields to help with the transition of code reordering.