Skip to content

ci: run the MySQL suites against Dolt - #315

Draft
roxblnfk wants to merge 2 commits into
2.xfrom
ci/dolt
Draft

roxblnfk wants to merge 2 commits into
2.xfrom
ci/dolt

Conversation

@roxblnfk

Copy link
Copy Markdown
Member

🔍 What was changed

  • New dolt workflow: fetches the dolt binary with dload, starts dolt sql-server on the MySQL test port and runs composer test:mysql with the existing MySQL driver.
  • Adds internal/dload to dev dependencies (same commit as in the Doltgres and DoltLite PRs).

Review notes

  • dolt sql-server config files no longer accept user/password; the root account reachable over TCP comes from DOLT_ROOT_HOST=% and DOLT_ROOT_PASSWORD.

Checklist

  • Part of Try dolt #313
  • How was this tested:
    • Same setup locally (Windows binary, Dolt 2.7.7): 738 of 855 MySQL tests pass, 88 failed and 29 errors are Dolt incompatibilities
    • CI run on this PR

CI jobs fetch database server binaries (Dolt, Doltgres, DoltLite) from GitHub releases with it.

Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
Dolt speaks the MySQL protocol, so the MySQL driver and suites run against a dolt sql-server binary fetched by dload, without Docker.

Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
@psalm-shepherd

Copy link
Copy Markdown

Psalm found errors in other files

src/Driver/Postgres/Injection/CompileJsonContainsKey.php:25:14 - filter_var is part of the ext-filter extension, which composer.json doesn't require: add it to require, or to suggest if the code works without it
src/Driver/Postgres/Injection/PostgresJsonExpression.php:68:16 - filter_var is part of the ext-filter extension, which composer.json doesn't require: add it to require, or to suggest if the code works without it
src/Driver/Postgres/Injection/PostgresJsonExpression.php:89:29 - filter_var is part of the ext-filter extension, which composer.json doesn't require: add it to require, or to suggest if the code works without it
src/Schema/AbstractColumn.php:786:53 - Argument 1 of DateTimeImmutable::setTimestamp expects int, but possibly different type int|numeric-string provided
src/Driver/Postgres/Schema/PostgresTable.php:0:0 - Baseline for issue "LessSpecificImplementedReturnType" has 1 extra entry.
src/Schema/AbstractColumn.php:0:0 - Baseline for issue "InvalidArgument" has 1 extra entry.

@codecov

codecov Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.59%. Comparing base (9b1699d) to head (209019e).

Additional details and impacted files
@@            Coverage Diff             @@
##              2.x     #315      +/-   ##
==========================================
+ Coverage   94.56%   98.59%   +4.02%     
==========================================
  Files         143      143              
  Lines        5260     5045     -215     
==========================================
  Hits         4974     4974              
+ Misses        286       71     -215     
Flag Coverage Δ
mysql 55.25% <ø> (+2.72%) ⬆️
postgres 61.99% <ø> (+2.56%) ⬆️
sqlite 53.24% <ø> (+2.78%) ⬆️
sqlserver 55.36% <ø> (+1.74%) ⬆️
unit 56.89% <ø> (+0.82%) ⬆️

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

☔ View full report in Codecov by Harness.
📢 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.

@roxblnfk roxblnfk mentioned this pull request Nov 25, 2026
1 of 21 tasks
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.

2 participants