Skip to content

feat: added build support for net10#58

Merged
JerrettDavis merged 1 commit intomainfrom
feature/update-to-dotnet10
Nov 18, 2025
Merged

feat: added build support for net10#58
JerrettDavis merged 1 commit intomainfrom
feature/update-to-dotnet10

Conversation

@JerrettDavis
Copy link
Copy Markdown
Owner

No description provided.

Copy link
Copy Markdown
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 attempts to add build support for .NET 10, updating all project files and CI/CD workflows to include net10.0 as a target framework. However, .NET 10 has not been officially released yet as of January 2025.

  • Adds net10.0 to target frameworks across all projects
  • Updates GitHub Actions workflows to install .NET SDK 10.0.x
  • Updates package lock files with dependency resolution for net10.0

Reviewed Changes

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

Show a summary per file
File Description
Directory.Build.props Adds net10.0 to the global target frameworks list
.github/workflows/codeql-analysis.yml Adds .NET SDK 10.0.x to the dotnet-version setup
.github/workflows/ci.yml Adds .NET SDK 10.0.x to the dotnet-version setup in two jobs
src/PatternKit.Examples/PatternKit.Examples.csproj Adds net10.0 to target frameworks
src/PatternKit.Examples/packages.lock.json Adds dependency resolution for net10.0 framework
src/PatternKit.Core/packages.lock.json Adds empty net10.0 dependency section
test/PatternKit.Tests/PatternKit.Tests.csproj Adds net10.0 to target frameworks
test/PatternKit.Tests/packages.lock.json Adds dependency resolution for net10.0 framework
test/PatternKit.Generators.Tests/PatternKit.Generators.Tests.csproj Adds net10.0 to target frameworks
test/PatternKit.Generators.Tests/packages.lock.json Adds dependency resolution for net10.0 framework
test/PatternKit.Examples.Tests/PatternKit.Examples.Tests.csproj Adds net10.0 to target frameworks
test/PatternKit.Examples.Tests/packages.lock.json Adds dependency resolution for net10.0 framework

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

@github-actions
Copy link
Copy Markdown
Contributor

Code Coverage

Summary
  Generated on: 11/18/2025 - 05:05:20
  Coverage date: 11/18/2025 - 05:05:01 - 11/18/2025 - 05:05:16
  Parser: MultiReport (9x Cobertura)
  Assemblies: 3
  Classes: 187
  Files: 86
  Line coverage: 81.2%
  Covered lines: 4406
  Uncovered lines: 1020
  Coverable lines: 5426
  Total lines: 16229
  Branch coverage: 72.5% (1512 of 2083)
  Covered branches: 1512
  Total branches: 2083
  Method coverage: 86.8% (1170 of 1347)
  Full method coverage: 79.6% (1073 of 1347)
  Covered methods: 1170
  Fully covered methods: 1073
  Total methods: 1347

