mirror of
https://github.com/vale981/ray
synced 2025-03-06 02:21:39 -05:00
![]() 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 |
||
---|---|---|
.. | ||
actor | ||
event | ||
job | ||
log | ||
node | ||
reporter | ||
runtime_env | ||
serve | ||
snapshot | ||
state | ||
test | ||
tests | ||
tune | ||
usage_stats | ||
__init__.py | ||
dashboard_sdk.py |