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

Use package.json for autorest in sdk repo #42524

Merged
merged 4 commits into from
Mar 11, 2024
Merged

Conversation

hallipr
Copy link
Member

@hallipr hallipr commented Mar 7, 2024

Calling npx autorest from the GenerateCode target has been causing build breaks under heavy load in parallel. Preempting the call with npm ci over a lock file is both safer for CI and makes the npx call local and pre-cached

@hallipr hallipr force-pushed the users/pahallis/npx-autorest branch from 0cc0690 to 41f5d8f Compare March 7, 2024 19:39
hallipr added 2 commits March 11, 2024 10:38
pm ci call to earlier in Update-dotnet-GeneratedSdks
@hallipr hallipr force-pushed the users/pahallis/npx-autorest branch from 41f5d8f to f43d53f Compare March 11, 2024 17:45
@hallipr hallipr marked this pull request as ready for review March 11, 2024 20:21
@hallipr hallipr requested review from weshaggard, benbp, jsquire, pallavit and a team as code owners March 11, 2024 20:21
@hallipr hallipr requested a review from m-nash March 11, 2024 20:21
@hallipr
Copy link
Member Author

hallipr commented Mar 11, 2024

@hallipr hallipr requested a review from mikeharder March 11, 2024 20:42
Copy link
Member

@mikeharder mikeharder left a 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?

@hallipr hallipr merged commit 3092f46 into main Mar 11, 2024
64 checks passed
@hallipr hallipr deleted the users/pahallis/npx-autorest branch March 11, 2024 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants