Repository navigation
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Coverage Report for CI Build 44625771839Coverage decreased (-0.3%) to 80.938%Details
Uncovered Changes
Coverage RegressionsNo coverage regressions found. Coverage Stats
💛 - Coveralls |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1cc1633e14
ℹ️ 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".
| - name: Pack | ||
| run: | | ||
| set -e | ||
| for p in Common MySQL Oracle PostgreSQL SqlServer Sqlite; do |
There was a problem hiding this comment.
Include the Devart packages in both publishing workflows
When these release workflows run, neither Devart package is published: this loop omits MySQL.Devart, as does the loop in .github/workflows/publish-classifier.yml. The package-count checks also accept those omissions, so releases can succeed without making the retained EF Core 11 Devart support available to NuGet consumers. Add MySQL.Devart to both packing lists and update their expected package counts.
AGENTS.md reference: AGENTS.md:L52-L54
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Not changed. These two workflows publish to nuget.org under the upstream package IDs, which belong to the upstream maintainer, and this fork has no NuGet credentials for them. The fork's Devart packages are not on nuget.org: they are published to the aviationexam Azure DevOps feed, outside these workflows. Adding Devart to the packing lists would not make the packages available to anyone.
1cc1633 to
fa2db2c
Compare
DbExceptionClassifier.MySQL.Devart and EntityFrameworkCore.Exceptions.MySQL.Devart support the Devart dotConnect for MySQL driver (Devart.Data.MySql) and its EF Core provider. Like the MySqlConnector classifier, they link the shared MySQL sources and select the Devart branches with the DEVART define. Devart exposes the server error number as MySqlException.Code, so the classifier maps it to its own MySqlErrorCode enum.
MySqlServerDevartTests runs the shared DatabaseTests through Devart.Data.MySql.EFCore against a MariaDB container. The license key comes from the DEVART_LICENSE environment variable. The shared tests treat Devart like MySQL: raw SQL without quoted identifiers, no constraint details for primary keys named PRIMARY, and no CreateTables call for the same-name indexes context.
Devart needs a license to connect. Without DEVART_LICENSE the tests call Assert.Skip, which xUnit v3 provides, and the fixture does not start the MariaDB container.
With a DEVART_LICENSE repository secret the Build workflow runs the Devart tests; without it they skip.
f232120 to
efc978e
Compare
|
Closing: upstream main now has UseExceptionProcessor(IDbExceptionClassifier) in EntityFrameworkCore.Exceptions.Common, which gives the same behavior with a small Devart classifier written by the consumer (all 22 Devart tests pass that way). SharedCore will switch to it when it moves to EF Core 11 and upstream releases 11.0.0. The branch stays for reference. |
Summary
Adds the Devart MySQL support from #2 on top of the current upstream
main(EF Core 11, xUnit v3 from Giorgi#106).main. The classifier and the EF Core package keep their names and namespaces (DbExceptionClassifier.MySQL.Devart,EntityFramework.Exceptions.MySQL.Devart), soUseExceptionProcessor()works as before.DEVART_LICENSEis set, and are skipped with xUnit v3'sAssert.Skipwhen it is not. Without a license the MariaDB container does not start. The Build workflow passes aDEVART_LICENSErepository secret to the tests.PRIMARY.DEVARTdefine instead of replacing all defines in AnyCPU builds.