Skip to content

V2.0.0/double digits - #24

Merged
gimlichael merged 27 commits into
mainfrom
v2.0.0/double-digits
Nov 11, 2026
Merged

gimlichael merged 27 commits into
mainfrom
v2.0.0/double-digits

Conversation

@gimlichael

Copy link
Copy Markdown
Member

This pull request moves Codebelt.Extensions.BenchmarkDotNet to .NET 11 and .NET 10 as its supported targets and drops .NET 9, which is why it ships as the 2.0.0 major version. It also updates central package versions, derives service update versions from Git tags, and enables preview toolchains in CI.

Target frameworks:

  • Source, test, and benchmark projects build for net11.0 and net10.0, and .NET 9 is no longer targeted.
  • The benchmark runner and tuning workspaces run their jobs on .NET 11 and .NET 10, so reported results reflect the supported runtimes.

Documentation:

  • The README, contributing guide, and agent guidance describe .NET 11 and .NET 10 as the supported targets.
  • The DocFX availability include shows the same targets.

Release notes:

  • Both package release notes list version 2.0.0 with .NET 11 and .NET 10 availability and record the removal of .NET 9.

Dependencies:

  • Codebelt.Coverlet.MTP is updated to 10.1.1 and Codebelt.Bootstrapper.Console to 5.2.3.

Automation workflows:

  • The service update workflow derives the next version from the latest stable vMAJOR.MINOR.PATCH Git tag and validates it against CHANGELOG.md before updating the changelog and release notes.
  • A pending TBD changelog entry for the next version is reused rather than duplicated.
  • Release notes default to .NET 11 and .NET 10 availability when no availability line exists.
  • The CI pipeline opts the reusable build, pack, test, SonarCloud, and CodeQL jobs into preview toolchains.

Formatting:

  • Touched C# files use file-scoped namespaces and no longer contain byte order marks or trailing whitespace, matching the .editorconfig rules. No behavior changes.

aicia-bot and others added 10 commits October 22, 2026 18:01
Aligns the touched C# files with the file-scoped namespace rule enforced by .editorconfig. No behavior changes; the namespaces and type declarations are unchanged.
Moves the central package versions to the latest stable releases of Codebelt.Coverlet.MTP and Codebelt.Bootstrapper.Console so the build and tooling stay current.
Moves the source, test, and benchmark projects from net9.0 to net11.0 alongside net10.0. The functional tests now always reference the runner project, since the net10.0-only condition no longer selects a single framework.
The service update workflow now derives the next version from the latest stable vMAJOR.MINOR.PATCH tag and validates it against CHANGELOG.md, instead of trusting the changelog heading alone. The changelog entry is reused when a pending TBD release already exists.
Strips UTF-8 byte order marks and trailing whitespace from the C# files so the repository matches the .editorconfig formatting rules. No code changes; the diff is formatting only.
The benchmark runner and tuning workspaces now run on .NET 11 and .NET 10 instead of .NET 9, so benchmark results reflect the runtimes this library supports.
The CI release notes job falls back to .NET 11 and .NET 10 when no availability line exists, matching the supported targets.
The README, agent guidance, contributing guide, and DocFX availability include now describe .NET 11 and .NET 10 as the supported targets.
Both packages now list .NET 11 and .NET 10 as their availability in version 2.0.0, since .NET 9 support was dropped.
Opt the reusable build, pack, test, SonarCloud, and CodeQL workflows into preview inputs so the pipeline exercises preview toolchains alongside the stable configuration.
@gimlichael gimlichael self-assigned this Oct 22, 2026
@greptile-apps

greptile-apps Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] No actionable new issue was established that blocks merging.

Summary

This PR moves the packages, tests, and benchmarks to .NET 10 and .NET 11.

  • The packages and benchmark jobs target .NET 11 and .NET 10.
  • Service updates choose versions from stable Git tags and reuse pending changelog entries.
  • Fingerprint-based documentation assets are cached only for successful responses.
  • Linux CI uses Ubuntu 26.04 and Scorecard runs on an updated schedule.
  • The repository updates its centrally managed package versions.
  • Touched source and project files use consistent formatting without changing behavior.
  • The repository no longer includes its benchmark-writing prompt.

Reviews (5) · Last reviewed commit: "📝 update changelog date and clarify .NE..." · Reviewed by Greptile

Comment thread .github/workflows/service-update.yml Resolved
Comment thread .github/workflows/service-update.yml Resolved
@codecov

codecov Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 92.18329% with 29 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.32%. Comparing base (94f18a0) to head (794ed1e).

Files with missing lines Patch % Lines
...sions.BenchmarkDotNet/BenchmarkWorkspaceOptions.cs 82.81% 22 Missing ⚠️
...nsions.BenchmarkDotNet.Console/BenchmarkProgram.cs 93.10% 6 Missing ⚠️
...ebelt.Extensions.BenchmarkDotNet.Runner/Program.cs 92.30% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #24      +/-   ##
==========================================
+ Coverage   92.30%   92.32%   +0.02%     
==========================================
  Files           1        7       +6     
  Lines          13      378     +365     
  Branches        0       40      +40     
==========================================
+ Hits           12      349     +337     
- Misses          1       29      +28     

☔ View full report in Codecov by Harness.
📢 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.

gimlichael and others added 9 commits October 22, 2026 19:24
Keep package documentation consistent with the net11.0 and net10.0 targets by replacing stale .NET 9 references and matching the console example to the current benchmark runner.
The benchmark prompt template is no longer needed by the repository, so it is removed to keep agent guidance focused on the maintained instructions.
Files are now stored with LF endings and without UTF-8 byte order marks, which keeps diffs readable and matches the text=auto eol=lf rule in .gitattributes. These files have no content changes.
CI jobs and the test environment matrix now target Ubuntu 26.04 and split the Docker test runner into net10.0 and net11.0 environments, so each target framework is tested on its own image.
The service update workflow now accepts a pending changelog version newer than the latest tag and validates release dates, so a planned major release is not overwritten by the next patch bump.
Error responses for fingerprinted assets are no longer cached for a year, and range requests are disabled so that a partial response cannot be served from the cache.
SonarAnalyzer.CSharp is added to source projects, and central package versions are bumped for Codebelt.Coverlet.MTP, Cuemon.Core, and Microsoft.Testing.Extensions.HangDump.
The editor configuration now treats file-scoped namespaces as an error for all C# files instead of a suggestion, so the rule is enforced rather than optional.
The changelog and package release notes now describe .NET 11 support and the removal of .NET 9, so consumers can see the breaking change for the 2.0.0 release. The contributing guide and the .bot README are updated to match the new test environments and policy.
Comment thread testenvironments.json Resolved
gimlichael and others added 6 commits November 4, 2026 22:19
Keeps the central NuGet package versions on the latest stable releases so builds, tests, and analyzers run against current dependencies.
The CI jobs no longer request preview SDKs, so builds, tests, packing, and analysis use the stable SDK channel that the target frameworks are validated against.
Makes the supported target frameworks explicit so consumers know only the latest LTS, STS, and cross-platform .NET versions are targeted.
Records the .NET 11 target addition, the .NET 9 removal, and the Cuemon.Core update in the per-package release notes that feed the NuGet listings.
aicia-bot and others added 2 commits November 11, 2026 23:35
Brings the changelog up to date with the .NET 11 and .NET 10 release and lists the target frameworks in the contribution guide in a consistent order.
@gimlichael gimlichael mentioned this pull request Nov 11, 2026
@sonarqubecloud

Copy link
Copy Markdown

@gimlichael
gimlichael merged commit aaf2579 into main Nov 11, 2026
25 of 26 checks passed
@gimlichael
gimlichael deleted the v2.0.0/double-digits branch November 11, 2026 23:04
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.

2 participants