ray/dashboard
Archit Kulkarni 6d2806f951
[Jobs] [Test] Add integration tests to cover runtime_env inheritance with working_dir and with Tune (#25562)
The current inheritance behavior for runtime_envs enables the following workflow for Jobs:  A working_dir can be set in the Jobs API, and then inside the driver script, if a new per-task runtime_env is defined, it will automatically inherit the driver's working_dir.

There is an ongoing discussion about the best approach for runtime_env inheritance going forward: https://github.com/ray-project/ray/issues/25484, in which we noted that there were no tests covering this behavior.

This PR adds integration tests for the above behavior. If we ultimately decide to abandon the current inheritance behavior and instead have child runtime envs completely overwrite the parent runtime env, this test will fail, reminding us to do the following:

- Update the internal runtime_env usage in Ray Tune to use the `ray.get_runtime_context().runtime_env.update` API
- Update the documentation for Ray Jobs telling users to use `ray.get_runtime_context().runtime_env.update` and update this test
2022-06-08 13:54:06 -07:00
..
client [Dashboard] avoid showing disk info when it is unavailable (#24992) 2022-05-24 17:13:47 -07:00
modules [Jobs] [Test] Add integration tests to cover runtime_env inheritance with working_dir and with Tune (#25562) 2022-06-08 13:54:06 -07:00
tests [CI] Fix dashboard tests broken due to dep version upgrade (#25357) 2022-06-01 12:14:49 -07:00
__init__.py [Dashboard] New dashboard skeleton (#9099) 2020-07-27 11:34:47 +08:00
agent.py Revert "Revert "use an agent-id rather than the process PID (#24968)"… (#25376) 2022-06-01 16:28:48 -07:00
BUILD [job submission] Allow passing job_id, return DOES_NOT_EXIST when applicable (#20164) 2021-11-08 23:10:27 -08:00
consts.py [runtime env] URI reference refactor (#22828) 2022-03-21 11:21:15 -05:00
dashboard.py GcsPublisher is being constructed with unsupported position argument 2022-04-14 10:47:57 -07:00
datacenter.py [Dashboard] fix iterating over GPU processes (#23562) 2022-03-31 17:16:53 -07:00
head.py [Core] Allow accepting gRPC HTTP proxy via env variable (#23526) 2022-05-10 11:30:46 +08:00
http_server_agent.py [CI] Format Python code with Black (#21975) 2022-01-29 18:41:57 -08:00
http_server_head.py [Dashboard] Enable dashboard in the minimal ray installation (#21896) 2022-01-31 22:34:40 -08:00
k8s_utils.py [dashboard][kubernetes] Dashboard CPU and memory adjustments. (#21688) 2022-03-01 17:15:59 -08:00
memory_utils.py [core] Add task and object reconstruction status to ray memory (#22317) 2022-02-22 21:26:21 -08:00
optional_deps.py [Dashboard] Agent in minimal ray installation (#21817) 2022-01-26 04:03:54 -08:00
optional_utils.py [serve] Remove dashboard's dependency on Serve (#23389) 2022-03-21 22:14:41 -07:00
state_aggregator.py [State Observability API] Support Filtering (#25281) 2022-06-03 17:17:30 -07:00
utils.py [dashboard] Remove redis in dashboard (#22788) 2022-03-04 12:32:17 -08:00