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
235 stars 46 forks source link

Implement MatchingEngineStateManager #1041

Closed adam-singer closed 1 week ago

adam-singer commented 1 week ago

Description

Implement MatchingEngineStateManager

Implement MatchingEngineStateManager for StateManager. This hides implementation logic for do_try_match() behind MatchingEngineStateManager on filter_operations and update_operation. tasks_or_workers_change_notify has been moved into the StateManager.

Fixes https://github.com/TraceMachina/nativelink/issues/1043

Type of change

Please delete options that aren't relevant.

How Has This Been Tested?

bazel test //...

Checklist


This change is Reviewable