-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
this fixes subprogs missing keys #1086
Conversation
Nice, I had a similar patch coming. |
Again: unbelievable I didn’t spot this before! How on earth so many things I tested worked fine I have no idea. |
i hate the two for-loops, but didn't feel like messing around with maps and zips and so forth. |
my guess is because it's a script running under an execve that running in an interpreter... etc. levels on levels. |
Hilariously a couple hours ago I introduced a new test that exposes it: https://github.com/pkgxdev/pkgx/actions/runs/12835540088/job/35795376923?pr=1084#step:19:9 |
Seems fine. We're iterating over two different things. Not sure there's a easy way to zip them together and do it clearly. |
joyous. i guess the "right" way to do it is to clone |
couldn't live with two loops. clone env, prepend needed keys. |
Definitely need some unit tests for these pieces |
that'd be an interesting one to spot regardless. needs a smart test. but preventing regressions should definitely be possible. an integration test stands a better chance. |
closes #1085