Skip to content

add a flag to let users opt into serial builds of inner-RID containers#47455

Merged
baronfel merged 1 commit intodotnet:mainfrom
baronfel:enabler-serial-inner-container-publish
Mar 11, 2025
Merged

add a flag to let users opt into serial builds of inner-RID containers#47455
baronfel merged 1 commit intodotnet:mainfrom
baronfel:enabler-serial-inner-container-publish

Conversation

@baronfel
Copy link
Copy Markdown
Member

This adds a workaround for dotnet/sdk-container-builds#625.

It adds a containers-specific flag that lets users publish inner-RID containers in a serial manner.

If merged, we should backport to 9.0.3xx as well (and maybe 8.0.4xx if @MattKotsenas things they'll need it).

@baronfel baronfel added Document for new feature Area-Containers Related to dotnet SDK containers functionality labels Mar 11, 2025
@ghost ghost added the untriaged Request triage from a team member label Mar 11, 2025
@MattKotsenas
Copy link
Copy Markdown
Member

Does this also avoid the issue in #47429?

I'm not sure I'd want to use it, given the build perf impacts, but would be nice to know if it's also an escape hatch for this.

@baronfel
Copy link
Copy Markdown
Member Author

@MattKotsenas I haven't looked enough to say with confidence - it does seem like a reasonable guess though.

@baronfel baronfel marked this pull request as ready for review March 11, 2025 18:17
@baronfel
Copy link
Copy Markdown
Member Author

/backport to release/9.0.3xx

@github-actions
Copy link
Copy Markdown
Contributor

Started backporting to release/9.0.3xx: https://github.com/dotnet/sdk/actions/runs/13796272852

@github-actions
Copy link
Copy Markdown
Contributor

@baronfel backporting to "release/9.0.3xx" failed, the patch most likely resulted in conflicts:

$ git am --3way --empty=keep --ignore-whitespace --keep-non-patch changes.patch

Applying: add a flag to let users opt into serial builds of inner-RID containers
Using index info to reconstruct a base tree...
M	src/Containers/packaging/build/Microsoft.NET.Build.Containers.targets
Falling back to patching base and 3-way merge...
Auto-merging src/Containers/packaging/build/Microsoft.NET.Build.Containers.targets
CONFLICT (content): Merge conflict in src/Containers/packaging/build/Microsoft.NET.Build.Containers.targets
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
Patch failed at 0001 add a flag to let users opt into serial builds of inner-RID containers
Error: The process '/usr/bin/git' failed with exit code 128

Please backport manually!

@baronfel baronfel merged commit a00601c into dotnet:main Mar 11, 2025
42 checks passed
@baronfel baronfel deleted the enabler-serial-inner-container-publish branch March 11, 2025 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Containers Related to dotnet SDK containers functionality Document for new feature untriaged Request triage from a team member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants