Skip to content

ci: run the Postgres suites against Doltgres - #316

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

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

Conversation

@roxblnfk

Copy link
Copy Markdown
Member

🔍 What was changed

  • New doltgres workflow: fetches the doltgres binary with dload, starts it on the Postgres test port and runs composer test:postgres with the existing Postgres driver.
  • Adds internal/dload to dev dependencies (same commit as in the Dolt and DoltLite PRs).

Review notes

  • Doltgres ignores the user section of its config and keeps postgres / password, so the job overrides DB_POSTGRES_PASSWORD instead.

Checklist

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

Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
Doltgres speaks the Postgres protocol, so the Postgres driver and suites run against a doltgres 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 (44f1fbb).

Additional details and impacted files
@@            Coverage Diff             @@
##              2.x     #316      +/-   ##
==========================================
+ Coverage   94.56%   98.59%   +4.03%     
==========================================
  Files         143      143              
  Lines        5260     5047     -213     
==========================================
+ Hits         4974     4976       +2     
+ 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.91% <ø> (+0.84%) ⬆️

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