Skip to content

Update to .NET 10 and adjust service references#44

Merged
ewassef merged 2 commits intomainfrom
feature/update-targetframework-net10-0
Jan 21, 2026
Merged

Update to .NET 10 and adjust service references#44
ewassef merged 2 commits intomainfrom
feature/update-targetframework-net10-0

Conversation

@ewassef
Copy link
Contributor

@ewassef ewassef commented Jan 21, 2026

This pull request upgrades the project to .NET 10 and updates service references related to the reverse proxy client. The main changes include updating target frameworks and workflow configuration, as well as switching from the ingress-nginx-controller service to kgateway-system-kgateway in the codebase.

.NET Version Upgrade:

  • Updated target framework to net10.0 in cli/src/Vdk/Vdk.csproj and cli/tests/Vdk.Tests/Vdk.Tests.csproj. [1] [2]
  • Updated the GitHub Actions workflow in .github/workflows/build.yaml to use .NET version 10.0.x for builds.

Reverse Proxy Service Reference Update:

  • Changed all references in PatchCoreDns (in ReverseProxyClient.cs) from ingress-nginx-controller to kgateway-system-kgateway, including log messages and service lookups.

Bump target framework to net10.0 in Vdk and test projects, and update GitHub Actions workflow to use .NET 10.0.x. Also, update ReverseProxyClient to reference 'kgateway-system-kgateway' service instead of 'ingress-nginx-controller'.
Copilot AI review requested due to automatic review settings January 21, 2026 15:31
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request upgrades the project from .NET 8.0 to .NET 10.0 and updates the reverse proxy service references from the ingress-nginx-controller to kgateway-system-kgateway. The changes reflect a migration to a new gateway system while modernizing the .NET framework version.

Changes:

  • Updated target framework from net8.0 to net10.0 across project files
  • Changed GitHub Actions workflow to use .NET 10.0.x for builds
  • Replaced all ingress-nginx-controller service references with kgateway-system-kgateway in the reverse proxy client implementation

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
cli/src/Vdk/Vdk.csproj Updated target framework to net10.0 and removed BOM character
cli/tests/Vdk.Tests/Vdk.Tests.csproj Updated target framework to net10.0
cli/src/Vdk/Services/ReverseProxyClient.cs Updated service references from ingress-nginx-controller to kgateway-system-kgateway with corresponding namespace and log message updates
.github/workflows/build.yaml Updated .NET version in CI/CD workflow to 10.0.x

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

The System.CommandLine package was upgraded from the beta version to the
stable 2.0.2 release, which introduced breaking API changes that required
updates across all CLI command files.

API changes addressed:
- AddCommand() -> Subcommands.Add() for adding subcommands
- AddOption() -> Options.Add() for adding options
- SetHandler() extension -> SetAction() method for command handlers
- Option constructor signature changed: description is now set via
  Description property instead of constructor parameter
- InvokeAsync() on Command -> Parse(args).InvokeAsync() in Program.cs

Files modified:
- All command files under cli/src/Vdk/Commands/
- cli/src/Vdk/Program.cs

Also normalizes line endings to LF per .gitattributes.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@ewassef ewassef merged commit 1707b54 into main Jan 21, 2026
2 checks passed
@ewassef ewassef deleted the feature/update-targetframework-net10-0 branch January 21, 2026 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant