Repository navigation
Remove Linux Core Multithreaded Mode CI job - #15398
Conversation
ubuntu-latest now resolves to Ubuntu 26.04, which no longer ships a
libxml2 package (it is libxml2-16), so 'apt-get install -y libxml2'
fails with exit code 100 and fails the whole job.
The job runs no tests ("Intentionally not running tests"); libxml2 was
added alongside the code-coverage tooling, which this job does not use.
The build and stage2 build in the failed run completed with 0 errors
without it.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: e6c0b687-cb7d-4a28-81a2-150c0bd191d5
The job existed to validate /mt, which every bootstrapped PR job now runs via Directory.Build.rsp (dotnet#14855) and dotnet#13678. Its only remaining difference is /p:BuildAnalyzer=true, which runs the TaskAnalyzer over Microsoft.Build.Tasks. That output is informational: MSBuildTask0002-0008 are in WarningsNotAsErrors, so findings cannot fail the job, and TaskAnalyzer.Tests already runs in Linux Core. The job floats on ubuntu-latest and has failed on every run since the image moved to Ubuntu 26.04, turning the required msbuild-pr check red. /p:BuildAnalyzer=true is kept in Microsoft.Build.Tasks.csproj; the TaskAnalyzer README documents running it locally. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: e6c0b687-cb7d-4a28-81a2-150c0bd191d5
There was a problem hiding this comment.
🟢 Approval recommended
The deletion is self-contained, preserves multithreaded build coverage, and leaves no unresolved job dependencies or blocking findings.
No open issues 🎉
What changed in this PR
Removes the redundant Linux Core Multithreaded Mode job from PR CI, while retaining multithreaded build coverage in the existing bootstrapped jobs.
Changes:
- Deletes
BootstrapMSBuildWithMTMode, including its setup steps and log artifact publication. - Stops the automatic TaskAnalyzer sweep over built-in tasks; local analyzer execution remains available.
| File | Description |
|---|---|
.vsts-dotnet-ci.yml |
Removes the dedicated Linux multithreaded/analyzer job without changing the remaining jobs. |
Review effort: Balanced
There was a problem hiding this comment.
SDK Integration Boundaries — LGTM
Warning
Firewall blocked 5 domains
The following domains were blocked by the firewall during workflow execution:
api.github.comcdn.jsdelivr.netgithub.zerozr99.workers.devpatchdiff.githubusercontent.comraw.githubusercontent.com
[!TIP]
api.github.com is blocked because GitHub API access uses the built-in GitHub tools by default. Instead of adding api.github.com to network.allowed, use tools.github.mode: gh-proxy for direct pre-authenticated GitHub CLI access without requiring network access to api.github.com:
tools:
github:
mode: gh-proxySee GitHub Tools for more information on gh-proxy mode.
To allow these domains, add them to the network.allowed list in your workflow frontmatter:
network:
allowed:
- defaults
- "api.github.com"
- "cdn.jsdelivr.net"
- "github.com"
- "patchdiff.githubusercontent.com"
- "raw.githubusercontent.com"See Network Configuration for more information.
Generated by Expert Code Review (on open) for #15398 · copilot · gpt56 · 465.3 AIC · ⌖ 0.52 AIC · ⊞ 19K
Related issue(s):
Context
The
Linux Core Multithreaded Modejob (BootstrapMSBuildWithMTMode) no longer earns its place in PR CI:-mt, which every bootstrapped PR job now runs throughDirectory.Build.rsp(Revert "Revert "Add multi-threading option to build response file"" #14855) and Enable -mt in PR CIs with 2 stages #13678./p:BuildAnalyzer=true, which runs the TaskAnalyzer overMicrosoft.Build.Tasks. The output is informational only:MSBuildTask0002-0008are inWarningsNotAsErrors, so findings can never fail the job, andTaskAnalyzer.Testsalready runs inLinux Core.ubuntu-latest, unlike the pinnedLinux Corejob. Since the image moved to Ubuntu 26.04, every run of this job has failed on anapt-get installstep (e.g. build 1648793), which turns the requiredmsbuild-prcheck red even whenLinux Corepasses.Changes Made
Delete the
BootstrapMSBuildWithMTModejob from.vsts-dotnet-ci.yml. TheBuildAnalyzerproperty inMicrosoft.Build.Tasks.csprojis kept; the TaskAnalyzer README documents running it locally (dotnet build src/Tasks/Microsoft.Build.Tasks.csproj /p:BuildAnalyzer=true).Compatibility
CI-only change; no product impact. The required checks on
mainaremsbuild-prandlicense/cla, not the individual job, so no check is left pending. The analyzer sweep overMicrosoft.Build.Tasksis no longer run automatically; if that signal is wanted, it could move to a scheduled pipeline.Testing
.vsts-dotnet-ci.ymlwith PyYAML; the remaining jobs (BootstrapMSBuildOnFullFrameworkWindows,BootstrapMSBuildOnCoreWindows,FullReleaseOnWindows,CoreBootstrappedOnLinux,CoreOnMac,CodeCoverage) are intact.MTModeOnLinux build logsartifact in the repo.msbuild-prrun is the validation.Dependencies and Follow-up
Stacked on #15397, which removes the failing
apt-getsteps from the same job as a minimal unblock. This branch contains that commit; the identical change merges cleanly whichever PR lands first. If #15397 merges alone, this PR is the optional follow-up to delete the job.