-
Notifications
You must be signed in to change notification settings - Fork 344
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
Fix/npm package cli download #2332
Fix/npm package cli download #2332
Conversation
Dear maintainers I would like to help with the MR but the automatic tests are failing. Can you help me to fix them and explain why they fail through my changes? |
Hi @zabil Currently gaugejs is blocked due failing installation of the bin for current node versions 18 and upcoming TLS version 20. The PR fixes this. Since the change should not affect the general automatic test they are still failing. I am wondering how to proceed with this fix. I am happy for any input bringing this PR forward. In #2338 you wrote
Currently my feeling is that there is no wonderful community which takes care about breaking and blocking issues. Dont take it as offense. I just want to know and clarify the activity of this awesome project. I totally understand if the projects gets abandoned when the financial support is not given and all the hard work is needs to be done for free. But it would be fair for the wonderful community to communicate it in such way, too. The last commit on the master is 9 month old. Who is taking care of PRs? Which members can review or accept the PRs? How can we proceed here? |
Gauge is not actively maintained anymore. Thanks for the effort in this PR. This can be merged after
Cheers. |
Signed-off-by: Sebastian Felis <[email protected]>
Signed-off-by: Sebastian Felis <[email protected]>
Signed-off-by: Sebastian Felis <[email protected]>
Signed-off-by: Sebastian Felis <[email protected]>
Signed-off-by: Sebastian Felis <[email protected]>
024f7ce
to
902fa31
Compare
@zabil Thank you for your quick answer. I've signed the DCO. Thank you for the hint. However still tests are failing. |
@zabil Is this information transparent to the public? I can not find information in on the project page https://gauge.org, the blog the README.md or the CONTRIBUTING.md. It would be fair to state it clearly. |
@xemle thanks for the feedback, updated https://github.com/getgauge/gauge/blob/master/README.md |
Thank you @zabil for updating the README.md. This clarifies the current project state. I hope it wont be the end of all the awesome work of it. Lets see |
Thank you very much for updating basic CI build settings. Now even my PR has green checks! Awesome. What plans do you have with gauge regarding maintenance and review PRs? Is there a chance that the Gauge's JS port gets fixed for current node LTS versions? |
Thanks @xemle. I'll be more than happy to review any PRs under https://github.com/getgauge/gauge-js. Please feel free to contribute. |
@xemle Thank you for contributing to gauge. Your pull request has been labeled as a release candidate 🎉🎉. Merging this PR will trigger a release. Please bump up the version as part of this PR.Instructions to bump the version can found at CONTRIBUTING.md If the CONTRIBUTING.md file does not exist or does not include instructions about bumping up the version, please looks previous commits in git history to see what changes need to be done. |
@haroon-sheikh up to now I did not face problems on gauge-js to run my e2e tests of my web photo HomeGallery - except the installing on node LTS. I just see other js projects replacing the node-unzipper lib to work again - see the references in ZJONSSON/node-unzipper#271. If I face problems, I will raise PRs in gauge-js Thank you for marking this PR as ReleaseCandidate! Great! |
@haroon-sheikh now I have no clue why the changes lead to a failing PR |
@xemle Should be green now. Please go ahead and bump the version to |
Signed-off-by: Sebastian Felis <[email protected]>
@haroon-sheikh thank you so much for approving this PR amd releasing 1.5.1. I will celebrate it this afternoon! Great |
No worries! Let us know how it goes if it fixes the problem for you. |
The fix works. See my test logs. Before node 18.16.0 failed. Now with gauge 1.5.1 it works. Thank you again
|
The same works for node 14 and 16. On node 20 the process hangs :'( . I will investigate it |
Update: node 20 is still working. But it needs time since the requests of the download functions are not consumed. I will provide a patch to fix it. |
I'm not sure what has changed, but recently when installing on MacOS any version after this change, the This seemed to start failing on GHA in the last week, but I am a bit mystified about what has happened since this has been working up until recently with versions including gauge Anyone have any ideas?
vs
|
Interesting, I noticed build failures at This was resolved by checking in a package-lock json and I didn't investigate further. This might be the issue there as well. |
Yeah the Linux installs have the same issue. The zip releases of gauge have the executable bits set correctly inside them so it's either the unzipping or something npm is doing that seems to have changed. Myself locally and GoCD install gauge vis asdf plugin and the web installer script respectively so haven't seen this problem outside gauges own GHA action runs. https://github.com/getgauge/gauge-lsp-tests/actions/runs/10380646369 |
Could be this As we use it at Line 7 in 874ca2e
|
Oh wow, I missed that despite looking at the adm-zip changelog - yes that would explain it. I guess adding your package lock would only have fixed it if you locked at an older version of the transitive dependency - unless you force downgraded it? Hmm, I’ll release a fixed gauge version with a locked patch version until this is addressed, i suppose - and chase down that issue. Since the cli is intended to be installed globally it’s normally going to be used without a package lock. |
Yeah, I checked the package lock for taiko which I checked in which says
So definitely a version issue. |
Fixes #2327 with by replacing unzipper package by adm-zip due ZJONSSON/node-unzipper#271 and problems on node:18.16-alpine docker image.
It reduces also dependencies since adm-zip comes without any dependencies.