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

One-shot execution mode for build servers #44846

Open
baronfel opened this issue Nov 13, 2024 · 0 comments
Open

One-shot execution mode for build servers #44846

baronfel opened this issue Nov 13, 2024 · 0 comments
Labels
Area-NetSDK untriaged Request triage from a team member

Comments

@baronfel
Copy link
Member

Is your feature request related to a problem? Please describe.

We should provide a flag for the various build-related commands that instructs any build servers invoked during the build to shut down at the end of build execution. This flag would need to

  • signal to the msbuild execution engine to clean up owned nodes (or spawn the nodes in such a way that they clean themselves up after each build finishes)
  • flow the user signal to Roslyn/Razor in some way that allows those areas to clean their own processes up. Note that this means the signal can't really be passed to the actual Csc task or equivalent Razor task - some kind of AfterBuild target might be needed to do the cleanup.

This is requested by the VMR (cc @ViktorHofer ) to make build isolation easier and reduce locking.

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-NetSDK untriaged Request triage from a team member labels Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-NetSDK untriaged Request triage from a team member
Projects
None yet
Development

No branches or pull requests

1 participant