Repository navigation
Serialize SignalR Java builds - #69978
Merged
Merged
Conversation
Co-authored-by: Copilot App <[email protected]> Copilot-Session: 4a38018a-5951-46f9-ad3c-aed7f6af5470
Contributor
|
Hey @dotnet/aspnet-build, looks like this PR is something you want to take a look at. |
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
The reported build and pack checks passed, but the external scheduler’s handling of the new metadata remains unverified.
No open issues 🎉
What changed in this PR
This PR aims to prevent overlapping SignalR Java Gradle invocations from interfering with shared build outputs by disabling parallel execution at two build layers.
Changes:
- Marks the Java project group for non-parallel scheduling.
- Disables parallel builds of Java project references.
| File | Description |
|---|---|
eng/targets/Java.Common.targets |
Disables parallel execution in the project-reference MSBuild task. |
eng/Build.props |
Adds BuildInParallel="false" metadata to Java project items. |
Review effort: Balanced
wtgodbe
approved these changes
Oct 23, 2026
BrennanConroy
temporarily deployed
to
copilot-pat-pool
October 23, 2026 17:15 — with
GitHub Actions
Inactive
BrennanConroy
temporarily deployed
to
copilot-pat-pool
October 23, 2026 17:15 — with
GitHub Actions
Inactive
BrennanConroy
temporarily deployed
to
copilot-pat-pool
October 23, 2026 17:16 — with
GitHub Actions
Inactive
BrennanConroy
temporarily deployed
to
copilot-pat-pool
October 23, 2026 17:18 — with
GitHub Actions
Inactive
BrennanConroy
temporarily deployed
to
copilot-pat-pool
October 23, 2026 17:19 — with
GitHub Actions
Inactive
BrennanConroy
temporarily deployed
to
copilot-pat-pool
October 23, 2026 17:19 — with
GitHub Actions
Inactive
Contributor
|
✅ No documentation PR was created. Confidence that documentation is needed: 2% No docs needed: build/CI infrastructure change serializing SignalR Java builds. Documentation surfaces considered
|
BrennanConroy
temporarily deployed
to
copilot-pat-pool
October 23, 2026 17:20 — with
GitHub Actions
Inactive
This was referenced Oct 31, 2026
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Serialize SignalR Java builds
Summary of the changes (Less than 80 chars)
Serialize Java Gradle invocations that share the SignalR build directory.
Description
Each Java MSBuild project invokes Gradle against the same SignalR root. Concurrent Core, MessagePack, and test invocations can delete or recreate shared Gradle outputs while another compile is using them. Mark the Java project group and Java project-reference builds non-parallel so the invocations execute in dependency order.
Hopefully will fix issues like the one seen in https://dev.azure.com/dnceng-public/public/_build/results?buildId=1645851&view=logs&jobId=90a821fd-b9f3-539a-0890-8d1c3e87895a&j=90a821fd-b9f3-539a-0890-8d1c3e87895a&t=d1dd5559-7bf3-5c1c-3f6a-c07ac63fa650
Validation
.\eng\build.cmd -BuildJava -NoBuildNative -NoBuildManaged -NoBuildNodeJS -NoBuildInstallers -NoRestore -Configuration Release -MSBuildArguments '/p:ContinuousIntegrationBuild=true'.\eng\build.cmd -BuildJava -NoBuildNative -NoBuildManaged -NoBuildNodeJS -NoBuildInstallers -NoRestore -Pack -Configuration Release -MSBuildArguments '/p:ContinuousIntegrationBuild=true'N/A