ray/dashboard/modules/reporter
SangBin Cho 1ae14ec513
[Dashboard] Make dashboard / agent work in minimal ray installation 1/3. (#21774)
This is the doc that explains how to achieve this: https://docs.google.com/document/d/12qP3x5uaqZSKS-A_kK0ylPOp0E02_l-deAbmm8YtdFw/edit?usp=sharing

The fully working e2e prototype is here (it passes all tests): cdad913883

This PR is pure refactoring. Basically it moves some of util functions that require optional_deps to `optional_utils` so that optional deps' util functions are not used in the minimal installation. Look below to see the steps. 

<img width="693" alt="Screen Shot 2022-01-21 at 4 38 44 AM" src="https://user-images.githubusercontent.com/18510752/150528494-c3cdedf4-3a66-4557-b540-61436b1dbab6.png">
2022-01-23 21:11:32 -08:00
..
tests [dashboard] Rename "new_dashboard" -> "dashboard" (#18214) 2021-09-15 11:17:15 -05:00
__init__.py [Dashboard] New dashboard skeleton (#9099) 2020-07-27 11:34:47 +08:00
reporter_agent.py Silence "cut: write error: Broken pipe" log spew (#21686) 2022-01-19 23:01:10 -08:00
reporter_consts.py [Dashboard] New dashboard skeleton (#9099) 2020-07-27 11:34:47 +08:00
reporter_head.py [Dashboard] Make dashboard / agent work in minimal ray installation 1/3. (#21774) 2022-01-23 21:11:32 -08:00