Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR]: Use hermetic Java toolchain to execute npm lifecycle hooks #1480

Open
neeraj-retool opened this issue Feb 18, 2024 · 1 comment
Open
Labels
customer request A request from a customer or potential customer discussion needed Discussion required to progress further enhancement New feature or request

Comments

@neeraj-retool
Copy link

neeraj-retool commented Feb 18, 2024

What is the current behavior?

Some NPM packages execute Java or use Java paths (example package) in their postinstall hooks. Those paths currently point to the system JDK.

Describe the feature

We'd like to be able to use the Bazel Java toolchain when running lifecycle hooks instead.

Ideally this is a general solution for passing in hermetic toolchains for actions run by npm_import

@neeraj-retool neeraj-retool added the enhancement New feature or request label Feb 18, 2024
@github-actions github-actions bot added the untriaged Requires traige label Feb 18, 2024
@alexeagle alexeagle added discussion needed Discussion required to progress further and removed untriaged Requires traige labels Feb 22, 2024
@alexeagle
Copy link
Member

We chatted about this today, have some ideas but want to start with a simple repro so we can get hands-on.

@alexeagle alexeagle added the customer request A request from a customer or potential customer label Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer request A request from a customer or potential customer discussion needed Discussion required to progress further enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

2 participants