PatternKit.Core                                                                  84.9%
  PatternKit.Behavioral.Chain.ActionChain<T>                                     84.7%
  PatternKit.Behavioral.Chain.ResultChain<T1, T2>                                 100%
  PatternKit.Behavioral.Command.Command<T>                                       62.7%
  PatternKit.Behavioral.Iterator.AsyncFlow<T>                                     100%
  PatternKit.Behavioral.Iterator.AsyncFlowExtensions                              100%
  PatternKit.Behavioral.Iterator.AsyncReplayBuffer<T>                            74.6%
  PatternKit.Behavioral.Iterator.Flow<T>                                         94.4%
  PatternKit.Behavioral.Iterator.FlowExtensions                                  21.4%
  PatternKit.Behavioral.Iterator.ReplayableSequence<T>                           80.7%
  PatternKit.Behavioral.Iterator.ReplayableSequenceExtensions                     100%
  PatternKit.Behavioral.Iterator.SharedAsyncFlow<T>                               100%
  PatternKit.Behavioral.Iterator.SharedFlow<T>                                   63.1%
  PatternKit.Behavioral.Iterator.WindowSequence                                  92.3%
  PatternKit.Behavioral.Mediator.Mediator                                        88.2%
  PatternKit.Behavioral.Mediator.MediatorHelpers                                   50%
  PatternKit.Behavioral.Mediator.TaskExtensions                                     0%
  PatternKit.Behavioral.Memento.Memento<T>                                       85.3%
  PatternKit.Behavioral.Observer.AsyncObserver<T>                                87.8%
  PatternKit.Behavioral.Observer.Observer<T>                                     96.5%
  PatternKit.Behavioral.State.AsyncStateMachine<T1, T2>                            68%
  PatternKit.Behavioral.State.StateMachine<T1, T2>                                 74%
  PatternKit.Behavioral.Strategy.ActionStrategy<T>                                 97%
  PatternKit.Behavioral.Strategy.AsyncStrategy<T1, T2>                           93.5%
  PatternKit.Behavioral.Strategy.Strategy<T1, T2>                                 100%
  PatternKit.Behavioral.Strategy.TryStrategy<T1, T2>                             95.8%
  PatternKit.Behavioral.Template.AsyncTemplate<T1, T2>                           69.5%
  PatternKit.Behavioral.Template.AsyncTemplateMethod<T1, T2>                     81.2%
  PatternKit.Behavioral.Template.Template<T1, T2>                                  88%
  PatternKit.Behavioral.Template.TemplateMethod<T1, T2>                          46.6%
  PatternKit.Behavioral.Visitor.ActionVisitor<T>                                 85.7%
  PatternKit.Behavioral.Visitor.AsyncActionVisitor<T>                            94.5%
  PatternKit.Behavioral.Visitor.AsyncVisitor<T1, T2>                             86.1%
  PatternKit.Behavioral.Visitor.Visitor<T1, T2>                                  91.1%
  PatternKit.Common.Option<T>                                                      80%
  PatternKit.Common.Throw                                                          80%
  PatternKit.Common.TryHandlerExtensions                                         33.3%
  PatternKit.Creational.Builder.BranchBuilder<T1, T2>                             100%
  PatternKit.Creational.Builder.BuilderExtensions                                 100%
  PatternKit.Creational.Builder.ChainBuilder<T>                                   100%
  PatternKit.Creational.Builder.Composer<T1, T2>                                  100%
  PatternKit.Creational.Builder.MutableBuilder<T>                                 100%
  PatternKit.Creational.Factory.Factory<T1, T2>                                  76.9%
  PatternKit.Creational.Factory.Factory<T1, T2, T3>                              76.9%
  PatternKit.Creational.Prototype.Prototype<T>                                    100%
  PatternKit.Creational.Prototype.Prototype<T1, T2>                                90%
  PatternKit.Creational.Singleton.Singleton<T>                                   96.5%
  PatternKit.Structural.Adapter.Adapter<T1, T2>                                  91.1%
  PatternKit.Structural.Bridge.Bridge<T1, T2, T3>                                77.5%
  PatternKit.Structural.Composite.Composite<T1, T2>                              97.3%
  PatternKit.Structural.Decorator.Decorator<T1, T2>                              97.6%
  PatternKit.Structural.Facade.Facade<T1, T2>                                    88.8%
  PatternKit.Structural.Facade.TypedFacade<T>                                    79.4%
  PatternKit.Structural.Facade.TypedFacadeDispatchProxy<T>                       81.8%
  PatternKit.Structural.Facade.TypedFacadeProxyFactory<T>                         100%
  PatternKit.Structural.Flyweight.Flyweight<T1, T2>                              83.3%
  PatternKit.Structural.Proxy.Proxy<T1, T2>                                      98.8%

