Skip to content

CI: Validate .NET 11#1416

Merged
amotl merged 1 commit intomainfrom
ci-dotnet11
Feb 12, 2026
Merged

CI: Validate .NET 11#1416
amotl merged 1 commit intomainfrom
ci-dotnet11

Conversation

@amotl
Copy link
Copy Markdown
Member

@amotl amotl commented Feb 11, 2026

Problem

error: NU1202: Package Npgsql.EntityFrameworkCore.PostgreSQL 11.0.0-preview.1 is not compatible with net10.0 (.NETCoreApp,Version=v10.0). Package Npgsql.EntityFrameworkCore.PostgreSQL 11.0.0-preview.1 supports: net11.0 (.NETCoreApp,Version=v11.0)
error: Package 'Npgsql.EntityFrameworkCore.PostgreSQL' is incompatible with 'all' frameworks in project '/home/runner/work/cratedb-examples/cratedb-examples/by-language/csharp-efcore/demo.csproj'.
Error: Process completed with exit code 1.

-- CI run #21892205177

image

-- Build status

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Feb 11, 2026

Walkthrough

This pull request expands C# CI testing matrices to include .NET 11.x support. It adds exclusion rules in GitHub Actions workflows to prevent testing incompatible combinations of .NET versions with Npgsql versions.

Changes

Cohort / File(s) Summary
EF Core Workflow
.github/workflows/lang-csharp-efcore.yml
Adds 11.x dotnet-version to matrix. Introduces explicit excludes for: .NET 10 with Npgsql 10.0.0+, .NET 11 with Npgsql 10.0.0, and .NET 10 with prerelease Npgsql.
Npgsql Workflow
.github/workflows/lang-csharp-npgsql.yml
Adds 11.x dotnet-version to matrix. Excludes .NET 11 from testing against Npgsql 8.* and 9.* versions.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Possibly related PRs

Suggested reviewers

  • seut
  • surister

Poem

🐰 A rabbit hops through CI gates so bright,
.NET eleven joins the fight!
With Npgsql rules to keep in place,
Incompatible pairs find no space.
Tests shall run with harmony and cheer! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title 'CI: Validate .NET 11' directly matches the PR's main objective of validating .NET 11 in CI workflows, as evidenced by the changes adding 11.x dotnet-version entries to both workflow files.
Description check ✅ Passed The description clearly explains the problem motivating the PR: package incompatibility between Npgsql.EntityFrameworkCore.PostgreSQL 11.0.0-preview.1 and net10.0, which directly relates to the changeset's purpose of adding .NET 11 validation and managing version matrix compatibility.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch ci-dotnet11

No actionable comments were generated in the recent review. 🎉


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@amotl amotl force-pushed the ci-dotnet11 branch 2 times, most recently from d7693aa to 3ac99ae Compare February 11, 2026 15:43
@amotl amotl requested review from seut and surister February 11, 2026 15:55
@amotl amotl marked this pull request as ready for review February 11, 2026 15:55
@amotl amotl merged commit 045cab5 into main Feb 12, 2026
25 checks passed
@amotl amotl deleted the ci-dotnet11 branch February 12, 2026 12:36
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