You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
setup_starpls doesn't work with proxy servers and violates principle of reproducability #79
The setup_starpls downloads the binaries via curl in a genrule. This fails when using a proxy server because the genrule runs in a stripped environment (missing the http_proxy environment variables).
The better way would be to separate the download step from the genrule. E.g. by having a http_archive() in the MODULE.bazel or registry and then the genrule would just make it executable and provide it as a target in the module. That way also download will be reproducible because it needs to be downloaded (only) if the hash of the archive changes.
P.S.: As the starpls is a development tool but not necessary for the build, wouldn't it make more sense to add it to the devcontainer instead of installing it via bazel?
Activity
NEOatNHNG commentedon Oct 9, 2025
P.S.: As the starpls is a development tool but not necessary for the build, wouldn't it make more sense to add it to the devcontainer instead of installing it via bazel?
NEOatNHNG commentedon Oct 9, 2025
It seems that starpls is already part of the devcontainer. So probably it would make sense to remove the setup_starpls everywhere to clean it up.
Don't fetch startpls_server via bazel