Skip to content

Check C# formatting on Windows - #1309

Merged
Eli Pinkerton (wallstop) merged 1 commit into
mainfrom
task/csharpier-windows-qualification-20261122
Nov 22, 2026
Merged

Eli Pinkerton (wallstop) merged 1 commit into
mainfrom
task/csharpier-windows-qualification-20261122

Conversation

@wallstop

Copy link
Copy Markdown
Collaborator

DISCLOSURE: LLM-GENERATED TEXT

Why

Windows CI can pass without running the pinned C# formatter.

What

  • Install and verify the formatter SDK in the Windows orchestration job.
  • Run the existing CSharpier check on that Windows runner.
  • Cover SDK selection and the Windows check in the workflow tests.

Refs #1194

Run the existing CSharpier check with an isolated, verified .NET 10 SDK in the native Windows orchestration job. Preserve the existing compiler SDK and guard the new format check against a skipped path or an unexpected SDK.

Refs #1194
@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The Windows orchestration phase now installs and verifies .NET SDK 10.0.403, then runs the C# formatting check. The metadata phase skips these steps. Tests verify the workflow configuration and formatting command.

Changes: Windows formatter setup

Layer / File(s) Summary
SDK setup and formatting check
.github/workflows/local-gates.yml, scripts/tests/test_typecheck_controls.py
The Windows orchestration phase installs and verifies .NET SDK 10.0.403, then runs npm run format:csharp:check. Tests check the phase conditions, step order, and PowerShell command.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related issues

  • Qualify CSharpier 1.4 with its newer host runtime #1194: The workflow adds a .NET 10 SDK for the Windows formatter job, addressing the issue’s formatter host-runtime provisioning concern. The CSharpier pin is unchanged, so the issue’s remaining qualification work stays open.
Merge Risk: Minimal · up to 8ef6f

This change makes Windows CI install a pinned .NET SDK and run the C# formatting check, so a skipped formatter can no longer pass silently. No concrete problems were found, and the change is low risk to merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "Check C# formatting on Windows" matches the main change. The PR adds a Windows orchestration step that runs the C# formatting check with a pinned .NET SDK, and the title names that change. …
Description check Passed The description follows the repository template. It has a short Why section that gives the problem in one sentence, a What section with three one-line bullets, and a Refs line that links issue #1194. …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "Check C# formatting on Windows" matches the main change. The PR adds a Windows orchestration step that runs the C# formatting check with a pinned .NET SDK, and the title names that change. The title is short and specific.

Full details: Description check

Explanation

The description follows the repository template. It has a short Why section that gives the problem in one sentence, a What section with three one-line bullets, and a Refs line that links issue #1194. The description includes a disclosure line that the template does not require, which does not affect completeness.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review details

Context from checks skipped due to timeout: 9

  • GitHub Check: Unity package export smoke
  • GitHub Check: Unity 6000.6.0f1 (selected modes)
  • GitHub Check: CodeRabbit
  • GitHub Check: Windows tools (orchestration)
  • GitHub Check: Contract Suites
  • GitHub Check: Type-check (sources)
  • GitHub Check: Type-check (controls)
  • GitHub Check: Windows tools (metadata)
  • GitHub Check: Repo Lint
Additional context used

Code guidelines: 3

.agents/skills/add-inspector-attribute/SKILL.md — Agent Skill
.agents/skills/honest-gates/SKILL.md — Agent Skill
.claude/skills/test-odin-drawers/SKILL.md — Agent Skill
Path-based instructions: 1

Source excerpt:

@github-actions github-actions Bot 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.

DISCLOSURE: LLM-GENERATED TEXT

OpenAI review: 0 findings.

No actionable defects found.

6163 in, 2043 out tokens. Comments only; this review never blocks a merge.

@wallstop
Eli Pinkerton (wallstop) merged commit 9c7d02e into main Nov 22, 2026
28 checks passed
@wallstop
Eli Pinkerton (wallstop) deleted the task/csharpier-windows-qualification-20261122 branch November 22, 2026 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant