Repository navigation
Conversation
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❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 2.x #317 +/- ##
==========================================
+ Coverage 94.56% 98.57% +4.01%
==========================================
Files 143 143
Lines 5260 5046 -214
==========================================
Hits 4974 4974
+ Misses 286 72 -214
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:
|
Open
5 of 21 tasks
|
Psalm also found errors in other files |
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>
…atted The values of an enum's CHECK constraint come from sqlite_master.sql, and the parser expected the exact text Cycle writes: one column per line and `IN (` with a space. Tables created by other tools, and SQLite builds that store a canonical CREATE text (DoltLite), lost their enum values, and values containing a comma were split. The constraint is now searched in the whole definition with any spacing, and the values are read as SQL string literals. Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Psalm found errors in other files |
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).IN (with a space), so enums lost their values on tables created by other tools and on DoltLite, which stores a canonicalCREATEtext (sqlite_master is a projection of the prolly catalog, not a stored table dolthub/doltlite#1852); values containing a comma were split.Review notes
pdo_sqliteneedssqlite3_column_table_name, which DoltLite exports since 0.51.17 (libdoltlite release builds lack SQLITE_ENABLE_COLUMN_METADATA, so PHP's pdo_sqlite cannot load against them dolthub/doltlite#5476); before thatphp_pdo_sqlite.dlldid not load on Windows 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
EnumIntrospectionTestfor SQLite: fails on the old parser, passes with the fixlibsqlite3.dll) and on stock SQLite: all 742 SQLite tests pass; Unit suite passes