Repository navigation
Conversation
CI jobs fetch database server binaries (Dolt, Doltgres, DoltLite) from GitHub releases with it. Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
DoltLite is a SQLite fork with the sqlite3_* API, so pdo_sqlite runs on it once the library is preloaded. The preload has no effect on setup-php builds, so the suites run in the official php image. dload.xml describes DoltLite, since dload does not know it. Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
roxblnfk
force-pushed
the
ci/doltlite
branch
from
November 25, 2026 19:32
deee7df to
8caf5d7
Compare
|
Psalm found errors in other files |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 2.x #317 +/- ##
==========================================
+ Coverage 94.56% 98.59% +4.02%
==========================================
Files 143 143
Lines 5260 5045 -215
==========================================
Hits 4974 4974
+ Misses 286 71 -215
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔍 What was changed
doltliteworkflow: fetcheslibdoltlite.sowith dload and runs the SQLite suites in the officialphpimage with the library preloaded (LD_PRELOAD), sopdo_sqliteruns on DoltLite instead of libsqlite3; a first step checksdolt_version(). The preload has no effect on setup-php builds.dload.xmldescribes DoltLite, which dload does not know.internal/dloadto dev dependencies (same commit as in the Dolt and Doltgres PRs).Review notes
sqlite3_column_table_name(noSQLITE_ENABLE_COLUMN_METADATA), which PHP's sqlite extensions import. On Linux the preload still works because the symbol resolves from the system libsqlite3, butPDOStatement::getColumnMeta()would then mix two SQLite builds; cycle/database never calls it. On Windowsphp_pdo_sqlite.dllrefuses to load with the DLL swapped in.dload getignoresextract-pathof<download>actions (dload getignoresextract-pathof<download>actions php-internal/dload#176), so the job passes--path. On Windows dload picks the Linux asset, sincewin-x64is not read as Windows (Windows assets namedwin-x64are not selected (winis not an OS token) php-internal/dload#177).Checklist
php:8.4-cli(DoltLite 0.51.16): 675 of 737 SQLite tests pass, 62 fail; the same container without the preload passes all