Skip to content

Serialize SignalR Java builds - #69978

Merged
BrennanConroy merged 1 commit into
mainfrom
brennanconroy-serialize-java-builds
Oct 23, 2026
Merged

BrennanConroy merged 1 commit into
mainfrom
brennanconroy-serialize-java-builds

Conversation

@BrennanConroy

@BrennanConroy BrennanConroy commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

Serialize SignalR Java builds

  • You've read the Contributor Guide and Code of Conduct.
  • You've included unit or integration tests for your change, where applicable.
  • You've included inline docs for your change, where applicable.
  • There's an open issue for the PR that you are making. If you'd like to propose a new feature or change, please open an issue to discuss the change or find an existing issue.

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

  • Passed: .\eng\build.cmd -BuildJava -NoBuildNative -NoBuildManaged -NoBuildNodeJS -NoBuildInstallers -NoRestore -Configuration Release -MSBuildArguments '/p:ContinuousIntegrationBuild=true'
  • Passed: .\eng\build.cmd -BuildJava -NoBuildNative -NoBuildManaged -NoBuildNodeJS -NoBuildInstallers -NoRestore -Pack -Configuration Release -MSBuildArguments '/p:ContinuousIntegrationBuild=true'

N/A

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

Copilot-Session: 4a38018a-5951-46f9-ad3c-aed7f6af5470
@BrennanConroy
BrennanConroy requested review from a team and wtgodbe as code owners October 22, 2026 20:42
Copilot AI balanced review requested due to automatic review settings October 22, 2026 20:42
@github-actions github-actions Bot added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Oct 22, 2026
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Hey @dotnet/aspnet-build, looks like this PR is something you want to take a look at.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 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

@BrennanConroy
BrennanConroy merged commit f20cefd into main Oct 23, 2026
32 checks passed
@BrennanConroy
BrennanConroy deleted the brennanconroy-serialize-java-builds branch October 23, 2026 17:15
@github-actions

Copy link
Copy Markdown
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

  • Conceptual article: Not required — Build-only change to Java/Gradle project invocation; no user-facing behavior.
  • Migration guidance: Not required — No upgrade action for users.
  • Breaking change: Not required — No compatibility impact.

This branch was previously deployed

1 inactive deployment
copilot-pat-pool — 89202de7 Deployed Oct 23, 2026 by BrennanConroy via conclusion #97
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants