Skip to content

chore: add CSharpier and apply one-time format pass#64

Merged
daniel3303 merged 2 commits into
masterfrom
chore/csharpier-setup
May 14, 2026
Merged

chore: add CSharpier and apply one-time format pass#64
daniel3303 merged 2 commits into
masterfrom
chore/csharpier-setup

Conversation

@daniel3303
Copy link
Copy Markdown
Owner

Summary

  • Prereq for the CSharpier check step in the upcoming CI workflow refactor.
  • Installs CSharpier 1.2.6 as a local dotnet tool (.config/dotnet-tools.json) so contributors can run it with dotnet csharpier check . after dotnet tool restore.
  • Adds a one-time format pass over the entire codebase (84 files). The mechanical change is intentionally separated from the tool-install commit so reviewers can ignore it.
  • After this PR merges, a tiny follow-up will add .git-blame-ignore-revs pointing at the squashed format-pass commit so git blame skips it. (Can't be done in this PR because the squash SHA doesn't exist until merge.)

Code changes

  • .config/dotnet-tools.json — new dotnet tool manifest with CSharpier 1.2.6 pinned (rollForward: false).
  • .csharpierignore — excludes worktrees/ (used by the /add-test skill).
  • 84 source files (.cs, Directory.Build.props, csprojs) reformatted with CSharpier defaults (Allman-style braces). No behavior change; unit tests all pass with -warnaserror.

Introduce .config/dotnet-tools.json with CSharpier 1.2.6 for code formatting,
and .csharpierignore to skip the throwaway worktrees/ directory used by /add-test.

The next commit applies the one-time format pass.
Reformat 84 files with CSharpier 1.2.6 defaults (Allman braces, etc.).
Pure mechanical change — no behavior changes, all tests pass.
SHA will be added to .git-blame-ignore-revs in a follow-up commit so
git blame skips this commit.
@daniel3303 daniel3303 merged commit fa8e787 into master May 14, 2026
@daniel3303 daniel3303 deleted the chore/csharpier-setup branch May 14, 2026 11:31
@codecov
Copy link
Copy Markdown

codecov Bot commented May 14, 2026

Codecov Report

❌ Patch coverage is 99.87805% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 99.66%. Comparing base (b0dd2af) to head (b4b737a).
⚠️ Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
...B.EntityFrameworkCore/ParadeDbQuerySqlGenerator.cs 88.88% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #64      +/-   ##
==========================================
+ Coverage   99.60%   99.66%   +0.05%     
==========================================
  Files          25       25              
  Lines         757     1177     +420     
  Branches      128      128              
==========================================
+ Hits          754     1173     +419     
- Misses          0        1       +1     
  Partials        3        3              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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