Skip to content

Conversation

@jorgerangel-msft
Copy link
Member

@jorgerangel-msft jorgerangel-msft commented Nov 4, 2025

Prebuilds the client plugin to avoid concurrency issues in the regen preview script.

@github-actions github-actions bot added Client This issue is related to a non-management package CodeGen Issues that relate to code generation labels Nov 4, 2025
@jorgerangel-msft jorgerangel-msft marked this pull request as ready for review November 4, 2025 17:30
Copilot AI review requested due to automatic review settings November 4, 2025 17:30
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR optimizes the parallel SDK regeneration process by pre-building the client plugin to avoid concurrent build operations. The change addresses potential race conditions and improves performance when regenerating multiple SDKs in parallel.

Key Changes:

  • Added pre-build step for the client plugin before parallel regeneration
  • Introduced SkipBuildPlugin=true parameter to skip redundant plugin builds during individual SDK regeneration
  • Refactored code to use a shared $sdkForNetEngFolder variable for consistency

@jorgerangel-msft jorgerangel-msft merged commit c04c8cf into Azure:main Nov 4, 2025
10 checks passed
@jorgerangel-msft jorgerangel-msft deleted the fix-regenscript-plugin branch November 4, 2025 21:11
nick863 pushed a commit that referenced this pull request Nov 5, 2025
* fix: prebuild client plugin in regen script

* Update eng/packages/http-client-csharp/eng/scripts/RegenPreview.ps1

Co-authored-by: Copilot <[email protected]>

---------

Co-authored-by: Copilot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Client This issue is related to a non-management package CodeGen Issues that relate to code generation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants