You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Name Each Root Workspace Where the Root Holds More Than One .NET Solution or Project #3795
validate-task.yml's Check C# style step and Run unit tests step keep the bare dotnet format style ... and dotnet test ... call wherever the repository root tracks any .sln, .slnx, or .csproj. A bare call resolves exactly one workspace from the working directory. So a root holding more than one fails both steps with MSB1011 ("more than one project or solution file"). Examples are App.sln beside App.slnx, which dotnet sln migrate leaves behind, two solutions, or a solution beside a project.
This behavior predates the #1938 change on feature/burn-3334. That change keeps the bare call for a root workspace, per the recorded maintainer answer on #1938. The case is a sibling of the one #1938 fixes.
Done when
A root holding more than one solution or project has each one named, or has one chosen by a stated rule, and both steps pass on that layout.
Where the repository root holds more than one .NET solution or project, should validate-task.yml name each one, or choose one by a stated rule, and which rule?
Choose one root workspace by a stated precedence (.slnx, then .sln, then .csproj, then first by name). Handles the dotnet sln migrate leftover in one run. Where the root holds two distinct solutions, or a solution beside a project it does not list, the rest is skipped silently, a false clean.
Leave it and record the limit. No registered C# repo hits it today, since each tracks exactly one root .slnx. The first adopter with such a root gets MSB1011 on both steps.
Evidence:.github/workflows/validate-task.yml:290-318 and :659-689 on main (dotnet_workspaces, bare call whenever any root .sln/.slnx/.csproj is tracked); WORKFLOW.md:146 (D1.6 states only the root-none rule); #1938 answer #1938 (comment); #3796 (merged, 9e06417); tests/test_release_guards.py:2027 (identity test over the two resolver copies); #3791 (proposed single composite resolver).
In flight:#3791 and the #1270/#1259 test-project-signal change both touch the same resolver and the *Tests*.csproj glob, so these land through #3791 or in sequence after it.
Maintainer answer (2026-11-02, via decision triage): reuse the #1938 naming rule.
Keep the bare call only where the root holds exactly one workspace. Otherwise name each tracked solution for the style step and each *Tests*.csproj by --project for the test step. Update the WORKFLOW.md D1.6 wording with it. Land it through the #3791 single resolver or in sequence after it, coordinated with the #1270/#1259 test-project-signal change. This issue stays open as work.
No other group may edit these files while this claim stands. The orchestrator releases it at cleanup.
For #1259 this group takes item 2 only, the header summary block in validate-task.yml. Item 1 is #1270's.
Claim extended (2026-11-10): removing the header block makes a README.md sentence false (the validator "whose header names every job it runs"). No group holds the root README.md, so this claim now also holds it.
Released (2026-11-10): PR #4042 merged into develop at 9b277fc, and its branch and worktree are removed, so this claim holds no files.
Backlog burndown claim (attended run 2026-11-10, promotion fix for #4039, group G15). Branch: burndown/4039-dotnet-workspaces-root-unit. Issues: #3795.
This fixes a finding Copilot raised on promotion #4039 against the dotnet-workspaces action #4038 added. A root holding several entries beside a nested solution names only the nested solution, so the style check skips the root projects.
Predicted file set:
.github/actions/dotnet-workspaces/action.yml
tests/test_release_guards.py
WORKFLOW.md
.agents/skills/workflow-ci-contract/references/d-guarantees.md and the workflow-ci-contract generated copies
No other group may edit these files while this claim stands. The orchestrator releases it at cleanup.
Activity
Gate the Required Check Name, Latest Flag, Lint Interpreter, and .NET…
ptr727 commentedon Nov 2, 2026
Decision triage: researched question
Where the repository root holds more than one .NET solution or project, should
validate-task.ymlname each one, or choose one by a stated rule, and which rule?Options, recommended first:
*Tests*.csprojby--projectfor tests), so no new rule is needed. The test step names projects rather than solutions, so anApp.slnleft besideApp.slnxnever runs tests twice. WORKFLOW.md D1.6's "root holds no solution or project" wording changes with it. The change fits best in the single resolver Resolve .NET Workspaces Once in a validate-task Composite Action #3791 proposes. Until Resolve .NET Workspaces Once in a validate-task Composite Action #3791 lands, both resolver copies change together because of the identity test..slnx, then.sln, then.csproj, then first by name). Handles thedotnet sln migrateleftover in one run. Where the root holds two distinct solutions, or a solution beside a project it does not list, the rest is skipped silently, a false clean..slnx. The first adopter with such a root gets MSB1011 on both steps.Evidence:
.github/workflows/validate-task.yml:290-318and:659-689on main (dotnet_workspaces, bare call whenever any root.sln/.slnx/.csprojis tracked);WORKFLOW.md:146(D1.6 states only the root-none rule); #1938 answer #1938 (comment); #3796 (merged, 9e06417);tests/test_release_guards.py:2027(identity test over the two resolver copies); #3791 (proposed single composite resolver).In flight: #3791 and the #1270/#1259 test-project-signal change both touch the same resolver and the
*Tests*.csprojglob, so these land through #3791 or in sequence after it.ptr727 commentedon Nov 2, 2026
Maintainer answer (2026-11-02, via decision triage): reuse the #1938 naming rule.
Keep the bare call only where the root holds exactly one workspace. Otherwise name each tracked solution for the style step and each
*Tests*.csprojby--projectfor the test step. Update the WORKFLOW.md D1.6 wording with it. Land it through the #3791 single resolver or in sequence after it, coordinated with the #1270/#1259 test-project-signal change. This issue stays open as work.ptr727 commentedon Nov 10, 2026
Released (2026-11-10): PR #4038 merged into
developat a721aaa, and its branch and worktree are removed, so this claim holds no files.Backlog burndown claim (attended run 2026-11-10, round 2, group G10). Branch:
burndown/3791-dotnet-workspaces-action. Issues: #3791, #3795, #1259.Predicted file set:
.github/workflows/validate-task.yml.github/actions/dotnet-workspaces/action.yml(new)tests/test_release_guards.pyWORKFLOW.md.agents/skills/workflow-ci-contract/references/d-guarantees.mdworkflow-ci-contractgenerated copiesNo other group may edit these files while this claim stands. The orchestrator releases it at cleanup.
For #1259 this group takes item 2 only, the header summary block in
validate-task.yml. Item 1 is #1270's.Claim extended (2026-11-10): removing the header block makes a
README.mdsentence false (the validator "whose header names every job it runs"). No group holds the rootREADME.md, so this claim now also holds it.Resolve .NET Workspaces Once in a Composite Action and Name Each Root…
ptr727 commentedon Nov 10, 2026
Released (2026-11-10): PR #4042 merged into
developat 9b277fc, and its branch and worktree are removed, so this claim holds no files.Backlog burndown claim (attended run 2026-11-10, promotion fix for #4039, group G15). Branch:
burndown/4039-dotnet-workspaces-root-unit. Issues: #3795.This fixes a finding Copilot raised on promotion #4039 against the
dotnet-workspacesaction #4038 added. A root holding several entries beside a nested solution names only the nested solution, so the style check skips the root projects.Predicted file set:
.github/actions/dotnet-workspaces/action.ymltests/test_release_guards.pyWORKFLOW.md.agents/skills/workflow-ci-contract/references/d-guarantees.mdand theworkflow-ci-contractgenerated copiesNo other group may edit these files while this claim stands. The orchestrator releases it at cleanup.
Resolve a Root Holding Several .NET Entries as a Unit Before Any Nest…