ray/dashboard/modules
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
..
actor [Core] Allow accepting gRPC HTTP proxy via env variable (#23526) 2022-05-10 11:30:46 +08:00
event Clean up docstyle in python modules and add LINT rule (#25272) 2022-06-01 11:27:54 -07:00
job [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
log [State Observability] Ray log alpha API (#24964) 2022-06-04 05:10:23 -07:00
node [Core] Allow accepting gRPC HTTP proxy via env variable (#23526) 2022-05-10 11:30:46 +08:00
reporter [Core] Export additional metrics for workers and Raylet memory (#25418) 2022-06-06 10:58:14 -07:00
runtime_env [runtime env] [java] Support jars in runtime env for Java (#24170) 2022-05-12 09:34:40 +08:00
serve Restore "[Serve] Deploy Serve deployment graphs via REST API" (#25073) (#25333) 2022-06-02 11:06:53 -07:00
snapshot [Jobs] [Dashboard] Add job submission id as field to job snapshot (#24303) 2022-04-29 10:10:24 -05:00
state [State Observability] Ray log alpha API (#24964) 2022-06-04 05:10:23 -07:00
test [CI] Format Python code with Black (#21975) 2022-01-29 18:41:57 -08:00
tests [serve] Reject Ray client addresses when submitting via Dashboard (#23339) 2022-03-21 11:17:51 -05:00
tune [CI] Format Python code with Black (#21975) 2022-01-29 18:41:57 -08:00
usage_stats Don't show usage stats prompt in dashboard if prompt is disabled (#24700) 2022-05-12 07:55:28 -07:00
__init__.py [Dashboard] New dashboard skeleton (#9099) 2020-07-27 11:34:47 +08:00
dashboard_sdk.py Clean up docstyle in python modules and add LINT rule (#25272) 2022-06-01 11:27:54 -07:00