tests/gateway/test_session_env.py::test_set_session_env_sets_contextvars tests/gateway/test_session_env.py::test_session_source_uses_contextvars tests/gateway/test_session_env.py::test_clear_session_env_restores_previous_state tests/gateway/test_session_env.py::test_get_session_env_falls_back_to_os_environ tests/gateway/test_session_env.py::test_get_session_env_default_when_nothing_set tests/gateway/test_session_env.py::test_set_session_env_handles_missing_optional_fields tests/gateway/test_session_env.py::test_session_key_set_via_contextvars tests/gateway/test_session_env.py::test_session_key_falls_back_to_os_environ tests/gateway/test_session_env.py::test_session_id_set_via_contextvars tests/gateway/test_session_env.py::test_set_session_env_includes_session_key tests/gateway/test_session_env.py::test_session_key_no_race_condition_with_contextvars tests/gateway/test_session_env.py::test_run_in_executor_with_context_preserves_session_env tests/gateway/test_session_env.py::test_run_in_executor_with_context_forwards_args tests/gateway/test_session_env.py::test_run_in_executor_with_context_propagates_exceptions