-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Use package.json for autorest in sdk repo #42524
Conversation
0cc0690
to
41f5d8f
Compare
41f5d8f
to
f43d53f
Compare
This change is seen in the Analyze job of all service ci pipelines: and in the "Call regeneration script" step of the autorest.csharp - preview pipeline: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have we run several builds with this PR, to be confident it fixes the race condition?
Calling
npx autorest
from the GenerateCode target has been causing build breaks under heavy load in parallel. Preempting the call withnpm ci
over a lock file is both safer for CI and makes the npx call local and pre-cached