Automatically activating project on remote workers

Starting Julia with multiple workers and an active project currently only activates the environment on the master process. Does it not make more sense to activate the project on all workers?

jishnu:OffsetArrays.jl/ $ julia -p 2 --project                                                                                      
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.6.1 (2021-04-23)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> Base.active_project()
"/home/jishnu/Dropbox/JuliaPackages/OffsetArrays.jl/Project.toml"

julia> @fetchfrom 2 Base.active_project()
"/home/jishnu/.julia/environments/v1.6/Project.toml"
1 Like

https://github.com/JuliaLang/julia/issues/28781

4 Likes