PatternKit.Examples                                                                78%
  PatternKit.Examples.ApiGateway.Demo                                            97.9%
  PatternKit.Examples.ApiGateway.MiniRouter                                      96.6%
  PatternKit.Examples.ApiGateway.Request                                           75%
  PatternKit.Examples.ApiGateway.Response                                         100%
  PatternKit.Examples.ApiGateway.Responses                                        100%
  PatternKit.Examples.AsyncStateDemo.ConnectionStateDemo                         93.5%
  PatternKit.Examples.Chain.AuthLoggingDemo                                      95.2%
  PatternKit.Examples.Chain.CardProcessors                                        100%
  PatternKit.Examples.Chain.CardTenderStrategy                                      0%
  PatternKit.Examples.Chain.CashTenderStrategy                                      0%
  PatternKit.Examples.Chain.ChainStage                                            100%
  PatternKit.Examples.Chain.CharityRoundUpRule                                     20%
  PatternKit.Examples.Chain.ConfigDriven.Bundle1OffEach                          14.2%
  PatternKit.Examples.Chain.ConfigDriven.CardTender                              72.2%
  PatternKit.Examples.Chain.ConfigDriven.Cash2Pct                                16.6%
  PatternKit.Examples.Chain.ConfigDriven.CashTender                              90.9%
  PatternKit.Examples.Chain.ConfigDriven.CharityRoundUp                           100%
  PatternKit.Examples.Chain.ConfigDriven.ConfigDrivenPipelineBuilderExtensions   94.2%
  PatternKit.Examples.Chain.ConfigDriven.ConfigDrivenPipelineDemo                 100%
  PatternKit.Examples.Chain.ConfigDriven.Loyalty5Pct                               20%
  PatternKit.Examples.Chain.ConfigDriven.NickelCashOnly                          77.7%
  PatternKit.Examples.Chain.ConfigDriven.PipelineOptions                          100%
  PatternKit.Examples.Chain.Customer                                              100%
  PatternKit.Examples.Chain.DeviceBus                                             100%
  PatternKit.Examples.Chain.GenericProcessor                                      100%
  PatternKit.Examples.Chain.HttpRequest                                           100%
  PatternKit.Examples.Chain.IRoundingRule                                         100%
  PatternKit.Examples.Chain.LineItem                                              100%
  PatternKit.Examples.Chain.MediatedTransactionPipelineDemo                       100%
  PatternKit.Examples.Chain.NickelCashOnlyRule                                    100%
  PatternKit.Examples.Chain.NoopCharityTracker                                      0%
  PatternKit.Examples.Chain.RoundingPipeline                                      100%
  PatternKit.Examples.Chain.Tender                                                100%
  PatternKit.Examples.Chain.TenderRouterFactory                                  91.3%
  PatternKit.Examples.Chain.TransactionContext                                    100%
  PatternKit.Examples.Chain.TransactionPipeline                                   100%
  PatternKit.Examples.Chain.TransactionPipelineBuilder                           92.3%
  PatternKit.Examples.Chain.TxResult                                              100%
  PatternKit.Examples.FacadeDemo.FacadeDemo                                      62.9%
  PatternKit.Examples.FlyweightDemo.FlyweightDemo                                96.9%
  PatternKit.Examples.Generators.IntParser                                         60%
  PatternKit.Examples.Generators.OrderRouter                                     95.2%
  PatternKit.Examples.Generators.ScoreLabeler                                     100%
  PatternKit.Examples.MediatorDemo.AppMediator                                    100%
  PatternKit.Examples.MediatorDemo.AuditLogHandler                                100%
  PatternKit.Examples.MediatorDemo.BoxHelper                                       25%
  PatternKit.Examples.MediatorDemo.CountUpCmd                                     100%
  PatternKit.Examples.MediatorDemo.CountUpHandler                                 100%
  PatternKit.Examples.MediatorDemo.EchoCmd                                        100%
  PatternKit.Examples.MediatorDemo.EchoHandler                                    100%
  PatternKit.Examples.MediatorDemo.LoggingBehavior<T1, T2>                        100%
  PatternKit.Examples.MediatorDemo.MediatorAssemblyScanner                        100%
  PatternKit.Examples.MediatorDemo.MediatorDemoSink                               100%
  PatternKit.Examples.MediatorDemo.MediatorRegistry                               100%
  PatternKit.Examples.MediatorDemo.PingCmd                                        100%
  PatternKit.Examples.MediatorDemo.PingHandler                                    100%
  PatternKit.Examples.MediatorDemo.ServiceCollectionExtensions                   83.3%
  PatternKit.Examples.MediatorDemo.SumCmd                                         100%
  PatternKit.Examples.MediatorDemo.SumCmdBehavior                                 100%
  PatternKit.Examples.MediatorDemo.SumHandler                                     100%
  PatternKit.Examples.MediatorDemo.UserCreated                                    100%
  PatternKit.Examples.MediatorDemo.WelcomeEmailHandler                            100%
  PatternKit.Examples.MementoDemo.MementoDemo                                    83.5%
  PatternKit.Examples.ObserverDemo.EventHub<T>                                      0%
  PatternKit.Examples.ObserverDemo.LineItem                                       100%
  PatternKit.Examples.ObserverDemo.ObservableList<T>                               47%
  PatternKit.Examples.ObserverDemo.ObservableVar<T>                               100%
  PatternKit.Examples.ObserverDemo.ProfileViewModel                               100%
  PatternKit.Examples.ObserverDemo.PropertyChangedHub                             100%
  PatternKit.Examples.ObserverDemo.ReactiveTransaction                           95.4%
  PatternKit.Examples.ObserverDemo.UserEvent                                        0%
  PatternKit.Examples.PatternShowcase.PatternShowcase                            86.5%
  PatternKit.Examples.PointOfSale.CustomerInfo                                    100%
  PatternKit.Examples.PointOfSale.Demo                                              0%
  PatternKit.Examples.PointOfSale.OrderLineItem                                   100%
  PatternKit.Examples.PointOfSale.PaymentProcessorDemo                           94.8%
  PatternKit.Examples.PointOfSale.PaymentReceipt                                  100%
  PatternKit.Examples.PointOfSale.PromotionConfig                                 100%
  PatternKit.Examples.PointOfSale.PurchaseOrder                                   100%
  PatternKit.Examples.PointOfSale.ReceiptLineItem                                 100%
  PatternKit.Examples.PointOfSale.StoreLocation                                   100%
  PatternKit.Examples.Pricing.ApiPricingSource                                    100%
  PatternKit.Examples.Pricing.CharityRoundUpRule                                  100%
  PatternKit.Examples.Pricing.Coupon                                              100%
  PatternKit.Examples.Pricing.DbPricingSource                                     100%
  PatternKit.Examples.Pricing.DefaultSourceRouting                               83.3%
  PatternKit.Examples.Pricing.FilePricingSource                                   100%
  PatternKit.Examples.Pricing.LineItem                                            100%
  PatternKit.Examples.Pricing.Location                                            100%
  PatternKit.Examples.Pricing.LoyaltyMembership                                   100%
  PatternKit.Examples.Pricing.NickelCashOnlyRule                                  100%
  PatternKit.Examples.Pricing.PercentLoyaltyRule                                  100%
  PatternKit.Examples.Pricing.PricingContext                                      100%
  PatternKit.Examples.Pricing.PricingDemo                                        56.7%
  PatternKit.Examples.Pricing.PricingPipeline                                     100%
  PatternKit.Examples.Pricing.PricingPipelineBuilder                              100%
  PatternKit.Examples.Pricing.PricingResult                                       100%
  PatternKit.Examples.Pricing.RegionCategoryTaxPolicy                             100%
  PatternKit.Examples.Pricing.Sku                                                85.7%
  PatternKit.Examples.Pricing.SourceRouter                                       92.3%
  PatternKit.Examples.ProxyDemo.ProxyDemo                                        94.5%
  PatternKit.Examples.Singleton.DeviceRegistry                                    100%
  PatternKit.Examples.Singleton.PosAppState                                       100%
  PatternKit.Examples.Singleton.PosAppStateDemo                                   100%
  PatternKit.Examples.Singleton.PricingCache                                      100%
  PatternKit.Examples.Singleton.StoreConfig                                       100%
  PatternKit.Examples.StateDemo.OrderStateDemo                                    100%
  PatternKit.Examples.Strategies.Coercion.Coercer<T>                             83.3%
  PatternKit.Examples.Strategies.Coercion.CoercerExtensions                       100%
  PatternKit.Examples.Strategies.Composed.ChannelPolicy                           100%
  PatternKit.Examples.Strategies.Composed.ChannelPolicyFactory                    100%
  PatternKit.Examples.Strategies.Composed.ComposedStrategies                     94.2%
  PatternKit.Examples.Strategies.Composed.SendContext                             100%
  PatternKit.Examples.Strategies.Composed.SendResult                              100%
  PatternKit.Examples.TemplateDemo.AsyncDataPipeline                                0%
  PatternKit.Examples.TemplateDemo.DataProcessor                                    0%
  PatternKit.Examples.TemplateDemo.TemplateAsyncFluentDemo                          0%
  PatternKit.Examples.TemplateDemo.TemplateFluentDemo                               0%
  PatternKit.Examples.TemplateDemo.TemplateMethodDemo                               0%
  PatternKit.Examples.VisitorDemo.Card                                              0%
  PatternKit.Examples.VisitorDemo.Cash                                              0%
  PatternKit.Examples.VisitorDemo.CountersHandler                                   0%
  PatternKit.Examples.VisitorDemo.Demo                                              0%
  PatternKit.Examples.VisitorDemo.GiftCard                                          0%
  PatternKit.Examples.VisitorDemo.ReceiptRendering                                  0%
  PatternKit.Examples.VisitorDemo.Routing                                           0%
  PatternKit.Examples.VisitorDemo.StoreCredit                                       0%
  PatternKit.Examples.VisitorDemo.Tender                                            0%
  PatternKit.Examples.VisitorDemo.Unknown                                           0%

PatternKit.Generators                                                            88.2%
  PatternKit.Generators.GenerateStrategyAttribute                                   0%
  PatternKit.Generators.StrategyGenerator                                        93.9%

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Nov 18, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.12%. Comparing base (2278f0b) to head (e37b76f).
⚠️ Report is 79 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #58      +/-   ##
==========================================
+ Coverage   75.93%   83.12%   +7.18%     
==========================================
  Files          77       77              
  Lines        5261     5261              
  Branches      819      819              
==========================================
+ Hits         3995     4373     +378     
+ Misses        991      888     -103     
+ Partials      275        0     -275     
Flag Coverage Δ
unittests 83.12% <ø> (+7.18%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@JerrettDavis JerrettDavis merged commit 59064ec into main Nov 18, 2025
10 checks passed
@JerrettDavis JerrettDavis deleted the feature/update-to-dotnet10 branch November 18, 2025 05:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants