Repository navigation
Replace net9.0 with net10.0 - #33
Conversation
Replace net9.0 across projects, CI, tooling, and docs. Select matching dependency lines per TFM while retaining 9.x packages where net8.0 requires APIs unavailable in 8.x. Closes #20
📝 WalkthroughWalkthroughThe repository now targets .NET 8 and .NET 10 instead of .NET 8 and .NET 9. Framework-specific package versions, CI workflows, benchmark tools, tests, and documentation were updated for .NET 10. Changes.NET 10 migration
Estimated code review effort: 3 (Moderate) | ~20 minutes Possibly related issues
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
🧪 Integration Test Results (net10.0)ℹ️ Execution Details
Automated integration testing with Redis containers using TUnit |
🧪 Integration Test Results (net8.0)ℹ️ Execution Details
Automated integration testing with Redis containers using TUnit |
Greptile SummaryThe PR replaces the repository's .NET 9 target with .NET 10 while retaining .NET 8 support.
Confidence Score: 5/5The PR appears safe to merge, with the framework migration consistently applied and no actionable defects identified. Active build targets, framework-specific dependencies, workflows, and benchmark commands consistently support net8.0 and net10.0, and the removed Channels package is redundant for the supported frameworks.
|
| Filename | Overview |
|---|---|
| Directory.Build.props | Replaces the inherited net9.0 target with net10.0 while preserving net8.0. |
| src/Respire/Respire.csproj | Retargets the core library, splits dependencies by target framework, and removes the redundant Channels package. |
| src/Respire.Extensions.Caching/Respire.Extensions.Caching.csproj | Selects compatible caching and dependency-injection packages independently for net8.0 and net10.0. |
| src/Respire.Extensions.Caching.Hybrid/Respire.Extensions.Caching.Hybrid.csproj | Retargets hybrid caching and retains the oldest compatible HybridCache line for net8.0. |
| .github/workflows/ci.yml | Moves CI and performance validation from net9.0 to net10.0. |
| .github/workflows/stress-tests.yml | Updates stress-test inputs, defaults, SDK setup, execution, and artifact naming to net10.0. |
| .github/workflows/unit-tests.yml | Runs the test matrix and coverage upload for net8.0 and net10.0. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Build or test project] --> B{Target framework}
B -->|net8.0| C[Use compatible 8.x packages]
C --> D[Retain selected 9.x packages for APIs with net8.0 assets]
B -->|net10.0| E[Use current 10.x packages]
D --> F[Build and test]
E --> F
Reviews (1): Last reviewed commit: "build: replace net9.0 with net10.0" | Re-trigger Greptile
Redis Container Benchmark Results (net8.0)BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat) Runtime=.NET 8.0 IterationCount=3 WarmupCount=1
View raw benchmark output |
Redis Container Benchmark Results (net10.0)BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.4 LTS (Noble Numbat) Runtime=.NET 8.0 IterationCount=3 WarmupCount=1
View raw benchmark output |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5379250c72
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| </ItemGroup> | ||
|
|
||
| <ItemGroup Condition="'$(TargetFramework)' == 'net10.0'"> | ||
| <PackageReference Include="System.IO.Pipelines" Version="10.0.10" /> |
There was a problem hiding this comment.
Use published .NET 10 package versions
As of this commit's date (2026-08-08), the 10.0.10 versions referenced here have not been published; the .NET 10 servicing line has not yet reached patch 10. The same unavailable version is used throughout the caching, dependency-injection, and test projects, so every workflow's dotnet restore step fails with NU1102 before any net8.0 or net10.0 build or test can run. Pin these references to versions currently available on NuGet.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/unit-tests.yml:
- Around line 111-117: Update the Codecov upload step for the net10.0 matrix
entry to use codecov/codecov-action@v7, and rename its file input to files while
preserving the existing CoverageReport/Cobertura.xml value and other settings.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 0e409e2a-8792-4347-9fa7-f2c1bfb0236d
📒 Files selected for processing (22)
.github/scripts/test_docs_generators.py.github/workflows/benchmark-comparison.yml.github/workflows/benchmark-redis-container.yml.github/workflows/benchmark-redis-throughput.yml.github/workflows/ci.yml.github/workflows/integration-tests.yml.github/workflows/modular-pipeline.yml.github/workflows/stress-tests.yml.github/workflows/unit-tests.ymlDirectory.Build.propsallocation_test/allocation_test.csprojallocation_test/monitor_demo.mdrun-benchmarks.ps1run-benchmarks.shsrc/Respire.Extensions.Caching.Hybrid/Respire.Extensions.Caching.Hybrid.csprojsrc/Respire.Extensions.Caching/Respire.Extensions.Caching.csprojsrc/Respire.Extensions.DependencyInjection/Respire.Extensions.DependencyInjection.csprojsrc/Respire/Respire.csprojtests/Respire.Extensions.Caching.Hybrid.Tests/Respire.Extensions.Caching.Hybrid.Tests.csprojtests/Respire.Extensions.Caching.Tests/Respire.Extensions.Caching.Tests.csprojtools/Respire.StressTests/README.mdwebsite/docs/getting-started.md
| if: matrix.framework == 'net10.0' | ||
| uses: codecov/codecov-action@v3 | ||
| with: | ||
| file: CoverageReport/Cobertura.xml | ||
| flags: unittests | ||
| name: unit-tests | ||
| fail_ci_if_error: false No newline at end of file | ||
| fail_ci_if_error: false |
There was a problem hiding this comment.
🩺 Stability & Availability | 🟠 Major | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
set -eu
printf '%s\n' '--- workflow excerpt ---'
sed -n '95,125p' .github/workflows/unit-tests.yml
printf '%s\n' '--- Codecov action references ---'
rg -n --glob '*.yml' --glob '*.yaml' 'codecov/codecov-action@' .
printf '%s\n' '--- actionlint availability and version ---'
if command -v actionlint >/dev/null 2>&1; then actionlint -version; else echo 'actionlint not installed'; fiRepository: thomhurst/Respire
Length of output: 1077
🌐 Web query:
Codecov GitHub Action current supported version v4 v5 actionlint old version warning codecov/codecov-action
💡 Result:
As of August 8, 2026, the current major version of the codecov/codecov-action is v7 [1][2]. The project has undergone several major version releases to support updated Node runtimes and architectural changes [3][2][4]. While v5 and v6 remain in existence, v7 is the latest major release [1][2]. Regarding actionlint warnings: These warnings occur when actionlint's internal list of supported action inputs is outdated compared to the version of the action you are using in your workflow file [5]. As new features or inputs are added to codecov/codecov-action (e.g., those added in v5.2.0), actionlint may flag them as undefined if it has not yet been updated to recognize those specific inputs [5]. To resolve these warnings: 1. Ensure your actionlint version is up to date, as newer releases of actionlint regularly update their popular actions data set to include the latest inputs for common actions like codecov/codecov-action [5]. 2. If you are using an older major version (like v3 or v4) and receiving "old version" or "deprecated runtime" warnings, you should migrate to the latest major version (v7) [2][6]. When migrating from v4/v5 to v7, be aware of breaking changes, such as input renames (e.g., 'file' was deprecated in favor of 'files' starting in v5) [7][8]. Always check the official Codecov GitHub Action repository releases page for the most current information and migration guides when bumping major versions [1][2].
Citations:
- 1: https://github.com/codecov/codecov-action/releases
- 2: https://github.com/codecov/codecov-action
- 3: https://github.com/codecov/codecov-action/tree/refs/heads/main
- 4: https://github.com/codecov/codecov-action/tree/refs/tags/v6.0.0
- 5:
actionlintdoes not know ofcodecov/codecov-action@v5inputs added in v5.2.0 rhysd/actionlint#579 - 6: Update stale GitHub Actions to current majors vtjeng/MIPVerify.jl#232
- 7: https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md
- 8: https://github.com/codecov/codecov-action/releases/tag/v5.0.0
🏁 Script executed:
#!/bin/bash
set -u
printf '%s\n' '--- Codecov action references ---'
rg -n --glob '*.yml' --glob '*.yaml' 'codecov/codecov-action@' . || true
printf '%s\n' '--- actionlint availability and version ---'
if command -v actionlint >/dev/null 2>&1; then
actionlint -version
else
echo 'actionlint not installed'
fi
printf '%s\n' '--- repository metadata ---'
git remote -v || trueRepository: thomhurst/Respire
Length of output: 479
🏁 Script executed:
#!/bin/bash
set -u
printf '%s\n' '--- actionlint result ---'
actionlint .github/workflows/unit-tests.yml
actionlint_status=$?
printf 'actionlint exit status: %s\n' "$actionlint_status"
printf '%s\n' '--- Codecov action references, including hidden paths ---'
rg -n -uuu --glob '*.yml' --glob '*.yaml' 'codecov/codecov-action@' . || true
printf '%s\n' '--- latest official Codecov action release ---'
curl -fsSL https://api.github.com/repos/codecov/codecov-action/releases/latest \
| jq '{tag_name, target_commitish, published_at, html_url}'
printf '%s\n' '--- official action metadata at the latest release ---'
latest_tag="$(curl -fsSL https://api.github.com/repos/codecov/codecov-action/releases/latest | jq -r '.tag_name')"
curl -fsSL "https://raw.githubusercontent.com/codecov/codecov-action/${latest_tag}/action.yml" \
| sed -n '1,220p'Repository: thomhurst/Respire
Length of output: 3399
🌐 Web query:
site:github.com/codecov/codecov-action releases latest v7 action.yml files file Codecov GitHub Action
💡 Result:
The Codecov GitHub Action has released version 7.0.0, which is the current major version [1][2]. This release introduced a significant change by bumping the Codecov Wrapper submodule to improve security, specifically by updating the source for fetching the Codecov Uploader PGP verification key to the codecovsecops Keybase account [1]. You can view the action.yml file for the latest version of the Codecov GitHub Action directly in the official repository [3][4]. Key details regarding the v7 release: - Major Version Bump: The action was updated from v6.0.1 to v7.0.0 [1]. - Security Enhancement: It includes a submodule update (src/scripts) to fetch the PGP key from the codecovsecops Keybase account [1]. - Repository Link: The action.yml file and source code can be accessed at the official GitHub repository: https://github.com/codecov/codecov-action [3][4].
Citations:
- 1: chore(release): 7.0.0 codecov/codecov-action#1957
- 2: https://github.com/codecov/codecov-action/releases
- 3: https://github.com/codecov/codecov-action
- 4: https://github.com/codecov/codecov-action/blob/main/action.yml
🌐 Web query:
site:github.com/codecov/codecov-action "file:" "files:" v7 migration
💡 Result:
In the context of the Codecov GitHub Action, migrating to v7 is primarily a security-related update necessitated by an issue with the project's Keybase account [1]. The v7 release updates the Codecov Wrapper submodule to fetch the Codecov Uploader PGP verification key from the new codecovsecops Keybase account, replacing the previous codecovsecurity account which became unusable [2][3][1]. Key points regarding this migration: - Purpose: This update restores the ability to verify GPG signatures for the Codecov uploader [2][3][1]. - Breaking Changes/Deprecations: While v7 was released as a major version, it was also published as v6.0.2 to facilitate easier adoption for users already on the v6 release line [1]. - Other Notable Changes: In prior versions (specifically moving from v5), there were significant changes such as the deprecation of the file argument in favor of files, and plugin in favor of plugins [4][5]. If you are currently experiencing GPG verification failures in your CI pipeline, updating to v7 (or the patched v6.0.2) is the recommended fix [1]. To update your GitHub Actions workflow, change the reference to the action in your .github/workflows/workflow.yml file: - uses: codecov/codecov-action@v7 [4][5]
Citations:
- 1: Migrating keybase accounts/gpg verification failure codecov/codecov-action#1956
- 2: codecov/codecov-action@fb8b358
- 3: chore(release): 7.0.0 codecov/codecov-action#1957
- 4: https://github.com/codecov/codecov-action/blob/main/README.md
- 5: https://github.com/codecov/codecov-action
Update Codecov to v7.
Replace codecov/codecov-action@v3 with codecov/codecov-action@v7, and rename file to files to preserve the coverage upload configuration.
🧰 Tools
🪛 actionlint (1.7.12)
[error] 112-112: the runner of "codecov/codecov-action@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue
(action)
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In @.github/workflows/unit-tests.yml around lines 111 - 117, Update the Codecov
upload step for the net10.0 matrix entry to use codecov/codecov-action@v7, and
rename its file input to files while preserving the existing
CoverageReport/Cobertura.xml value and other settings.
Source: Linters/SAST tools
Summary
net9.0withnet10.0across projects, CI, benchmark tooling, and docsnet8.0and current 10.x packages fornet10.0net8.0only where required APIs have no 8.x equivalentSystem.Threading.Channelspackage referenceValidation
dotnet test Respire.sln -c Release --no-restore— 526 passedpython -m unittest discover .github/scripts -p "test_*.py"— 4 passedCloses #20
Summary by CodeRabbit
New Features
Documentation
Tests