Skip to content

get back on dolt main as a dependency - #69

Merged
macneale4 merged 3 commits into
mainfrom
macneale4-claude/dolt-HEAD
Aug 20, 2026
Merged

get back on dolt main as a dependency#69
macneale4 merged 3 commits into
mainfrom
macneale4-claude/dolt-HEAD

Conversation

@macneale4

Copy link
Copy Markdown
Collaborator

No description provided.

macneale4 and others added 3 commits August 19, 2026 21:49
TEMPORARY DEPENDENCY: go.mod pins dolt to the dev branch
macneale4-claude/dolt-HEAD, not dolt main. Repin to a main pseudo-version
once the dsess commit merges.

DumboDB pinned a 14-commit dolt fork whose bulk was an effort to decouple
dsess from the SQL engine so it would not pull in go-mysql-server and ICU.
That goal is dropped: this module builds its databases with sqle.NewDatabase
and depends on go-icu-collation directly, so the decoupling bought nothing.
Only two of the fourteen commits added API this module calls, and both are
now upstream as additive changes.

Reverted to the upstream package layout: doltcore/sqle/dsess rather than the
fork's doltcore/dsess, and dsess.SqlDatabase rather than the fork's
dsess.VersionedDatabase. sqle.Database already satisfies SqlDatabase, so the
provider is unchanged in behavior.

Caught up with main, which had moved 557 commits past the fork point:
  - NewPendingCommit takes amendedCommit hash.Hash, not amend bool. The
    empty hash is the not-an-amend case (datas: AmendedCommit.IsEmpty).
  - chunks.ChunkStore.Count takes a context.
  - val.ValueStore gained CompareAdaptive and CompareAdaptiveCollatedStrings;
    the countingValueStore test fake panics on both, mirroring
    val.TestValueStore, since that test never orders values.
  - valDesc can no longer be a package-level singleton. Comparing an
    adaptive-encoded field now dispatches through the descriptor's
    ValueStore, and one built without a store nil-derefs on the first
    compare. Replaced with valDescFor(ns), matching dolt's own
    Schema.GetValueDescriptor(vs) shape.

go test ./... passes with -p 1. The parallel form still hits a pre-existing
harness race on the shared .runtime/bin/dolt path, tracked separately.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The session hands back (database, branch) as a pair now, so the call sites
stop joining and re-splitting revision-qualified names.

database.go and session_reads.go each replace a join, a lowercase and an
O(n) scan with one IsBranchDirty call. helpers.go drops the
SplitRevisionDbName round-trip and reads the fields directly.
commit_session_isolation.go compares the pair instead of folding case on a
joined string.

Repins dolt to ddd24461672a, still the macneale4-claude/dolt-HEAD dev
branch and still temporary.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The dsess commits merged as dolt#11576, so the dev-branch pin and its
TEMPORARY note are no longer needed.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@macneale4
macneale4 merged commit a634fd7 into main Aug 20, 2026
3 checks passed
@macneale4
macneale4 deleted the macneale4-claude/dolt-HEAD branch August 20, 2026 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant