Skip to content

chore: Use SLNX format for solution files#4911

Merged
jamescrosswell merged 7 commits intomainfrom
slnx-files
Feb 12, 2026
Merged

chore: Use SLNX format for solution files#4911
jamescrosswell merged 7 commits intomainfrom
slnx-files

Conversation

@jamescrosswell
Copy link
Collaborator

@jamescrosswell jamescrosswell commented Feb 10, 2026

@github-actions
Copy link
Contributor

github-actions bot commented Feb 10, 2026

Semver Impact of This PR

None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


This PR will not appear in the changelog.


🤖 This preview updates automatically when you update the PR.

@jamescrosswell jamescrosswell marked this pull request as ready for review February 11, 2026 06:40
Comment on lines 8 to 9
var assembly = typeof(AttributeReaderTests).Assembly;
Assert.NotNull(AttributeReader.TryGetProjectDirectory(assembly));
Copy link
Member

Choose a reason for hiding this comment

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

issue: test without assertion

Intended?
Should we run test in Release mode, could typeof(AttributeReaderTests).Assembly be removed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Worryingly, the dotnet format tool did this, according to the commit history!

Copy link
Member

Choose a reason for hiding this comment

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

Indeed

Copy link
Member

Choose a reason for hiding this comment

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

@codecov
Copy link

codecov bot commented Feb 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.86%. Comparing base (f95f266) to head (704d35f).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4911      +/-   ##
==========================================
- Coverage   73.88%   73.86%   -0.02%     
==========================================
  Files         494      494              
  Lines       17868    17868              
  Branches     3509     3509              
==========================================
- Hits        13202    13199       -3     
- Misses       3807     3809       +2     
- Partials      859      860       +1     

☔ 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.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

Copy link
Member

@Flash0ver Flash0ver left a comment

Choose a reason for hiding this comment

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

✅ with some non-blocking questions for potential follow-ups

# We exclude `test/Sentry.Tests/AttributeReaderTests.cs` because dotnet-format tries to
# delete assertions in there.
# - see https://github.com/getsentry/sentry-dotnet/pull/4911#discussion_r2795717887
run: dotnet format Sentry.slnx --no-restore --exclude ./modules --exclude ./**/*OptionsSetup.cs --exclude ./test/Sentry.Tests/AttributeReaderTests.cs
Copy link
Member

Choose a reason for hiding this comment

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

note: will follow-up in #4918 ... maybe the .NET CLI-included command changes behavior there

@jamescrosswell jamescrosswell merged commit c255e51 into main Feb 12, 2026
49 of 50 checks passed
@jamescrosswell jamescrosswell deleted the slnx-files branch February 12, 2026 21:51
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.

[Try to] use SLNX format for solution files

3 participants