-
-
Notifications
You must be signed in to change notification settings - Fork 7.7k
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
"perf(core): change sha1 to xxhash" commit broke runtime of Nest.js application on Ubuntu 20.04 #11071
Comments
Here is my package.json part with dependencies and all versions:
My workflow file:
|
I would hazard a guess that I'll look into the package and see what they suggest as well. I know we just switched to it for performance purposes |
Right, but this is very problematic for Windows developers, and is a very breaking change to introduce for a simple "small" patch version upgrade, to be fair. Here's my Dockerfile that might help in reproducing the error:
For now, I downgraded the problematic dependencies to 9.3.2 from 9.3.5 so all services and pipes I have work now, but would be nice to have an official fix and support of future version normally, without these additional generations and manual steps I need to take for the interop. Nevertheless, thanks for your work and response time, it's amazing! |
From what I have look, From what I understand, Things can get worse when you mix the architecture of the CI systems, like building in Linux 64 and then deploying in another architecture. But as fiki said, I think this could be marked as a breaking change because of the way it breaks the deployment process. So I don't know if worth it to recommend fixing the CI or just reverting the package for now and using |
Would you like to create a PR for this @H4ad? If you still have benchmarks comparing sha1 vs xxhash & could link them in the PR that would be ideal (I think you've already shared them with me earlier). |
Yes, I can! About the benchmarks, I will put in the PR but just to give you a idea:
|
Let's track this here #11073 |
fix(core): removed xxhash to fix #11071
Did you read the migration guide?
Is there an existing issue that is already proposing this?
Potential Commit/PR that introduced the regression
7f43821
NestJS version
9.3.2 -> 9.3.5
Describe the regression
So, I've upgraded @nestjs/common and @nestjs/core dependencies from 9.3.2. to 9.3.5. Decided to run them on my PC with Windows 10, runs perfectly, all good. Pushed to my Github and let the Actions complete the build and deployment processes, and this is "docker logs" output of the container that runs my Nest.js application.
Minimum reproduction code
No response
Input code
Expected behavior
Application should run normally on Ubuntu 20.04, just like it does on Windows 10.
Other
Runs on Github hosted Ubuntu runners, this is Actions response for a simple unit test stage:
Produces pretty much the same error:
The text was updated successfully, but these errors were encountered: