fix(schema): replace compaction_snapshots' descending index with an ascending twin (0071)
Review fixes for #7646, iterations 1, 2 and 3. This replaces the
unpushed iteration-1 commit 89f67d6bbe. The nine contributor commits are
rebased onto main at ce70b261c5, and the migration moves from 0070 to
0071 because #6943 landed its participation_generation migration at 0070
first. With two 0070s, the schema test package does not compile, the
hygiene check fails, and every bd command that opens a store panics with
"schema: duplicate migration version 70".
The Dolt 2.4.1 driver stores the created_at DESC that migration 0010
declares on idx_comp_snap_issue as descending (dolthub/dolt#11746), so
every database it creates was unreadable by Dolt older than 2.3.3:
released bd (v1.3.x links driver v2.2.0) failed on open with "table has
unknown fields", which BD_IGNORE_SCHEMA_SKEW=1 does not get past.
Migration 0071 adds idx_comp_snap_issue_asc (issue_id,
compaction_level, created_at) and then drops idx_comp_snap_issue, each
step guarded on INFORMATION_SCHEMA.STATISTICS the way 0042 is.
fk_comp_snap_issue keeps ON DELETE/ON UPDATE CASCADE. The descending
order never served a query.
Measured 2026-10-18 on a database bd init built from this tree
(schema_migrations at 71, participation_generation present, no
descending column at the root): dolt 2.1.8 and 2.2.0 read, write, push,
clone and pull it, and the installed v1.3.0 bd (driver v2.2.0) stops at
its structured "database is at v71, binary knows up to v69" refusal,
which BD_IGNORE_SCHEMA_SKEW=1 gets past. With 0071 reverted,
information_schema queries and writes fail with "table has unknown
fields" (push and clone still copy the chunks), on 2.1.8 an UPDATE or
DELETE on issues reports a fk_comp_snap_issue violation, 2.2.0's pull
fails, and the v1.3.0 bd fails with the engine error that
BD_IGNORE_SCHEMA_SKEW=1 does not get past.
History keeps the descending column: bd init commits each migration
separately, so the commits from before 0071 still hold it. On 2.1.8 and
2.2.0, reading compaction_snapshots at one of them (AS OF,
dolt_history_compaction_snapshots, dolt_diff_compaction_snapshots)
fails, and so does any dolt diff with one as an endpoint, even a diff
limited to issues. issues AS OF, dolt_history_issues and
dolt_diff_issues work. The up.sql header, the CHANGELOG and
docs/architecture/dolt.md say so.
Migrations take slots in landing order, and versions must stay
gap-free (TestAllMigrationsSQLAppliesThroughDoltCLIAndRecordsLatestVersion).
#6661 also numbers a migration 0071; whichever lands second renumbers.
Tests: TestLatestVersionIncludesMigration0071 is the slot pin, and
main's TestLatestVersionIncludesMigration0070 is deleted, as each
earlier pin was when the next migration landed. A pure-Go test checks
the frozen text and the down file, and a dolt CLI test checks the
bundle leaves no descending column. An embedded test covers the upgrade
from v69 through 0070 and 0071, a replay, the foreign key's cascade,
resume after the add, a store without the table, and a fresh store.
cli_prepared_ddl.go's inventory justifies the prepared ADD/DROP INDEX,
measured to execute through the CLI batch path on 2.1.8 and 2.4.1.
The example modules replace github.com/steveyegge/beads with the repo
root, so they have to follow its dependency bump. On the iteration-2
head 72f5a6794e, scripts/build-examples.sh failed both with "updates
to go.mod needed". go mod tidy in examples/library-usage and
examples/bd-example-extension-go moves them to the root's versions
(driver v2.4.1, dolthub/file-locks v0.1.2 and the go-deps group).
Every requirement they share with the root go.mod now matches it
except golang.org/x/exp, which both already pinned to a newer version
on main. The script now prints "2 example module(s) type-check
cleanly".
Minor and nit findings:
- The proxied-server old-version warning scopes each reason to the
releases it covers, without naming a schema version: the
CALL DOLT_RESET('--hard') regression measured on 2.3.0 and 2.3.1
(2.3.2 through 2.4.0 unmeasured, 2.4.1 measured clean), the join
mis-plan before 2.4.0, and "table has unknown fields" before 2.3.3.
A 2.4.0 user now reads why 2.4.1 is still recommended.
TestWarningMessage pins all three; dropping the DOLT_RESET clause
fails it.
- scripts/ci/install-dolt.sh no longer says 2.4.1-engine storage is
unwritable by 2.2.0. It names the join bug and the split between the
current root, which 2.1.8 and 2.2.0 read and write, and the commits
from before 0071.
- scripts/test-git-remote.sh keeps its dolt >= 2.2.0 floor, backed by
a 2.2.0 run of its write, push, clone and pull steps.
- The dated cross-version measurements live in docs/architecture/dolt.md;
policy.go and troubleshooting.md point there.
- The CHANGELOG scopes the fk_comp_snap_issue violation to 2.1.8.
- The localdoltserver port comment covers 2.4.1 as well as 2.2.0; both
print "Port N already in use." on a held port (measured).
- TestEmbeddedFirstMintOnEmptyHistoryIsRevisionOne pins that revisions
count per issue.
- docs/architecture/dolt.md says 2.4.1 is the only release after 2.3.1
measured for the DOLT_RESET regression and that 2.3.2, 2.3.3 and
2.4.0 have not been. It had said no release after 2.3.1 was, right
under the 2.4.1 0 / 250 row.
- cli_migrations.go puts the parity oracle's green run against the
then-pinned 2.2.0 sql-server in the past tense. Probed 2026-10-18, a
prepared ADD COLUMN vanishes on the 2.2.0 CLI and lands on 2.4.1, so
on the 2.4.1 pin the oracle cannot catch a dropped override; the
comment names the two binary-free tests that still can.
Agent-Signature: claude-code-claude-opus-5-5-unknown-reasoning on behalf of Julian Knutsen
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
991c23bb66
commit
2068dbee97
23 changed files with 824 additions and 251 deletions
|
|
@ -572,6 +572,7 @@
|
|||
40 39 TestEmbeddedDependencyEditorMixedBatchRefusalRollsBackBothPlanes
|
||||
40 39 TestEmbeddedIssueOperationsClaimLeavesBlockedStateAlone
|
||||
40 39 TestEmbeddedMigrateRepairedDependenciesIDColumnCommitsAtomicallyWithVersion53_4690
|
||||
40 39 TestEmbeddedMigration0071ReplacesDescendingCompactionSnapshotsIndex
|
||||
40 39 TestEmbeddedReaderListSkipCountsDropsTheCardinalitiesAndNothingElse
|
||||
40 39 TestEmbeddedRelationsResolvesAWispAnchor
|
||||
40 39 TestParticipationGenerationFence
|
||||
|
|
|
|||
53
CHANGELOG.md
53
CHANGELOG.md
|
|
@ -535,31 +535,40 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
transport, so a write makes one handshake. `bd list` reads its vocabulary
|
||||
with one `listSettings`, and the hook decorator skips its post-write re-reads
|
||||
when no hook for the event is installed.
|
||||
- **Embedded mode now runs Dolt 2.4.1 (`dolthub/driver` v2.4.1), so a
|
||||
database `bd init` creates can no longer be opened by Dolt older than
|
||||
- **Embedded mode now runs Dolt 2.4.1 (`dolthub/driver` v2.4.1), and
|
||||
migration 0071 keeps the databases it creates open to Dolt older than
|
||||
2.3.3.** Dolt 2.3.3 and later store a descending index column as
|
||||
descending (dolthub/dolt#11746), where earlier releases silently stored it
|
||||
ascending, and migration 0010 declares `compaction_snapshots`'
|
||||
`idx_comp_snap_issue` with `created_at DESC`. Dolt older than 2.3.3
|
||||
answers `table has unknown fields` for a database holding such a table:
|
||||
writes to any table and `information_schema` queries fail, so an earlier
|
||||
`bd` release, or a `bd` built against an older driver, cannot open the
|
||||
workspace. This applies to every database created in embedded mode from
|
||||
this release on, and to any database whose schema a `dolt sql-server`
|
||||
2.3.3 or newer created, whatever the `bd` version. A database created
|
||||
earlier keeps its ascending index and stays readable and writable by older
|
||||
and newer Dolt alike, even after this release writes to it. Every `bd` that
|
||||
touches a new database must be this release or later. The recommended
|
||||
`dolt` CLI and `dolt sql-server` version is now 2.4.1 or later, the
|
||||
release CI pins, measured free of the `DOLT_RESET('--hard')` defect
|
||||
described in docs/architecture/dolt.md. Dolt 2.3.3 through 2.4.0 can open
|
||||
such a database, but releases before 2.4.0 also drop a join condition
|
||||
when an `ON` clause has an `OR` over indexed columns (dolthub/dolt#11886,
|
||||
the cause of #7037). Managed proxied-server mode now
|
||||
recommends dolt 2.4.1 or newer and warns below it; it is still a warning,
|
||||
not a refusal. Dolt 2.3.3 and later also report a stricter default
|
||||
`sql_mode` than 2.2.0, adding `NO_ZERO_IN_DATE`, `NO_ZERO_DATE` and
|
||||
`ERROR_FOR_DIVISION_BY_ZERO`, in embedded mode and on those servers.
|
||||
`idx_comp_snap_issue` with `created_at DESC`. Dolt older than 2.3.3 cannot
|
||||
read a table holding such an index: writes to any table and
|
||||
`information_schema` queries fail with `table has unknown fields`, on 2.1.8
|
||||
an `UPDATE` or `DELETE` on `issues` reports a `fk_comp_snap_issue` violation,
|
||||
and a `bd` that links an older Dolt fails to open the workspace with
|
||||
`schema skew check: probing schema_migrations existence: Error 1105: table
|
||||
has unknown fields`, which `BD_IGNORE_SCHEMA_SKEW=1` does not get past. The
|
||||
descending order never served a query, so migration 0071 replaces the
|
||||
index with `idx_comp_snap_issue_asc` (`issue_id`, `compaction_level`,
|
||||
`created_at`, all ascending) on every database, including one whose schema
|
||||
a `dolt sql-server` 2.3.3 or newer created. At schema version 71, Dolt
|
||||
2.1.8 and 2.2.0 read, write, push and clone the database, and a v69 `bd`
|
||||
on the Dolt 2.2.0 driver stops at its ordinary schema-version refusal
|
||||
instead, which `BD_IGNORE_SCHEMA_SKEW=1` gets past (measured 2026-10-18).
|
||||
One gap remains: `bd init` commits each migration separately, so on a
|
||||
database created by Dolt 2.3.3 or later the commits from before 0071 still
|
||||
hold the descending index. On older Dolt, reading `compaction_snapshots` at
|
||||
one of them (`AS OF`, `dolt_history_compaction_snapshots`,
|
||||
`dolt_diff_compaction_snapshots`) fails, and so does any `dolt diff` with
|
||||
one as an endpoint. The recommended `dolt` CLI and `dolt sql-server`
|
||||
version is now 2.4.1 or later, the release CI pins, measured free of the
|
||||
`DOLT_RESET('--hard')` defect described in docs/architecture/dolt.md.
|
||||
Releases before 2.4.0 also drop a join condition when an `ON` clause has an
|
||||
`OR` over indexed columns (dolthub/dolt#11886, the cause of #7037). Managed
|
||||
proxied-server mode now recommends dolt 2.4.1 or newer and warns below it;
|
||||
it is still a warning, not a refusal. Dolt 2.3.3 and later also report a
|
||||
stricter default `sql_mode` than 2.2.0, adding `NO_ZERO_IN_DATE`,
|
||||
`NO_ZERO_DATE` and `ERROR_FOR_DIVISION_BY_ZERO`, in embedded mode and on
|
||||
those servers.
|
||||
- **`created_by` defaults to the actor in the library, for every create
|
||||
shape and every backend.** `PreparePublicCreateRequest`, which
|
||||
`Lifecycle.Create`, `BatchCreator` items and batch-apply create items all
|
||||
|
|
|
|||
|
|
@ -51,11 +51,29 @@ the criterion for raising it; raise the pin here and in that script together.
|
|||
This pin is about the standalone `dolt` CLI, which only server and
|
||||
proxied-server mode use. Embedded mode is unaffected either way: it links the
|
||||
Dolt engine into `bd` through the v2.4.1 driver in `go.mod`, no matter which
|
||||
`dolt` CLI is on your PATH. Server and proxied-server mode do care: storage the
|
||||
v2.4.1 engine writes is not writable by dolt older than 2.3.3, the first
|
||||
release that stores descending index columns (dolthub/dolt#11746; a plain
|
||||
`INSERT` fails with `table has unknown fields`), so the CLI pin tracks the
|
||||
driver.
|
||||
`dolt` CLI is on your PATH. The CLI pin tracks that driver, so every mode runs
|
||||
the same engine.
|
||||
|
||||
Dolt 2.3.3 is the first release that stores a descending index column as
|
||||
descending (dolthub/dolt#11746), and older releases cannot read a table that
|
||||
holds one: even a plain `INSERT` fails with `table has unknown fields`. The
|
||||
beads schema declared one such column until schema version 71, which replaces
|
||||
it with an ascending index. Measured against databases the v2.4.1 engine
|
||||
created before version 71: on 2026-10-10, dolt 2.2.0 and 2.3.1 failed that
|
||||
`INSERT` and 2.4.1 succeeded; on 2026-10-17, 2.2.0 and 2.3.2 failed and 2.3.3,
|
||||
2.4.0 and 2.4.1 succeeded. On 2026-10-18, dolt 2.1.8 and 2.2.0 read, wrote,
|
||||
pushed, cloned and pulled a database `bd init` had migrated to version 71.
|
||||
|
||||
History is the exception. `bd init` commits each schema migration separately,
|
||||
so on a database a Dolt 2.3.3 or newer engine created, embedded mode
|
||||
included, the commits from before version 71 still hold the descending
|
||||
column. Dolt older than 2.3.3 fails to read `compaction_snapshots` at those
|
||||
commits (an `AS OF` query, `dolt_history_compaction_snapshots`,
|
||||
`dolt_diff_compaction_snapshots`) and fails any `dolt diff` with one of them
|
||||
as an endpoint, even a diff of another table. Other tables' `AS OF` and
|
||||
`dolt_history_` reads work. Dolt before 2.4.0 also has a join bug that
|
||||
returns wrong results (dolthub/dolt#11886). Both are reasons to install the
|
||||
pin rather than an older release.
|
||||
|
||||
Dolt 2.3.0 (released 2026-08-13) regressed `CALL DOLT_RESET('--hard')`. A few
|
||||
percent of freshly created databases come up with that procedure unusable —
|
||||
|
|
@ -77,9 +95,10 @@ Measured by creating fresh databases and immediately calling the procedure:
|
|||
|
||||
The 2026-10-10 runs re-measured 2.3.1 as a positive control, confirming the
|
||||
method still reproduces the regression; the embedded engine through the
|
||||
v2.4.1 driver measured 0 / 60. No other release after 2.3.1 has been
|
||||
measured here. Raise the pin only once a newer release is confirmed clean by
|
||||
that same measurement — not because it is newer.
|
||||
v2.4.1 driver measured 0 / 60. 2.4.1 is the only release after 2.3.1
|
||||
measured this way; 2.3.2, 2.3.3 and 2.4.0 have not been. Raise the pin only
|
||||
once a newer release is confirmed clean by that same measurement — not
|
||||
because it is newer.
|
||||
|
||||
Pin rather than track `latest` for a second, independent reason: the upstream
|
||||
`releases/latest` URL resolves to the most recently *created* release, not the
|
||||
|
|
|
|||
|
|
@ -396,14 +396,14 @@ clone-local sidecar setting will slot between the two when the sidecar
|
|||
reader lands in contract part 2). On
|
||||
startup it probes that binary with `dolt version` and recommends
|
||||
**dolt >= 2.4.1**, matching the Dolt engine `bd` links (the v2.4.1 driver).
|
||||
Storage that engine writes is not writable by dolt older than 2.3.3, the
|
||||
first release that stores descending index columns (dolthub/dolt#11746):
|
||||
measured 2026-10-17, dolt 2.2.0 and 2.3.2 fail a plain `INSERT` into a
|
||||
database `bd init` created with `table has unknown fields`, while 2.3.3,
|
||||
2.4.0 and 2.4.1 succeed. Dolt before 2.4.0 also has a join bug that returns
|
||||
wrong results (dolthub/dolt#11886). (Earlier, the 2026-07-25 cross-version
|
||||
matrix had found that dolt < 2.0.0 cannot even *read* storage the module
|
||||
wrote.)
|
||||
Older releases have two known problems. Dolt before 2.4.0 has a join bug that
|
||||
returns wrong results (dolthub/dolt#11886). Dolt before 2.3.3 fails with
|
||||
`table has unknown fields` on a descending index column (dolthub/dolt#11746),
|
||||
which a database created by Dolt 2.3.3 or newer holds until `bd` migrates it
|
||||
to schema version 71, and keeps in its history from before that.
|
||||
[Which Dolt version to install](/architecture/dolt#which-dolt-version-to-install)
|
||||
records the dated measurements. (Earlier, the 2026-07-25 cross-version matrix
|
||||
had found that dolt < 2.0.0 cannot even *read* storage the module wrote.)
|
||||
|
||||
This is a warning, not a hard failure — there is deliberately no hard
|
||||
version floor, so an older dolt can still be used at your own risk. To
|
||||
|
|
|
|||
|
|
@ -58,17 +58,17 @@ require (
|
|||
github.com/cockroachdb/apd/v3 v3.2.3 // indirect
|
||||
github.com/denisbrodbeck/machineid v1.0.1 // indirect
|
||||
github.com/dolthub/aws-sdk-go-ini-parser v0.0.0-20250305001723-2821c37f6c12 // indirect
|
||||
github.com/dolthub/dolt/go v0.40.5-0.20260806213044-796d07497741 // indirect
|
||||
github.com/dolthub/driver/v2 v2.2.0 // indirect
|
||||
github.com/dolthub/dolt/go v0.40.5-0.20261002233748-c6af56fead88 // indirect
|
||||
github.com/dolthub/driver/v2 v2.4.1 // indirect
|
||||
github.com/dolthub/eventsapi_schema v0.0.0-20260715220557-d9b4a1c6b4d4 // indirect
|
||||
github.com/dolthub/file-locks v0.1.2 // indirect
|
||||
github.com/dolthub/flatbuffers/v23 v23.3.3-dh.2 // indirect
|
||||
github.com/dolthub/fslock v0.0.5 // indirect
|
||||
github.com/dolthub/go-icu-regex v0.0.0-20260610153742-72563bc7ca83 // indirect
|
||||
github.com/dolthub/go-mysql-server v0.20.1-0.20260805191915-e5eafe0da809 // indirect
|
||||
github.com/dolthub/go-mysql-server v0.20.1-0.20261001232740-19405eb6f203 // indirect
|
||||
github.com/dolthub/gozstd v0.0.0-20240423170813-23a2903bca63 // indirect
|
||||
github.com/dolthub/ishell v0.0.0-20260414231531-5f031e3e9037 // indirect
|
||||
github.com/dolthub/jsonpath v0.0.2-0.20240227200619-19675ab05c71 // indirect
|
||||
github.com/dolthub/vitess v0.0.0-20260728212736-0542037326d7 // indirect
|
||||
github.com/dolthub/jsonpath v0.0.2-0.20260807003725-336cd89c1c76 // indirect
|
||||
github.com/dolthub/vitess v0.0.0-20260930232419-a6b7b0c65d17 // indirect
|
||||
github.com/dustin/go-humanize v1.0.1 // indirect
|
||||
github.com/edsrzf/mmap-go v1.2.0 // indirect
|
||||
github.com/envoyproxy/go-control-plane/envoy v1.37.0 // indirect
|
||||
|
|
@ -83,7 +83,6 @@ require (
|
|||
github.com/go-logr/stdr v1.2.2 // indirect
|
||||
github.com/go-sql-driver/mysql v1.10.1 // indirect
|
||||
github.com/go-viper/mapstructure/v2 v2.5.0 // indirect
|
||||
github.com/goccy/go-json v0.10.5 // indirect
|
||||
github.com/gocraft/dbr/v2 v2.7.6 // indirect
|
||||
github.com/gofrs/flock v0.8.1 // indirect
|
||||
github.com/golang-jwt/jwt/v5 v5.3.0 // indirect
|
||||
|
|
@ -96,7 +95,7 @@ require (
|
|||
github.com/google/uuid v1.6.0 // indirect
|
||||
github.com/googleapis/enterprise-certificate-proxy v0.3.11 // indirect
|
||||
github.com/googleapis/gax-go/v2 v2.17.0 // indirect
|
||||
github.com/gowebpki/jcs v1.0.1 // indirect
|
||||
github.com/gowebpki/jcs v1.0.2 // indirect
|
||||
github.com/hashicorp/golang-lru v1.0.2 // indirect
|
||||
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
|
||||
github.com/juju/gnuflag v1.0.0 // indirect
|
||||
|
|
@ -107,7 +106,7 @@ require (
|
|||
github.com/lestrrat-go/strftime v1.2.0 // indirect
|
||||
github.com/mattn/go-colorable v0.1.13 // indirect
|
||||
github.com/mattn/go-isatty v0.0.22 // indirect
|
||||
github.com/mattn/go-runewidth v0.0.24 // indirect
|
||||
github.com/mattn/go-runewidth v0.0.28 // indirect
|
||||
github.com/mohae/uvarint v0.0.0-20160208145430-c3f9e62bf2b0 // indirect
|
||||
github.com/olebedev/when v1.1.0 // indirect
|
||||
github.com/oracle/oci-go-sdk/v65 v65.55.0 // indirect
|
||||
|
|
@ -146,31 +145,32 @@ require (
|
|||
go.opentelemetry.io/contrib/detectors/gcp v1.44.0 // indirect
|
||||
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.70.0 // indirect
|
||||
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.70.0 // indirect
|
||||
go.opentelemetry.io/otel v1.46.0 // indirect
|
||||
go.opentelemetry.io/otel/metric v1.46.0 // indirect
|
||||
go.opentelemetry.io/otel/sdk v1.46.0 // indirect
|
||||
go.opentelemetry.io/otel/sdk/metric v1.46.0 // indirect
|
||||
go.opentelemetry.io/otel/trace v1.46.0 // indirect
|
||||
go.opentelemetry.io/otel v1.47.0 // indirect
|
||||
go.opentelemetry.io/otel/log v1.47.0 // indirect
|
||||
go.opentelemetry.io/otel/metric v1.47.0 // indirect
|
||||
go.opentelemetry.io/otel/sdk v1.47.0 // indirect
|
||||
go.opentelemetry.io/otel/sdk/metric v1.47.0 // indirect
|
||||
go.opentelemetry.io/otel/trace v1.47.0 // indirect
|
||||
go.uber.org/multierr v1.11.0 // indirect
|
||||
go.uber.org/zap v1.27.0 // indirect
|
||||
go.yaml.in/yaml/v3 v3.0.5 // indirect
|
||||
golang.org/x/crypto v0.55.0 // indirect
|
||||
golang.org/x/crypto v0.57.0 // indirect
|
||||
golang.org/x/exp v0.0.0-20250620022241-b7579e27df2b // indirect
|
||||
golang.org/x/mod v0.40.0 // indirect
|
||||
golang.org/x/net v0.58.0 // indirect
|
||||
golang.org/x/mod v0.41.0 // indirect
|
||||
golang.org/x/net v0.59.0 // indirect
|
||||
golang.org/x/oauth2 v0.36.0 // indirect
|
||||
golang.org/x/sync v0.23.0 // indirect
|
||||
golang.org/x/sys v0.48.0 // indirect
|
||||
golang.org/x/sync v0.24.0 // indirect
|
||||
golang.org/x/sys v0.49.0 // indirect
|
||||
golang.org/x/telemetry v0.0.0-20260811182544-a038080d80e5 // indirect
|
||||
golang.org/x/term v0.46.0 // indirect
|
||||
golang.org/x/text v0.41.0 // indirect
|
||||
golang.org/x/term v0.47.0 // indirect
|
||||
golang.org/x/text v0.42.0 // indirect
|
||||
golang.org/x/time v0.14.0 // indirect
|
||||
golang.org/x/tools v0.49.0 // indirect
|
||||
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
|
||||
google.golang.org/api v0.264.0 // indirect
|
||||
google.golang.org/genproto v0.0.0-20260128011058-8636f8732409 // indirect
|
||||
google.golang.org/genproto/googleapis/api v0.0.0-20260819154853-08b0e4226688 // indirect
|
||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20260819154853-08b0e4226688 // indirect
|
||||
google.golang.org/genproto/googleapis/api v0.0.0-20260928230214-8a89bd6388cc // indirect
|
||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20260928230214-8a89bd6388cc // indirect
|
||||
google.golang.org/grpc v1.83.2 // indirect
|
||||
google.golang.org/protobuf v1.36.12 // indirect
|
||||
gopkg.in/go-jose/go-jose.v2 v2.6.3 // indirect
|
||||
|
|
|
|||
|
|
@ -359,28 +359,28 @@ github.com/dolthub/aws-sdk-go-ini-parser v0.0.0-20250305001723-2821c37f6c12 h1:I
|
|||
github.com/dolthub/aws-sdk-go-ini-parser v0.0.0-20250305001723-2821c37f6c12/go.mod h1:rN7X8BHwkjPcfMQQ2QTAq/xM3leUSGLfb+1Js7Y6TVo=
|
||||
github.com/dolthub/dolt-mcp v0.3.4 h1:AyG5cw+fNWXDHXujtQnqUPZrpWtPg6FN6yYtjv1pP44=
|
||||
github.com/dolthub/dolt-mcp v0.3.4/go.mod h1:bCZ7KHvDYs+M0e+ySgmGiNvLhcwsN7bbf5YCyillLrk=
|
||||
github.com/dolthub/dolt/go v0.40.5-0.20260806213044-796d07497741 h1:z+Disx4RJn0dxaYSzcp8pbiXddi3dpIoUJaMtVa/iBE=
|
||||
github.com/dolthub/dolt/go v0.40.5-0.20260806213044-796d07497741/go.mod h1:houDkPceGRjDBdaDsfym5OQUB4465mBUnPvSxMOPrPo=
|
||||
github.com/dolthub/driver/v2 v2.2.0 h1:Qm9BhvvKNmeTDF6kZdDkdLe62CF1W6GrCA3ZDRx/tlk=
|
||||
github.com/dolthub/driver/v2 v2.2.0/go.mod h1:Ngki9vM88/sqin1RKfUt/9Ex8DmoePtHgY7d4+YoolU=
|
||||
github.com/dolthub/dolt/go v0.40.5-0.20261002233748-c6af56fead88 h1:2HfeitrXNFvlCPWog+yMjSeZ4qBWSZOnOaeWI9Ai8QU=
|
||||
github.com/dolthub/dolt/go v0.40.5-0.20261002233748-c6af56fead88/go.mod h1:+DGXtWsZ7EFxHfh7LFKUEVdfj9aDPhR5SnaLZ7dxWQQ=
|
||||
github.com/dolthub/driver/v2 v2.4.1 h1:Wzk1Wd6GVQ3CpBa2OQgGTb1KoldMDfYgu2hVzyVrSJg=
|
||||
github.com/dolthub/driver/v2 v2.4.1/go.mod h1:dWP6ygBQw8JUIG9uvQo1R/vAfeCV9Sg7t9neNx7THyc=
|
||||
github.com/dolthub/eventsapi_schema v0.0.0-20260715220557-d9b4a1c6b4d4 h1:0mg9QEFdkkBwJMxvz1tCjHYmfG2iIC6aShj1InDq9/M=
|
||||
github.com/dolthub/eventsapi_schema v0.0.0-20260715220557-d9b4a1c6b4d4/go.mod h1:SSLraQS/jGLYFgff3vuZ+JbVUct6vyEeMzjLBqWqoyM=
|
||||
github.com/dolthub/file-locks v0.1.2 h1:D0eaII+636hkk7uJu++qaUT/XqDtRTQArWBQ6vEHfJU=
|
||||
github.com/dolthub/file-locks v0.1.2/go.mod h1:8B7bWbbkj76BAnD2EaNrj/6HW25iCpq4Ivzz+kA5b1w=
|
||||
github.com/dolthub/flatbuffers/v23 v23.3.3-dh.2 h1:u3PMzfF8RkKd3lB9pZ2bfn0qEG+1Gms9599cr0REMww=
|
||||
github.com/dolthub/flatbuffers/v23 v23.3.3-dh.2/go.mod h1:mIEZOHnFx4ZMQeawhw9rhsj+0zwQj7adVsnBX7t+eKY=
|
||||
github.com/dolthub/fslock v0.0.5 h1:QoXhBhgY1oumHE26qyE7tgmXUT8qjJwxsIzo54O/B/k=
|
||||
github.com/dolthub/fslock v0.0.5/go.mod h1:sdofYYqE0D79zNZyB4/kmlnsQOVap1C2yByjGKSirEM=
|
||||
github.com/dolthub/go-icu-regex v0.0.0-20260610153742-72563bc7ca83 h1:FEMjCGEroDnY/BXyAffVZxUpXhP2GpoUJyyq5KaLn8c=
|
||||
github.com/dolthub/go-icu-regex v0.0.0-20260610153742-72563bc7ca83/go.mod h1:F3cnm+vMRK1HaU6+rNqQrOCyR03HHhR1GWG2gnPOqaE=
|
||||
github.com/dolthub/go-mysql-server v0.20.1-0.20260805191915-e5eafe0da809 h1:c+S3O08LgGS+czU/CuN+/pOKMri5F6kxajoWrTyrE1s=
|
||||
github.com/dolthub/go-mysql-server v0.20.1-0.20260805191915-e5eafe0da809/go.mod h1:9GLxpglhedopzqBGpW0PGrw7UlwG5kBIOepE2QfTQ1s=
|
||||
github.com/dolthub/go-mysql-server v0.20.1-0.20261001232740-19405eb6f203 h1:Q1q3rmpxwHNU3u0uUXM9Zd+VSXtsGiXjU1ohY5z0+pU=
|
||||
github.com/dolthub/go-mysql-server v0.20.1-0.20261001232740-19405eb6f203/go.mod h1:8yhQsTiaXTn5/q9DCc1RJoOkVvGgDvvVrylW9EFjv/A=
|
||||
github.com/dolthub/gozstd v0.0.0-20240423170813-23a2903bca63 h1:OAsXLAPL4du6tfbBgK0xXHZkOlos63RdKYS3Sgw/dfI=
|
||||
github.com/dolthub/gozstd v0.0.0-20240423170813-23a2903bca63/go.mod h1:lV7lUeuDhH5thVGDCKXbatwKy2KW80L4rMT46n+Y2/Q=
|
||||
github.com/dolthub/ishell v0.0.0-20260414231531-5f031e3e9037 h1:oIW9HwuWrhxv+4HZxA+QQSKHLqWFyXZ2FmNjUYwkdiM=
|
||||
github.com/dolthub/ishell v0.0.0-20260414231531-5f031e3e9037/go.mod h1:ehexgi1mPxRTk0Mok/pADALuHbvATulTh6gzr7NzZto=
|
||||
github.com/dolthub/jsonpath v0.0.2-0.20240227200619-19675ab05c71 h1:bMGS25NWAGTEtT5tOBsCuCrlYnLRKpbJVJkDbrTRhwQ=
|
||||
github.com/dolthub/jsonpath v0.0.2-0.20240227200619-19675ab05c71/go.mod h1:2/2zjLQ/JOOSbbSboojeg+cAwcRV0fDLzIiWch/lhqI=
|
||||
github.com/dolthub/vitess v0.0.0-20260728212736-0542037326d7 h1:gvOpHisi0CbG3hixdGulNQdXy3V7+AWxe37kGBgTmRI=
|
||||
github.com/dolthub/vitess v0.0.0-20260728212736-0542037326d7/go.mod h1:5SVEJgAhw5nnQUFnGgKI1Svqes1Mw+zKUsalyxmOuG0=
|
||||
github.com/dolthub/jsonpath v0.0.2-0.20260807003725-336cd89c1c76 h1:ZmLDDKnfbWc8VtOU/peSnUmUW8Z/Y6FEz4es6iCALvQ=
|
||||
github.com/dolthub/jsonpath v0.0.2-0.20260807003725-336cd89c1c76/go.mod h1:2/2zjLQ/JOOSbbSboojeg+cAwcRV0fDLzIiWch/lhqI=
|
||||
github.com/dolthub/vitess v0.0.0-20260930232419-a6b7b0c65d17 h1:ybmsrwM4mBagCff/1rfhQ1n/ozEqGvviD5JIW5ZbZ1g=
|
||||
github.com/dolthub/vitess v0.0.0-20260930232419-a6b7b0c65d17/go.mod h1:5SVEJgAhw5nnQUFnGgKI1Svqes1Mw+zKUsalyxmOuG0=
|
||||
github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk=
|
||||
github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY=
|
||||
github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto=
|
||||
|
|
@ -468,8 +468,6 @@ github.com/go-viper/mapstructure/v2 v2.5.0/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlnd
|
|||
github.com/gobwas/httphead v0.0.0-20180130184737-2c6c146eadee/go.mod h1:L0fX3K22YWvt/FAX9NnzrNzcI4wNYi9Yku4O0LKYflo=
|
||||
github.com/gobwas/pool v0.2.0/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6WezmKEw=
|
||||
github.com/gobwas/ws v1.0.2/go.mod h1:szmBTxLgaFppYjEmNtny/v3w89xOydFnnZMcgRRu/EM=
|
||||
github.com/goccy/go-json v0.10.5 h1:Fq85nIqj+gXn/S5ahsiTlK3TmC85qgirsdTP/+DeaC4=
|
||||
github.com/goccy/go-json v0.10.5/go.mod h1:oq7eo15ShAhp70Anwd5lgX2pLfOS3QCiwU/PULtXL6M=
|
||||
github.com/gocraft/dbr/v2 v2.7.6 h1:ASHKFgCbTLODbb9f756Cl8VAlnvQLKqIzx9E1Cfb7eo=
|
||||
github.com/gocraft/dbr/v2 v2.7.6/go.mod h1:8IH98S8M8J0JSEiYk0MPH26ZDUKemiQ/GvmXL5jo+Uw=
|
||||
github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA=
|
||||
|
|
@ -608,8 +606,8 @@ github.com/googleapis/gax-go/v2 v2.17.0/go.mod h1:mzaqghpQp4JDh3HvADwrat+6M3MOID
|
|||
github.com/gorilla/mux v1.8.0 h1:i40aqfkR1h2SlN9hojwV5ZA91wcXFOvkdNIeFDP5koI=
|
||||
github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So=
|
||||
github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
|
||||
github.com/gowebpki/jcs v1.0.1 h1:Qjzg8EOkrOTuWP7DqQ1FbYtcpEbeTzUoTN9bptp8FOU=
|
||||
github.com/gowebpki/jcs v1.0.1/go.mod h1:CID1cNZ+sHp1CCpAR8mPf6QRtagFBgPJE0FCUQ6+BrI=
|
||||
github.com/gowebpki/jcs v1.0.2 h1:IY0Iv76ThSvocWinl2rphYmGLhMufS3ZD1giKqkI6ps=
|
||||
github.com/gowebpki/jcs v1.0.2/go.mod h1:caHbxgiKxrUu6KNItCUKoggR5/ZUSNxVCm9ZxWJXR0U=
|
||||
github.com/grpc-ecosystem/grpc-gateway v1.16.0 h1:gmcG1KaJ57LophUzW0Hy8NmPhnMZb4M0+kPpLofRdBo=
|
||||
github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw=
|
||||
github.com/grpc-ecosystem/grpc-gateway/v2 v2.30.0 h1:/Tnpcb2E0Pz/tN9s3bfEY2Q8ePCEX9iuS+cneUwncnw=
|
||||
|
|
@ -743,8 +741,8 @@ github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Ky
|
|||
github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
|
||||
github.com/mattn/go-isatty v0.0.22 h1:j8l17JJ9i6VGPUFUYoTUKPSgKe/83EYU2zBC7YNKMw4=
|
||||
github.com/mattn/go-isatty v0.0.22/go.mod h1:ZXfXG4SQHsB/w3ZeOYbR0PrPwLy+n6xiMrJlRFqopa4=
|
||||
github.com/mattn/go-runewidth v0.0.24 h1:cpokDiIn0MGnhdHwuWnJBITySJ20QyNGnY2kR/ay2DU=
|
||||
github.com/mattn/go-runewidth v0.0.24/go.mod h1:XBkDxAl56ILZc9knddidhrOlY5R/pDhgLpndooCuJAs=
|
||||
github.com/mattn/go-runewidth v0.0.28 h1:rPyg2ybwEKPebvpzVWe1gKBkH8EQFkxO4Y0hjBeLaBU=
|
||||
github.com/mattn/go-runewidth v0.0.28/go.mod h1:3qAiGCV4Koz/yuveO58qUefmUTRm8r0IGEXZ9jeHp/8=
|
||||
github.com/mattn/go-sqlite3 v1.14.52 h1:wVbm2Qnf4OXkqhBTSPuCRZDRnxfbVrrmiCEroVdog8U=
|
||||
github.com/mattn/go-sqlite3 v1.14.52/go.mod h1:6JTjA44L93a0QCyJef5YvlPoKXntQPjzWv5gtm9sB6w=
|
||||
github.com/minio/md5-simd v1.1.2/go.mod h1:MzdKDxYpY2BT9XQFocsiZf/NKVtR7nkE4RoEpN+20RM=
|
||||
|
|
@ -958,24 +956,26 @@ go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.7
|
|||
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.70.0/go.mod h1:DqEFwLumhzMBDQv9PcWbyoDxHI/4lAk6CM4nJBH39sc=
|
||||
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.70.0 h1:LMuyCAyfalSjDyjdC65nK6N0zoTT63+E/u95X0JovZI=
|
||||
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.70.0/go.mod h1:085m8qbm4hgc8rZWGDEa4vmyyo2c3nPxUslYUKUIU04=
|
||||
go.opentelemetry.io/otel v1.46.0 h1:FHt5/CDyVxi/8IM1CH7VE/rRgq3kLHa2mSTVMO8AWyc=
|
||||
go.opentelemetry.io/otel v1.46.0/go.mod h1:Gj3SEScelsNC45tp4nSxRYlS+f5iez7W8XPMCt905kE=
|
||||
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.46.0 h1:AP23h/mFgb/lc7tdck1Kfn9qxsM8TAeNPCU5C3pzaps=
|
||||
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.46.0/go.mod h1:K4EqCe1b4kGk5WR690ntg9LaBfsPoV32FwthbyoptuA=
|
||||
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.46.0 h1:PR9eAf7o0dQs3hshZNZpE9aW2dXWX/KdDf6pJilVD3U=
|
||||
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.46.0/go.mod h1:2Z4KyNdH1uuzivdinyfGsxzNNT/Rl45pwtVwfYVI0xk=
|
||||
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.46.0 h1:KdRxPiAoMptR3vfWzvjjvutTsSiwbC2uG0496rzZNfo=
|
||||
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.46.0/go.mod h1:K/qSA+3G7Eovxi4K09wzrAgkWRnosS0DAOZeEpve7sM=
|
||||
go.opentelemetry.io/otel/metric v1.46.0 h1:yBnkXvgV7AXFILZc5K6IZe/CBFF3OS7BJ8ov6/lj0K8=
|
||||
go.opentelemetry.io/otel/metric v1.46.0/go.mod h1:iPmdWqifKUdzziPkvvzIJXITl56fQx2mGM/DHLB3/2o=
|
||||
go.opentelemetry.io/otel/metric/x v0.68.0 h1:TA/cBT23D3MnxYPwHL7YFOdYGdx0A0v+s7Mzotpd1dU=
|
||||
go.opentelemetry.io/otel/metric/x v0.68.0/go.mod h1:agudOmvWhwUTjgibWDzxD2PoWYnpw5Ht5jISYOD2Hd4=
|
||||
go.opentelemetry.io/otel/sdk v1.46.0 h1:h5CNQQjEbuQXY/JfZtgt3i7HVFV3aHPO2OAwO2eTYPI=
|
||||
go.opentelemetry.io/otel/sdk v1.46.0/go.mod h1:GAERFXFt5SYCEB+YiKUbMBeza6UaDH7GmGOZEfh2gSM=
|
||||
go.opentelemetry.io/otel/sdk/metric v1.46.0 h1:0piZ26EG4RBfebb2jhDH6ERCYHoVWduc3kLgPCwSnSE=
|
||||
go.opentelemetry.io/otel/sdk/metric v1.46.0/go.mod h1:I1PbKrdVc8Qu8HYVDNtqVIwLwjNrhsV/uFuxfwg8mO4=
|
||||
go.opentelemetry.io/otel/trace v1.46.0 h1:OULy7ccdJnZtJ0UDYFOIGaCmiWzJ8Vi2G/Rsu60qs1c=
|
||||
go.opentelemetry.io/otel/trace v1.46.0/go.mod h1:J7GAXweO77XSFkB/rmAqk9D6ihszhFjLU+d9WuUxDLI=
|
||||
go.opentelemetry.io/otel v1.47.0 h1:j7ALJ/zgkS7Z6aeJW09p8VC9804bC+PpeTfCD4XPnOM=
|
||||
go.opentelemetry.io/otel v1.47.0/go.mod h1:8wS9O2qfXrYrzp6hIF/HOYJJf/wIhFPhR2xLuP+iXQU=
|
||||
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.47.0 h1:7kszRN4Ze5GeAkUnBjBSUIunVBMA+mZIG04auueqguM=
|
||||
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.47.0/go.mod h1:CLzakYy8jOdkBfcveCWYkeKJxujcF4xPhh2Z7IfE98U=
|
||||
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.47.0 h1:ww5DYBpMKcqLdxjWrhGUIh6O+ZfvZUaMk4niVyNQPEQ=
|
||||
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.47.0/go.mod h1:Av5t+Ezx5S/Ks2dsEfWhny+GK+wrZ1K7NZ6aHSWnX3U=
|
||||
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.47.0 h1:N3YQCxjxQ/bMjyc3heladfRm9t9RTksGQH8z4w6yU/0=
|
||||
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.47.0/go.mod h1:Mp8HOFqcaUyypCuGv9IhDdTHnJ56lSudSHMd+pVSCEA=
|
||||
go.opentelemetry.io/otel/log v1.47.0 h1:cOTS1CcLbSQeZKanGJ+0JpF/+t4PELi3O3bbl2lqCcI=
|
||||
go.opentelemetry.io/otel/log v1.47.0/go.mod h1:9byitSQ5pLC6PpqwGXjqdMKya6ZTswHRZh2vvXT33nw=
|
||||
go.opentelemetry.io/otel/metric v1.47.0 h1:4PptaldXx3Eat1XjMZ68pPJEs5wrhlemctZE9a3UdWY=
|
||||
go.opentelemetry.io/otel/metric v1.47.0/go.mod h1:ADGSXxRrXM6bjbvLo535EstVFlPpPYZm4LBKixjDHwU=
|
||||
go.opentelemetry.io/otel/metric/x v0.69.0 h1:DjRLr15H83v+hCW7JA9NoJvOkYTtmq5YoDRbe9deYpM=
|
||||
go.opentelemetry.io/otel/metric/x v0.69.0/go.mod h1:uVvsMPMFFyj/HUQfrUnH3JjnOQ1dwFDorgFLRBasM0k=
|
||||
go.opentelemetry.io/otel/sdk v1.47.0 h1:zWXEr4j2lFefG87TU6Yg8a7ngfohIKFZHKp0Hf5hC6I=
|
||||
go.opentelemetry.io/otel/sdk v1.47.0/go.mod h1:VUc24kiOeoGsxG8G9ULx3fWKvB7jMhnGE8Oi607lgR0=
|
||||
go.opentelemetry.io/otel/sdk/metric v1.47.0 h1:lfISg2j93VT6yqdk9OfUaZmw/GfcZqCCV3jdXtsPnKw=
|
||||
go.opentelemetry.io/otel/sdk/metric v1.47.0/go.mod h1:ypLp+mW1Nt2x+Szt3b5/i1syodyts49lMOwxpDI3VGw=
|
||||
go.opentelemetry.io/otel/trace v1.47.0 h1:JOjX/Oci8K94QHddo+bbfya/Ai/nf6/dt9ZfrFNWSrM=
|
||||
go.opentelemetry.io/otel/trace v1.47.0/go.mod h1:jNaSLa2PZEYFG6fRjJABAu+bw4FS08uDmPg28lTghu0=
|
||||
go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI=
|
||||
go.opentelemetry.io/proto/otlp v1.11.0 h1:5rrYs0Ykyj50sdU/JU0x8etU+LubXWb+gED6TbEdMIk=
|
||||
go.opentelemetry.io/proto/otlp v1.11.0/go.mod h1:SmVizdCOAm3XBtG1g1NnOdhW6jtddT72hLMhv8VwA8E=
|
||||
|
|
@ -1027,8 +1027,8 @@ golang.org/x/crypto v0.0.0-20220511200225-c6db032c6c88/go.mod h1:IxCIyHEi3zRg3s0
|
|||
golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
|
||||
golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU=
|
||||
golang.org/x/crypto v0.9.0/go.mod h1:yrmDGqONDYtNj3tH8X9dzUun2m2lzPa9ngI6/RUPGR0=
|
||||
golang.org/x/crypto v0.55.0 h1:+KWHjbgOaAQ66dh/YlkZKHlz9ZUlq61AFirAR9ntP8M=
|
||||
golang.org/x/crypto v0.55.0/go.mod h1:uq0V9dE/fzQuJtbnL+2EhWOE63vo164FY8xqEnV9xis=
|
||||
golang.org/x/crypto v0.57.0 h1:3ZVCjf8Ggz7zneR/EHRVx68Ctf+2pmIMP2UFhh9cC6M=
|
||||
golang.org/x/crypto v0.57.0/go.mod h1:Fdz0i5U6CoizGwLda9DttjSk6qlZo25zYNtR+ycvuZA=
|
||||
golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
|
||||
golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
|
||||
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
|
||||
|
|
@ -1054,8 +1054,8 @@ golang.org/x/image v0.0.0-20200430140353-33d19683fad8/go.mod h1:FeLwcggjj3mMvU+o
|
|||
golang.org/x/image v0.0.0-20200618115811-c13761719519/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
|
||||
golang.org/x/image v0.0.0-20201208152932-35266b937fa6/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
|
||||
golang.org/x/image v0.0.0-20210216034530-4410531fe030/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
|
||||
golang.org/x/image v0.38.0 h1:5l+q+Y9JDC7mBOMjo4/aPhMDcxEptsX+Tt3GgRQRPuE=
|
||||
golang.org/x/image v0.38.0/go.mod h1:/3f6vaXC+6CEanU4KJxbcUZyEePbyKbaLoDOe4ehFYY=
|
||||
golang.org/x/image v0.41.0 h1:8wS72eGJMJaBxK6okTzd4WaXumUlTVlb753MlsSvTCo=
|
||||
golang.org/x/image v0.41.0/go.mod h1:uIc348UZMSvS5Z65CVZ7iDPaNobNFEPeJ4kbqTOszmA=
|
||||
golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
|
||||
golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU=
|
||||
golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
|
||||
|
|
@ -1082,8 +1082,8 @@ golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
|
|||
golang.org/x/mod v0.5.0/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro=
|
||||
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
|
||||
golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
|
||||
golang.org/x/mod v0.40.0 h1:hUv+3cXcdRHz08UmSiOob7sadHig73uo5bkXxQ/tvUs=
|
||||
golang.org/x/mod v0.40.0/go.mod h1:0/weTWkPWGBikyTWAX3dkjVztMmBA5hM0DH6BElSupE=
|
||||
golang.org/x/mod v0.41.0 h1:qJmnOUb4YB+FsEuM3HcWucdZASCPGhsX6uljO6pog0c=
|
||||
golang.org/x/mod v0.41.0/go.mod h1:Ek9pY8RKWXwsWvd3rQiHYtMqkjSUV+s1Rj7j4H5Ur6o=
|
||||
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
|
||||
golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
|
||||
golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
|
||||
|
|
@ -1137,8 +1137,8 @@ golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
|
|||
golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
|
||||
golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc=
|
||||
golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg=
|
||||
golang.org/x/net v0.58.0 h1:ynWG7rqYi4ccpTEuPZ2QGWHktVEM9DMCj9yzDE0Q7To=
|
||||
golang.org/x/net v0.58.0/go.mod h1:YwCddHnFlT7eLQqVprV19OnhLGtc5xOKgE0RyqgfWAU=
|
||||
golang.org/x/net v0.59.0 h1:5zfYln+w5XCxwrnMMJPufRgNoXEaGxl0wo5GqPXyues=
|
||||
golang.org/x/net v0.59.0/go.mod h1:2DA/G1UfVbCpQPeWTmMPGY7Cs2PkBkwu743bVX5PIVg=
|
||||
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
|
||||
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
|
||||
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
|
||||
|
|
@ -1174,8 +1174,8 @@ golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJ
|
|||
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||
golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||
golang.org/x/sync v0.23.0 h1:KameEIfc1IkluZyXWLn39Wd4tURc6GbCiISGiZm2bQk=
|
||||
golang.org/x/sync v0.23.0/go.mod h1:sUUOizhqBxiL6pEWpqNLUiaJn1ShEbZ6BBqskPbjZm0=
|
||||
golang.org/x/sync v0.24.0 h1:iqiDrGoDgyuvAKrhLQthUEzU/R378N78gXbBjxed7oA=
|
||||
golang.org/x/sync v0.24.0/go.mod h1:sUUOizhqBxiL6pEWpqNLUiaJn1ShEbZ6BBqskPbjZm0=
|
||||
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
||||
golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
||||
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
||||
|
|
@ -1257,8 +1257,8 @@ golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
|||
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.48.0 h1:bbX/i/6MgT9BVLM9RT1thmxL04yeTAhbEz4SyadbXoo=
|
||||
golang.org/x/sys v0.48.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og=
|
||||
golang.org/x/sys v0.49.0 h1:XbzkgYJHdqh/8m2Uu0W/dQv8nktxx4BFHp1M0gROTXA=
|
||||
golang.org/x/sys v0.49.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og=
|
||||
golang.org/x/telemetry v0.0.0-20260811182544-a038080d80e5 h1:ZUSxONxc981v7AW7QUg+I9WwZzSTTJ019ENBYr5pV/Q=
|
||||
golang.org/x/telemetry v0.0.0-20260811182544-a038080d80e5/go.mod h1:LVehoXe41cL5SCVQilsV7Gg6BNG+Js6P9PhSbYTIUkQ=
|
||||
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
|
||||
|
|
@ -1267,8 +1267,8 @@ golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuX
|
|||
golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k=
|
||||
golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U=
|
||||
golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo=
|
||||
golang.org/x/term v0.46.0 h1:3+OXuTbaKDgwk8jTi3aSLHRlmWqHEUDUtxnbFigO4YE=
|
||||
golang.org/x/term v0.46.0/go.mod h1:+K02xbkittuwc0Am4abfA3Fc+XRGXkvBXNO88NCXPoc=
|
||||
golang.org/x/term v0.47.0 h1:cpyOwQkr2Nzxe2p6KnrTG7Ei2wtzjsuSjhpXXepZ/BM=
|
||||
golang.org/x/term v0.47.0/go.mod h1:efAfAuG6RKABvg1ArGebRkvX6LXul14SM67o2e4mUCY=
|
||||
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||
golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||
|
|
@ -1281,8 +1281,8 @@ golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
|
|||
golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
|
||||
golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
|
||||
golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
|
||||
golang.org/x/text v0.41.0 h1:vz/seA0lnX87Othu2f/0L24RcgrXD9/YFTSuGjj3rH8=
|
||||
golang.org/x/text v0.41.0/go.mod h1:jvf1O8ajNzZqhSrQBPbutR/EB83Cc0CFrezNQIwbb5M=
|
||||
golang.org/x/text v0.42.0 h1:JbOZXgfeCPU9gacVtYliJqOhD+zhrEqK4LfdpmlUZqI=
|
||||
golang.org/x/text v0.42.0/go.mod h1:ojzP1Z+2QtioaF8DTtO8K5q7JWVVYwZKenzujK0Zd0E=
|
||||
golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
|
||||
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
|
||||
golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
|
||||
|
|
@ -1516,10 +1516,10 @@ google.golang.org/genproto v0.0.0-20220324131243-acbaeb5b85eb/go.mod h1:hAL49I2I
|
|||
google.golang.org/genproto v0.0.0-20220401170504-314d38edb7de/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo=
|
||||
google.golang.org/genproto v0.0.0-20260128011058-8636f8732409 h1:VQZ/yAbAtjkHgH80teYd2em3xtIkkHd7ZhqfH2N9CsM=
|
||||
google.golang.org/genproto v0.0.0-20260128011058-8636f8732409/go.mod h1:rxKD3IEILWEu3P44seeNOAwZN4SaoKaQ/2eTg4mM6EM=
|
||||
google.golang.org/genproto/googleapis/api v0.0.0-20260819154853-08b0e4226688 h1:ax2KzoSRIZU/M0cIxri3pKxy99vniH1PVxWC6si/eZI=
|
||||
google.golang.org/genproto/googleapis/api v0.0.0-20260819154853-08b0e4226688/go.mod h1:1RJ9BQGyNdZwkGc1eTqkErfRZ6RJyYPHZo73BZ1vQqI=
|
||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20260819154853-08b0e4226688 h1:cYNAzI2sUwhmCcoj9TxvihSrqsxt6uIkj3rDRhSDmW4=
|
||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20260819154853-08b0e4226688/go.mod h1:DjtHYE8FKJLivXcBEjGwndXfIC23G0VpXiXKqG179uA=
|
||||
google.golang.org/genproto/googleapis/api v0.0.0-20260928230214-8a89bd6388cc h1:rZHRz0ogq4Pid1IKtA/ivHi8XONVF5tqUQXA2TtgpkE=
|
||||
google.golang.org/genproto/googleapis/api v0.0.0-20260928230214-8a89bd6388cc/go.mod h1:K/n0XLazCJHjD73YuMyNJsN38BPPy1kfFnKxUXaThFU=
|
||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20260928230214-8a89bd6388cc h1:4bNTbnb44EqGVy9HaQxSY2jnafSUdgV3qHtedvNpDKg=
|
||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20260928230214-8a89bd6388cc/go.mod h1:OaIUM3+LpYcK2GXM4FTmhWoIq371Owdr+Cc7/BsYHHc=
|
||||
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
|
||||
google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38=
|
||||
google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM=
|
||||
|
|
|
|||
|
|
@ -58,17 +58,17 @@ require (
|
|||
github.com/cockroachdb/apd/v3 v3.2.3 // indirect
|
||||
github.com/denisbrodbeck/machineid v1.0.1 // indirect
|
||||
github.com/dolthub/aws-sdk-go-ini-parser v0.0.0-20250305001723-2821c37f6c12 // indirect
|
||||
github.com/dolthub/dolt/go v0.40.5-0.20260806213044-796d07497741 // indirect
|
||||
github.com/dolthub/driver/v2 v2.2.0 // indirect
|
||||
github.com/dolthub/dolt/go v0.40.5-0.20261002233748-c6af56fead88 // indirect
|
||||
github.com/dolthub/driver/v2 v2.4.1 // indirect
|
||||
github.com/dolthub/eventsapi_schema v0.0.0-20260715220557-d9b4a1c6b4d4 // indirect
|
||||
github.com/dolthub/file-locks v0.1.2 // indirect
|
||||
github.com/dolthub/flatbuffers/v23 v23.3.3-dh.2 // indirect
|
||||
github.com/dolthub/fslock v0.0.5 // indirect
|
||||
github.com/dolthub/go-icu-regex v0.0.0-20260610153742-72563bc7ca83 // indirect
|
||||
github.com/dolthub/go-mysql-server v0.20.1-0.20260805191915-e5eafe0da809 // indirect
|
||||
github.com/dolthub/go-mysql-server v0.20.1-0.20261001232740-19405eb6f203 // indirect
|
||||
github.com/dolthub/gozstd v0.0.0-20240423170813-23a2903bca63 // indirect
|
||||
github.com/dolthub/ishell v0.0.0-20260414231531-5f031e3e9037 // indirect
|
||||
github.com/dolthub/jsonpath v0.0.2-0.20240227200619-19675ab05c71 // indirect
|
||||
github.com/dolthub/vitess v0.0.0-20260728212736-0542037326d7 // indirect
|
||||
github.com/dolthub/jsonpath v0.0.2-0.20260807003725-336cd89c1c76 // indirect
|
||||
github.com/dolthub/vitess v0.0.0-20260930232419-a6b7b0c65d17 // indirect
|
||||
github.com/dustin/go-humanize v1.0.1 // indirect
|
||||
github.com/edsrzf/mmap-go v1.2.0 // indirect
|
||||
github.com/envoyproxy/go-control-plane/envoy v1.37.0 // indirect
|
||||
|
|
@ -83,7 +83,6 @@ require (
|
|||
github.com/go-logr/stdr v1.2.2 // indirect
|
||||
github.com/go-sql-driver/mysql v1.10.1 // indirect
|
||||
github.com/go-viper/mapstructure/v2 v2.5.0 // indirect
|
||||
github.com/goccy/go-json v0.10.5 // indirect
|
||||
github.com/gocraft/dbr/v2 v2.7.6 // indirect
|
||||
github.com/gofrs/flock v0.8.1 // indirect
|
||||
github.com/golang-jwt/jwt/v5 v5.3.0 // indirect
|
||||
|
|
@ -96,7 +95,7 @@ require (
|
|||
github.com/google/uuid v1.6.0 // indirect
|
||||
github.com/googleapis/enterprise-certificate-proxy v0.3.11 // indirect
|
||||
github.com/googleapis/gax-go/v2 v2.17.0 // indirect
|
||||
github.com/gowebpki/jcs v1.0.1 // indirect
|
||||
github.com/gowebpki/jcs v1.0.2 // indirect
|
||||
github.com/hashicorp/golang-lru v1.0.2 // indirect
|
||||
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
|
||||
github.com/juju/gnuflag v1.0.0 // indirect
|
||||
|
|
@ -107,7 +106,7 @@ require (
|
|||
github.com/lestrrat-go/strftime v1.2.0 // indirect
|
||||
github.com/mattn/go-colorable v0.1.13 // indirect
|
||||
github.com/mattn/go-isatty v0.0.22 // indirect
|
||||
github.com/mattn/go-runewidth v0.0.24 // indirect
|
||||
github.com/mattn/go-runewidth v0.0.28 // indirect
|
||||
github.com/mohae/uvarint v0.0.0-20160208145430-c3f9e62bf2b0 // indirect
|
||||
github.com/olebedev/when v1.1.0 // indirect
|
||||
github.com/oracle/oci-go-sdk/v65 v65.55.0 // indirect
|
||||
|
|
@ -146,31 +145,32 @@ require (
|
|||
go.opentelemetry.io/contrib/detectors/gcp v1.44.0 // indirect
|
||||
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.70.0 // indirect
|
||||
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.70.0 // indirect
|
||||
go.opentelemetry.io/otel v1.46.0 // indirect
|
||||
go.opentelemetry.io/otel/metric v1.46.0 // indirect
|
||||
go.opentelemetry.io/otel/sdk v1.46.0 // indirect
|
||||
go.opentelemetry.io/otel/sdk/metric v1.46.0 // indirect
|
||||
go.opentelemetry.io/otel/trace v1.46.0 // indirect
|
||||
go.opentelemetry.io/otel v1.47.0 // indirect
|
||||
go.opentelemetry.io/otel/log v1.47.0 // indirect
|
||||
go.opentelemetry.io/otel/metric v1.47.0 // indirect
|
||||
go.opentelemetry.io/otel/sdk v1.47.0 // indirect
|
||||
go.opentelemetry.io/otel/sdk/metric v1.47.0 // indirect
|
||||
go.opentelemetry.io/otel/trace v1.47.0 // indirect
|
||||
go.uber.org/multierr v1.11.0 // indirect
|
||||
go.uber.org/zap v1.27.0 // indirect
|
||||
go.yaml.in/yaml/v3 v3.0.5 // indirect
|
||||
golang.org/x/crypto v0.55.0 // indirect
|
||||
golang.org/x/crypto v0.57.0 // indirect
|
||||
golang.org/x/exp v0.0.0-20250620022241-b7579e27df2b // indirect
|
||||
golang.org/x/mod v0.40.0 // indirect
|
||||
golang.org/x/net v0.58.0 // indirect
|
||||
golang.org/x/mod v0.41.0 // indirect
|
||||
golang.org/x/net v0.59.0 // indirect
|
||||
golang.org/x/oauth2 v0.36.0 // indirect
|
||||
golang.org/x/sync v0.23.0 // indirect
|
||||
golang.org/x/sys v0.48.0 // indirect
|
||||
golang.org/x/sync v0.24.0 // indirect
|
||||
golang.org/x/sys v0.49.0 // indirect
|
||||
golang.org/x/telemetry v0.0.0-20260811182544-a038080d80e5 // indirect
|
||||
golang.org/x/term v0.46.0 // indirect
|
||||
golang.org/x/text v0.41.0 // indirect
|
||||
golang.org/x/term v0.47.0 // indirect
|
||||
golang.org/x/text v0.42.0 // indirect
|
||||
golang.org/x/time v0.14.0 // indirect
|
||||
golang.org/x/tools v0.49.0 // indirect
|
||||
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
|
||||
google.golang.org/api v0.264.0 // indirect
|
||||
google.golang.org/genproto v0.0.0-20260128011058-8636f8732409 // indirect
|
||||
google.golang.org/genproto/googleapis/api v0.0.0-20260819154853-08b0e4226688 // indirect
|
||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20260819154853-08b0e4226688 // indirect
|
||||
google.golang.org/genproto/googleapis/api v0.0.0-20260928230214-8a89bd6388cc // indirect
|
||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20260928230214-8a89bd6388cc // indirect
|
||||
google.golang.org/grpc v1.83.2 // indirect
|
||||
google.golang.org/protobuf v1.36.12 // indirect
|
||||
gopkg.in/go-jose/go-jose.v2 v2.6.3 // indirect
|
||||
|
|
|
|||
|
|
@ -359,28 +359,28 @@ github.com/dolthub/aws-sdk-go-ini-parser v0.0.0-20250305001723-2821c37f6c12 h1:I
|
|||
github.com/dolthub/aws-sdk-go-ini-parser v0.0.0-20250305001723-2821c37f6c12/go.mod h1:rN7X8BHwkjPcfMQQ2QTAq/xM3leUSGLfb+1Js7Y6TVo=
|
||||
github.com/dolthub/dolt-mcp v0.3.4 h1:AyG5cw+fNWXDHXujtQnqUPZrpWtPg6FN6yYtjv1pP44=
|
||||
github.com/dolthub/dolt-mcp v0.3.4/go.mod h1:bCZ7KHvDYs+M0e+ySgmGiNvLhcwsN7bbf5YCyillLrk=
|
||||
github.com/dolthub/dolt/go v0.40.5-0.20260806213044-796d07497741 h1:z+Disx4RJn0dxaYSzcp8pbiXddi3dpIoUJaMtVa/iBE=
|
||||
github.com/dolthub/dolt/go v0.40.5-0.20260806213044-796d07497741/go.mod h1:houDkPceGRjDBdaDsfym5OQUB4465mBUnPvSxMOPrPo=
|
||||
github.com/dolthub/driver/v2 v2.2.0 h1:Qm9BhvvKNmeTDF6kZdDkdLe62CF1W6GrCA3ZDRx/tlk=
|
||||
github.com/dolthub/driver/v2 v2.2.0/go.mod h1:Ngki9vM88/sqin1RKfUt/9Ex8DmoePtHgY7d4+YoolU=
|
||||
github.com/dolthub/dolt/go v0.40.5-0.20261002233748-c6af56fead88 h1:2HfeitrXNFvlCPWog+yMjSeZ4qBWSZOnOaeWI9Ai8QU=
|
||||
github.com/dolthub/dolt/go v0.40.5-0.20261002233748-c6af56fead88/go.mod h1:+DGXtWsZ7EFxHfh7LFKUEVdfj9aDPhR5SnaLZ7dxWQQ=
|
||||
github.com/dolthub/driver/v2 v2.4.1 h1:Wzk1Wd6GVQ3CpBa2OQgGTb1KoldMDfYgu2hVzyVrSJg=
|
||||
github.com/dolthub/driver/v2 v2.4.1/go.mod h1:dWP6ygBQw8JUIG9uvQo1R/vAfeCV9Sg7t9neNx7THyc=
|
||||
github.com/dolthub/eventsapi_schema v0.0.0-20260715220557-d9b4a1c6b4d4 h1:0mg9QEFdkkBwJMxvz1tCjHYmfG2iIC6aShj1InDq9/M=
|
||||
github.com/dolthub/eventsapi_schema v0.0.0-20260715220557-d9b4a1c6b4d4/go.mod h1:SSLraQS/jGLYFgff3vuZ+JbVUct6vyEeMzjLBqWqoyM=
|
||||
github.com/dolthub/file-locks v0.1.2 h1:D0eaII+636hkk7uJu++qaUT/XqDtRTQArWBQ6vEHfJU=
|
||||
github.com/dolthub/file-locks v0.1.2/go.mod h1:8B7bWbbkj76BAnD2EaNrj/6HW25iCpq4Ivzz+kA5b1w=
|
||||
github.com/dolthub/flatbuffers/v23 v23.3.3-dh.2 h1:u3PMzfF8RkKd3lB9pZ2bfn0qEG+1Gms9599cr0REMww=
|
||||
github.com/dolthub/flatbuffers/v23 v23.3.3-dh.2/go.mod h1:mIEZOHnFx4ZMQeawhw9rhsj+0zwQj7adVsnBX7t+eKY=
|
||||
github.com/dolthub/fslock v0.0.5 h1:QoXhBhgY1oumHE26qyE7tgmXUT8qjJwxsIzo54O/B/k=
|
||||
github.com/dolthub/fslock v0.0.5/go.mod h1:sdofYYqE0D79zNZyB4/kmlnsQOVap1C2yByjGKSirEM=
|
||||
github.com/dolthub/go-icu-regex v0.0.0-20260610153742-72563bc7ca83 h1:FEMjCGEroDnY/BXyAffVZxUpXhP2GpoUJyyq5KaLn8c=
|
||||
github.com/dolthub/go-icu-regex v0.0.0-20260610153742-72563bc7ca83/go.mod h1:F3cnm+vMRK1HaU6+rNqQrOCyR03HHhR1GWG2gnPOqaE=
|
||||
github.com/dolthub/go-mysql-server v0.20.1-0.20260805191915-e5eafe0da809 h1:c+S3O08LgGS+czU/CuN+/pOKMri5F6kxajoWrTyrE1s=
|
||||
github.com/dolthub/go-mysql-server v0.20.1-0.20260805191915-e5eafe0da809/go.mod h1:9GLxpglhedopzqBGpW0PGrw7UlwG5kBIOepE2QfTQ1s=
|
||||
github.com/dolthub/go-mysql-server v0.20.1-0.20261001232740-19405eb6f203 h1:Q1q3rmpxwHNU3u0uUXM9Zd+VSXtsGiXjU1ohY5z0+pU=
|
||||
github.com/dolthub/go-mysql-server v0.20.1-0.20261001232740-19405eb6f203/go.mod h1:8yhQsTiaXTn5/q9DCc1RJoOkVvGgDvvVrylW9EFjv/A=
|
||||
github.com/dolthub/gozstd v0.0.0-20240423170813-23a2903bca63 h1:OAsXLAPL4du6tfbBgK0xXHZkOlos63RdKYS3Sgw/dfI=
|
||||
github.com/dolthub/gozstd v0.0.0-20240423170813-23a2903bca63/go.mod h1:lV7lUeuDhH5thVGDCKXbatwKy2KW80L4rMT46n+Y2/Q=
|
||||
github.com/dolthub/ishell v0.0.0-20260414231531-5f031e3e9037 h1:oIW9HwuWrhxv+4HZxA+QQSKHLqWFyXZ2FmNjUYwkdiM=
|
||||
github.com/dolthub/ishell v0.0.0-20260414231531-5f031e3e9037/go.mod h1:ehexgi1mPxRTk0Mok/pADALuHbvATulTh6gzr7NzZto=
|
||||
github.com/dolthub/jsonpath v0.0.2-0.20240227200619-19675ab05c71 h1:bMGS25NWAGTEtT5tOBsCuCrlYnLRKpbJVJkDbrTRhwQ=
|
||||
github.com/dolthub/jsonpath v0.0.2-0.20240227200619-19675ab05c71/go.mod h1:2/2zjLQ/JOOSbbSboojeg+cAwcRV0fDLzIiWch/lhqI=
|
||||
github.com/dolthub/vitess v0.0.0-20260728212736-0542037326d7 h1:gvOpHisi0CbG3hixdGulNQdXy3V7+AWxe37kGBgTmRI=
|
||||
github.com/dolthub/vitess v0.0.0-20260728212736-0542037326d7/go.mod h1:5SVEJgAhw5nnQUFnGgKI1Svqes1Mw+zKUsalyxmOuG0=
|
||||
github.com/dolthub/jsonpath v0.0.2-0.20260807003725-336cd89c1c76 h1:ZmLDDKnfbWc8VtOU/peSnUmUW8Z/Y6FEz4es6iCALvQ=
|
||||
github.com/dolthub/jsonpath v0.0.2-0.20260807003725-336cd89c1c76/go.mod h1:2/2zjLQ/JOOSbbSboojeg+cAwcRV0fDLzIiWch/lhqI=
|
||||
github.com/dolthub/vitess v0.0.0-20260930232419-a6b7b0c65d17 h1:ybmsrwM4mBagCff/1rfhQ1n/ozEqGvviD5JIW5ZbZ1g=
|
||||
github.com/dolthub/vitess v0.0.0-20260930232419-a6b7b0c65d17/go.mod h1:5SVEJgAhw5nnQUFnGgKI1Svqes1Mw+zKUsalyxmOuG0=
|
||||
github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk=
|
||||
github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY=
|
||||
github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto=
|
||||
|
|
@ -468,8 +468,6 @@ github.com/go-viper/mapstructure/v2 v2.5.0/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlnd
|
|||
github.com/gobwas/httphead v0.0.0-20180130184737-2c6c146eadee/go.mod h1:L0fX3K22YWvt/FAX9NnzrNzcI4wNYi9Yku4O0LKYflo=
|
||||
github.com/gobwas/pool v0.2.0/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6WezmKEw=
|
||||
github.com/gobwas/ws v1.0.2/go.mod h1:szmBTxLgaFppYjEmNtny/v3w89xOydFnnZMcgRRu/EM=
|
||||
github.com/goccy/go-json v0.10.5 h1:Fq85nIqj+gXn/S5ahsiTlK3TmC85qgirsdTP/+DeaC4=
|
||||
github.com/goccy/go-json v0.10.5/go.mod h1:oq7eo15ShAhp70Anwd5lgX2pLfOS3QCiwU/PULtXL6M=
|
||||
github.com/gocraft/dbr/v2 v2.7.6 h1:ASHKFgCbTLODbb9f756Cl8VAlnvQLKqIzx9E1Cfb7eo=
|
||||
github.com/gocraft/dbr/v2 v2.7.6/go.mod h1:8IH98S8M8J0JSEiYk0MPH26ZDUKemiQ/GvmXL5jo+Uw=
|
||||
github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA=
|
||||
|
|
@ -608,8 +606,8 @@ github.com/googleapis/gax-go/v2 v2.17.0/go.mod h1:mzaqghpQp4JDh3HvADwrat+6M3MOID
|
|||
github.com/gorilla/mux v1.8.0 h1:i40aqfkR1h2SlN9hojwV5ZA91wcXFOvkdNIeFDP5koI=
|
||||
github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So=
|
||||
github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
|
||||
github.com/gowebpki/jcs v1.0.1 h1:Qjzg8EOkrOTuWP7DqQ1FbYtcpEbeTzUoTN9bptp8FOU=
|
||||
github.com/gowebpki/jcs v1.0.1/go.mod h1:CID1cNZ+sHp1CCpAR8mPf6QRtagFBgPJE0FCUQ6+BrI=
|
||||
github.com/gowebpki/jcs v1.0.2 h1:IY0Iv76ThSvocWinl2rphYmGLhMufS3ZD1giKqkI6ps=
|
||||
github.com/gowebpki/jcs v1.0.2/go.mod h1:caHbxgiKxrUu6KNItCUKoggR5/ZUSNxVCm9ZxWJXR0U=
|
||||
github.com/grpc-ecosystem/grpc-gateway v1.16.0 h1:gmcG1KaJ57LophUzW0Hy8NmPhnMZb4M0+kPpLofRdBo=
|
||||
github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw=
|
||||
github.com/grpc-ecosystem/grpc-gateway/v2 v2.30.0 h1:/Tnpcb2E0Pz/tN9s3bfEY2Q8ePCEX9iuS+cneUwncnw=
|
||||
|
|
@ -743,8 +741,8 @@ github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Ky
|
|||
github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
|
||||
github.com/mattn/go-isatty v0.0.22 h1:j8l17JJ9i6VGPUFUYoTUKPSgKe/83EYU2zBC7YNKMw4=
|
||||
github.com/mattn/go-isatty v0.0.22/go.mod h1:ZXfXG4SQHsB/w3ZeOYbR0PrPwLy+n6xiMrJlRFqopa4=
|
||||
github.com/mattn/go-runewidth v0.0.24 h1:cpokDiIn0MGnhdHwuWnJBITySJ20QyNGnY2kR/ay2DU=
|
||||
github.com/mattn/go-runewidth v0.0.24/go.mod h1:XBkDxAl56ILZc9knddidhrOlY5R/pDhgLpndooCuJAs=
|
||||
github.com/mattn/go-runewidth v0.0.28 h1:rPyg2ybwEKPebvpzVWe1gKBkH8EQFkxO4Y0hjBeLaBU=
|
||||
github.com/mattn/go-runewidth v0.0.28/go.mod h1:3qAiGCV4Koz/yuveO58qUefmUTRm8r0IGEXZ9jeHp/8=
|
||||
github.com/mattn/go-sqlite3 v1.14.52 h1:wVbm2Qnf4OXkqhBTSPuCRZDRnxfbVrrmiCEroVdog8U=
|
||||
github.com/mattn/go-sqlite3 v1.14.52/go.mod h1:6JTjA44L93a0QCyJef5YvlPoKXntQPjzWv5gtm9sB6w=
|
||||
github.com/minio/md5-simd v1.1.2/go.mod h1:MzdKDxYpY2BT9XQFocsiZf/NKVtR7nkE4RoEpN+20RM=
|
||||
|
|
@ -958,24 +956,26 @@ go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.7
|
|||
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.70.0/go.mod h1:DqEFwLumhzMBDQv9PcWbyoDxHI/4lAk6CM4nJBH39sc=
|
||||
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.70.0 h1:LMuyCAyfalSjDyjdC65nK6N0zoTT63+E/u95X0JovZI=
|
||||
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.70.0/go.mod h1:085m8qbm4hgc8rZWGDEa4vmyyo2c3nPxUslYUKUIU04=
|
||||
go.opentelemetry.io/otel v1.46.0 h1:FHt5/CDyVxi/8IM1CH7VE/rRgq3kLHa2mSTVMO8AWyc=
|
||||
go.opentelemetry.io/otel v1.46.0/go.mod h1:Gj3SEScelsNC45tp4nSxRYlS+f5iez7W8XPMCt905kE=
|
||||
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.46.0 h1:AP23h/mFgb/lc7tdck1Kfn9qxsM8TAeNPCU5C3pzaps=
|
||||
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.46.0/go.mod h1:K4EqCe1b4kGk5WR690ntg9LaBfsPoV32FwthbyoptuA=
|
||||
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.46.0 h1:PR9eAf7o0dQs3hshZNZpE9aW2dXWX/KdDf6pJilVD3U=
|
||||
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.46.0/go.mod h1:2Z4KyNdH1uuzivdinyfGsxzNNT/Rl45pwtVwfYVI0xk=
|
||||
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.46.0 h1:KdRxPiAoMptR3vfWzvjjvutTsSiwbC2uG0496rzZNfo=
|
||||
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.46.0/go.mod h1:K/qSA+3G7Eovxi4K09wzrAgkWRnosS0DAOZeEpve7sM=
|
||||
go.opentelemetry.io/otel/metric v1.46.0 h1:yBnkXvgV7AXFILZc5K6IZe/CBFF3OS7BJ8ov6/lj0K8=
|
||||
go.opentelemetry.io/otel/metric v1.46.0/go.mod h1:iPmdWqifKUdzziPkvvzIJXITl56fQx2mGM/DHLB3/2o=
|
||||
go.opentelemetry.io/otel/metric/x v0.68.0 h1:TA/cBT23D3MnxYPwHL7YFOdYGdx0A0v+s7Mzotpd1dU=
|
||||
go.opentelemetry.io/otel/metric/x v0.68.0/go.mod h1:agudOmvWhwUTjgibWDzxD2PoWYnpw5Ht5jISYOD2Hd4=
|
||||
go.opentelemetry.io/otel/sdk v1.46.0 h1:h5CNQQjEbuQXY/JfZtgt3i7HVFV3aHPO2OAwO2eTYPI=
|
||||
go.opentelemetry.io/otel/sdk v1.46.0/go.mod h1:GAERFXFt5SYCEB+YiKUbMBeza6UaDH7GmGOZEfh2gSM=
|
||||
go.opentelemetry.io/otel/sdk/metric v1.46.0 h1:0piZ26EG4RBfebb2jhDH6ERCYHoVWduc3kLgPCwSnSE=
|
||||
go.opentelemetry.io/otel/sdk/metric v1.46.0/go.mod h1:I1PbKrdVc8Qu8HYVDNtqVIwLwjNrhsV/uFuxfwg8mO4=
|
||||
go.opentelemetry.io/otel/trace v1.46.0 h1:OULy7ccdJnZtJ0UDYFOIGaCmiWzJ8Vi2G/Rsu60qs1c=
|
||||
go.opentelemetry.io/otel/trace v1.46.0/go.mod h1:J7GAXweO77XSFkB/rmAqk9D6ihszhFjLU+d9WuUxDLI=
|
||||
go.opentelemetry.io/otel v1.47.0 h1:j7ALJ/zgkS7Z6aeJW09p8VC9804bC+PpeTfCD4XPnOM=
|
||||
go.opentelemetry.io/otel v1.47.0/go.mod h1:8wS9O2qfXrYrzp6hIF/HOYJJf/wIhFPhR2xLuP+iXQU=
|
||||
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.47.0 h1:7kszRN4Ze5GeAkUnBjBSUIunVBMA+mZIG04auueqguM=
|
||||
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.47.0/go.mod h1:CLzakYy8jOdkBfcveCWYkeKJxujcF4xPhh2Z7IfE98U=
|
||||
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.47.0 h1:ww5DYBpMKcqLdxjWrhGUIh6O+ZfvZUaMk4niVyNQPEQ=
|
||||
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.47.0/go.mod h1:Av5t+Ezx5S/Ks2dsEfWhny+GK+wrZ1K7NZ6aHSWnX3U=
|
||||
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.47.0 h1:N3YQCxjxQ/bMjyc3heladfRm9t9RTksGQH8z4w6yU/0=
|
||||
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.47.0/go.mod h1:Mp8HOFqcaUyypCuGv9IhDdTHnJ56lSudSHMd+pVSCEA=
|
||||
go.opentelemetry.io/otel/log v1.47.0 h1:cOTS1CcLbSQeZKanGJ+0JpF/+t4PELi3O3bbl2lqCcI=
|
||||
go.opentelemetry.io/otel/log v1.47.0/go.mod h1:9byitSQ5pLC6PpqwGXjqdMKya6ZTswHRZh2vvXT33nw=
|
||||
go.opentelemetry.io/otel/metric v1.47.0 h1:4PptaldXx3Eat1XjMZ68pPJEs5wrhlemctZE9a3UdWY=
|
||||
go.opentelemetry.io/otel/metric v1.47.0/go.mod h1:ADGSXxRrXM6bjbvLo535EstVFlPpPYZm4LBKixjDHwU=
|
||||
go.opentelemetry.io/otel/metric/x v0.69.0 h1:DjRLr15H83v+hCW7JA9NoJvOkYTtmq5YoDRbe9deYpM=
|
||||
go.opentelemetry.io/otel/metric/x v0.69.0/go.mod h1:uVvsMPMFFyj/HUQfrUnH3JjnOQ1dwFDorgFLRBasM0k=
|
||||
go.opentelemetry.io/otel/sdk v1.47.0 h1:zWXEr4j2lFefG87TU6Yg8a7ngfohIKFZHKp0Hf5hC6I=
|
||||
go.opentelemetry.io/otel/sdk v1.47.0/go.mod h1:VUc24kiOeoGsxG8G9ULx3fWKvB7jMhnGE8Oi607lgR0=
|
||||
go.opentelemetry.io/otel/sdk/metric v1.47.0 h1:lfISg2j93VT6yqdk9OfUaZmw/GfcZqCCV3jdXtsPnKw=
|
||||
go.opentelemetry.io/otel/sdk/metric v1.47.0/go.mod h1:ypLp+mW1Nt2x+Szt3b5/i1syodyts49lMOwxpDI3VGw=
|
||||
go.opentelemetry.io/otel/trace v1.47.0 h1:JOjX/Oci8K94QHddo+bbfya/Ai/nf6/dt9ZfrFNWSrM=
|
||||
go.opentelemetry.io/otel/trace v1.47.0/go.mod h1:jNaSLa2PZEYFG6fRjJABAu+bw4FS08uDmPg28lTghu0=
|
||||
go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI=
|
||||
go.opentelemetry.io/proto/otlp v1.11.0 h1:5rrYs0Ykyj50sdU/JU0x8etU+LubXWb+gED6TbEdMIk=
|
||||
go.opentelemetry.io/proto/otlp v1.11.0/go.mod h1:SmVizdCOAm3XBtG1g1NnOdhW6jtddT72hLMhv8VwA8E=
|
||||
|
|
@ -1027,8 +1027,8 @@ golang.org/x/crypto v0.0.0-20220511200225-c6db032c6c88/go.mod h1:IxCIyHEi3zRg3s0
|
|||
golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
|
||||
golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU=
|
||||
golang.org/x/crypto v0.9.0/go.mod h1:yrmDGqONDYtNj3tH8X9dzUun2m2lzPa9ngI6/RUPGR0=
|
||||
golang.org/x/crypto v0.55.0 h1:+KWHjbgOaAQ66dh/YlkZKHlz9ZUlq61AFirAR9ntP8M=
|
||||
golang.org/x/crypto v0.55.0/go.mod h1:uq0V9dE/fzQuJtbnL+2EhWOE63vo164FY8xqEnV9xis=
|
||||
golang.org/x/crypto v0.57.0 h1:3ZVCjf8Ggz7zneR/EHRVx68Ctf+2pmIMP2UFhh9cC6M=
|
||||
golang.org/x/crypto v0.57.0/go.mod h1:Fdz0i5U6CoizGwLda9DttjSk6qlZo25zYNtR+ycvuZA=
|
||||
golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
|
||||
golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
|
||||
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
|
||||
|
|
@ -1054,8 +1054,8 @@ golang.org/x/image v0.0.0-20200430140353-33d19683fad8/go.mod h1:FeLwcggjj3mMvU+o
|
|||
golang.org/x/image v0.0.0-20200618115811-c13761719519/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
|
||||
golang.org/x/image v0.0.0-20201208152932-35266b937fa6/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
|
||||
golang.org/x/image v0.0.0-20210216034530-4410531fe030/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
|
||||
golang.org/x/image v0.38.0 h1:5l+q+Y9JDC7mBOMjo4/aPhMDcxEptsX+Tt3GgRQRPuE=
|
||||
golang.org/x/image v0.38.0/go.mod h1:/3f6vaXC+6CEanU4KJxbcUZyEePbyKbaLoDOe4ehFYY=
|
||||
golang.org/x/image v0.41.0 h1:8wS72eGJMJaBxK6okTzd4WaXumUlTVlb753MlsSvTCo=
|
||||
golang.org/x/image v0.41.0/go.mod h1:uIc348UZMSvS5Z65CVZ7iDPaNobNFEPeJ4kbqTOszmA=
|
||||
golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
|
||||
golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU=
|
||||
golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
|
||||
|
|
@ -1082,8 +1082,8 @@ golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
|
|||
golang.org/x/mod v0.5.0/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro=
|
||||
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
|
||||
golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
|
||||
golang.org/x/mod v0.40.0 h1:hUv+3cXcdRHz08UmSiOob7sadHig73uo5bkXxQ/tvUs=
|
||||
golang.org/x/mod v0.40.0/go.mod h1:0/weTWkPWGBikyTWAX3dkjVztMmBA5hM0DH6BElSupE=
|
||||
golang.org/x/mod v0.41.0 h1:qJmnOUb4YB+FsEuM3HcWucdZASCPGhsX6uljO6pog0c=
|
||||
golang.org/x/mod v0.41.0/go.mod h1:Ek9pY8RKWXwsWvd3rQiHYtMqkjSUV+s1Rj7j4H5Ur6o=
|
||||
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
|
||||
golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
|
||||
golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
|
||||
|
|
@ -1137,8 +1137,8 @@ golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
|
|||
golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
|
||||
golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc=
|
||||
golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg=
|
||||
golang.org/x/net v0.58.0 h1:ynWG7rqYi4ccpTEuPZ2QGWHktVEM9DMCj9yzDE0Q7To=
|
||||
golang.org/x/net v0.58.0/go.mod h1:YwCddHnFlT7eLQqVprV19OnhLGtc5xOKgE0RyqgfWAU=
|
||||
golang.org/x/net v0.59.0 h1:5zfYln+w5XCxwrnMMJPufRgNoXEaGxl0wo5GqPXyues=
|
||||
golang.org/x/net v0.59.0/go.mod h1:2DA/G1UfVbCpQPeWTmMPGY7Cs2PkBkwu743bVX5PIVg=
|
||||
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
|
||||
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
|
||||
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
|
||||
|
|
@ -1174,8 +1174,8 @@ golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJ
|
|||
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||
golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||
golang.org/x/sync v0.23.0 h1:KameEIfc1IkluZyXWLn39Wd4tURc6GbCiISGiZm2bQk=
|
||||
golang.org/x/sync v0.23.0/go.mod h1:sUUOizhqBxiL6pEWpqNLUiaJn1ShEbZ6BBqskPbjZm0=
|
||||
golang.org/x/sync v0.24.0 h1:iqiDrGoDgyuvAKrhLQthUEzU/R378N78gXbBjxed7oA=
|
||||
golang.org/x/sync v0.24.0/go.mod h1:sUUOizhqBxiL6pEWpqNLUiaJn1ShEbZ6BBqskPbjZm0=
|
||||
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
||||
golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
||||
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
||||
|
|
@ -1257,8 +1257,8 @@ golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
|||
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.48.0 h1:bbX/i/6MgT9BVLM9RT1thmxL04yeTAhbEz4SyadbXoo=
|
||||
golang.org/x/sys v0.48.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og=
|
||||
golang.org/x/sys v0.49.0 h1:XbzkgYJHdqh/8m2Uu0W/dQv8nktxx4BFHp1M0gROTXA=
|
||||
golang.org/x/sys v0.49.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og=
|
||||
golang.org/x/telemetry v0.0.0-20260811182544-a038080d80e5 h1:ZUSxONxc981v7AW7QUg+I9WwZzSTTJ019ENBYr5pV/Q=
|
||||
golang.org/x/telemetry v0.0.0-20260811182544-a038080d80e5/go.mod h1:LVehoXe41cL5SCVQilsV7Gg6BNG+Js6P9PhSbYTIUkQ=
|
||||
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
|
||||
|
|
@ -1267,8 +1267,8 @@ golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuX
|
|||
golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k=
|
||||
golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U=
|
||||
golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo=
|
||||
golang.org/x/term v0.46.0 h1:3+OXuTbaKDgwk8jTi3aSLHRlmWqHEUDUtxnbFigO4YE=
|
||||
golang.org/x/term v0.46.0/go.mod h1:+K02xbkittuwc0Am4abfA3Fc+XRGXkvBXNO88NCXPoc=
|
||||
golang.org/x/term v0.47.0 h1:cpyOwQkr2Nzxe2p6KnrTG7Ei2wtzjsuSjhpXXepZ/BM=
|
||||
golang.org/x/term v0.47.0/go.mod h1:efAfAuG6RKABvg1ArGebRkvX6LXul14SM67o2e4mUCY=
|
||||
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||
golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||
|
|
@ -1281,8 +1281,8 @@ golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
|
|||
golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
|
||||
golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
|
||||
golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
|
||||
golang.org/x/text v0.41.0 h1:vz/seA0lnX87Othu2f/0L24RcgrXD9/YFTSuGjj3rH8=
|
||||
golang.org/x/text v0.41.0/go.mod h1:jvf1O8ajNzZqhSrQBPbutR/EB83Cc0CFrezNQIwbb5M=
|
||||
golang.org/x/text v0.42.0 h1:JbOZXgfeCPU9gacVtYliJqOhD+zhrEqK4LfdpmlUZqI=
|
||||
golang.org/x/text v0.42.0/go.mod h1:ojzP1Z+2QtioaF8DTtO8K5q7JWVVYwZKenzujK0Zd0E=
|
||||
golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
|
||||
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
|
||||
golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
|
||||
|
|
@ -1516,10 +1516,10 @@ google.golang.org/genproto v0.0.0-20220324131243-acbaeb5b85eb/go.mod h1:hAL49I2I
|
|||
google.golang.org/genproto v0.0.0-20220401170504-314d38edb7de/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo=
|
||||
google.golang.org/genproto v0.0.0-20260128011058-8636f8732409 h1:VQZ/yAbAtjkHgH80teYd2em3xtIkkHd7ZhqfH2N9CsM=
|
||||
google.golang.org/genproto v0.0.0-20260128011058-8636f8732409/go.mod h1:rxKD3IEILWEu3P44seeNOAwZN4SaoKaQ/2eTg4mM6EM=
|
||||
google.golang.org/genproto/googleapis/api v0.0.0-20260819154853-08b0e4226688 h1:ax2KzoSRIZU/M0cIxri3pKxy99vniH1PVxWC6si/eZI=
|
||||
google.golang.org/genproto/googleapis/api v0.0.0-20260819154853-08b0e4226688/go.mod h1:1RJ9BQGyNdZwkGc1eTqkErfRZ6RJyYPHZo73BZ1vQqI=
|
||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20260819154853-08b0e4226688 h1:cYNAzI2sUwhmCcoj9TxvihSrqsxt6uIkj3rDRhSDmW4=
|
||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20260819154853-08b0e4226688/go.mod h1:DjtHYE8FKJLivXcBEjGwndXfIC23G0VpXiXKqG179uA=
|
||||
google.golang.org/genproto/googleapis/api v0.0.0-20260928230214-8a89bd6388cc h1:rZHRz0ogq4Pid1IKtA/ivHi8XONVF5tqUQXA2TtgpkE=
|
||||
google.golang.org/genproto/googleapis/api v0.0.0-20260928230214-8a89bd6388cc/go.mod h1:K/n0XLazCJHjD73YuMyNJsN38BPPy1kfFnKxUXaThFU=
|
||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20260928230214-8a89bd6388cc h1:4bNTbnb44EqGVy9HaQxSY2jnafSUdgV3qHtedvNpDKg=
|
||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20260928230214-8a89bd6388cc/go.mod h1:OaIUM3+LpYcK2GXM4FTmhWoIq371Owdr+Cc7/BsYHHc=
|
||||
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
|
||||
google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38=
|
||||
google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM=
|
||||
|
|
|
|||
|
|
@ -8,14 +8,18 @@ import (
|
|||
|
||||
// RecommendedMin is the dolt version this package recommends for managed
|
||||
// proxied-server mode. It tracks the embedded engine beads links (the
|
||||
// dolthub/driver v2.4.1 module in go.mod) because an external CLI must be able
|
||||
// to write storage that engine created: measured 2026-10-10 against a database
|
||||
// `bd init` wrote through driver v2.4.1, dolt 2.2.0 and 2.3.1 both fail a plain
|
||||
// INSERT with "table has unknown fields", and dolt 2.4.1 succeeds. The write
|
||||
// boundary itself is 2.3.3, the first release that stores descending index
|
||||
// columns (dolthub/dolt#11746); 2.4.1 is the release CI pins and measured, and
|
||||
// releases before 2.4.0 also mis-plan a join (dolthub/dolt#11886). Keep it
|
||||
// aligned with the CLI/container test pins (scripts/ci/install-dolt.sh).
|
||||
// dolthub/driver v2.4.1 module in go.mod), so the external CLI runs the same
|
||||
// Dolt as embedded mode. Two boundaries sit below it. Releases before 2.4.0
|
||||
// mis-plan a join (dolthub/dolt#11886). Releases before 2.3.3 cannot read a
|
||||
// descending index column ("table has unknown fields"; 2.3.3 is the first
|
||||
// release that stores one, dolthub/dolt#11746): migration 0010 declares one,
|
||||
// so a database a 2.3.3-or-newer engine created holds it until migration 0071
|
||||
// replaces it, and its history before 0071 keeps it. 2.4.1 is the release CI
|
||||
// pins, and the only release after 2.3.1 measured clean of the
|
||||
// CALL DOLT_RESET('--hard') regression 2.3.0 introduced (2.3.2 through 2.4.0
|
||||
// are unmeasured); docs/architecture/dolt.md ("Which Dolt version to install")
|
||||
// records the dated measurements. Keep it aligned with the CLI/container test
|
||||
// pins (scripts/ci/install-dolt.sh).
|
||||
//
|
||||
// This is deliberately a recommendation, not a hard floor (see
|
||||
// CheckRecommended): an earlier design that hard-failed startup below a
|
||||
|
|
@ -84,8 +88,13 @@ func (w *Warning) Message() string {
|
|||
)
|
||||
default:
|
||||
return fmt.Sprintf(
|
||||
"dolt %s is older than the recommended minimum %s for proxied-server mode; "+
|
||||
"cross-reading storage written by newer dolt Go modules may fail (see gastownhall/beads doltversion package docs)",
|
||||
"dolt %s is older than the recommended minimum %s for proxied-server mode: "+
|
||||
"dolt 2.3.0 regressed CALL DOLT_RESET('--hard'), which fails with \"context canceled\" on some "+
|
||||
"freshly created databases (measured on 2.3.0 and 2.3.1; 2.3.2 through 2.4.0 are unmeasured, "+
|
||||
"and 2.4.1 measured clean), dolt before 2.4.0 can return wrong join results (dolthub/dolt#11886), "+
|
||||
"and dolt before 2.3.3 fails with \"table has unknown fields\" on a descending index, which a "+
|
||||
"database created by dolt 2.3.3 or newer holds until a bd schema migration replaces it, and "+
|
||||
"keeps in its history (see gastownhall/beads doltversion package docs)",
|
||||
w.Probed, w.Recommended,
|
||||
)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,6 +31,21 @@ func TestWarningMessage(t *testing.T) {
|
|||
old := &Warning{kind: warningOldVersion, Probed: MustParse("1.52.1"), Recommended: RecommendedMin}
|
||||
if msg := old.Message(); msg == "" {
|
||||
t.Error("Message() for old-version warning is empty")
|
||||
} else {
|
||||
// The advisory names what goes wrong below the recommendation, not just
|
||||
// that something may: the DOLT_RESET('--hard') regression measured on
|
||||
// 2.3.0 and 2.3.1 (with 2.3.2 through 2.4.0 unmeasured), the join
|
||||
// mis-plan before 2.4.0 and the descending-index read failure before
|
||||
// 2.3.3.
|
||||
for _, want := range []string{
|
||||
"1.52.1", RecommendedMin.String(),
|
||||
"DOLT_RESET('--hard')", "2.3.0 and 2.3.1", "2.3.2 through 2.4.0 are unmeasured",
|
||||
"2.4.0", "dolthub/dolt#11886", "2.3.3", "table has unknown fields",
|
||||
} {
|
||||
if !strings.Contains(msg, want) {
|
||||
t.Errorf("Message() = %q, want it to mention %q", msg, want)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
unverifiable := &Warning{kind: warningUnverifiable, RawOutput: "garbage output"}
|
||||
|
|
|
|||
|
|
@ -190,6 +190,7 @@ go_test(
|
|||
"merge_blockers_test.go",
|
||||
"merge_strategy_test.go",
|
||||
"metadata_cas_contract_test.go",
|
||||
"migrate_compaction_snapshots_index_test.go",
|
||||
"migrate_consent_gate_test.go",
|
||||
"migrate_dep_rekey_dedup_test.go",
|
||||
"migrate_events_flip_test.go",
|
||||
|
|
|
|||
|
|
@ -0,0 +1,226 @@
|
|||
//go:build cgo
|
||||
|
||||
package embeddeddolt_test
|
||||
|
||||
import (
|
||||
"context"
|
||||
"database/sql"
|
||||
"path/filepath"
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
"github.com/steveyegge/beads/internal/storage/embeddeddolt"
|
||||
"github.com/steveyegge/beads/internal/storage/issueops"
|
||||
"github.com/steveyegge/beads/internal/storage/schema"
|
||||
)
|
||||
|
||||
// These tests pin migration 0071 (gastownhall/beads#7646 review) on the engine
|
||||
// bd links, which -- unlike Dolt older than 2.3.3 -- stores 0010's
|
||||
// idx_comp_snap_issue (issue_id, compaction_level, created_at DESC) with
|
||||
// created_at really descending. That stored DESC is what older Dolt cannot
|
||||
// decode ("table has unknown fields"), so the tests read the shape
|
||||
// information_schema reports, the foreign key the index backs, and the
|
||||
// table's one reader. They need BEADS_TEST_EMBEDDED_DOLT=1 (requireEmbedded,
|
||||
// migrate_selfheal_test.go). The CLI-bundle half is
|
||||
// TestMigration0071LeavesNoDescendingIndexThroughDoltCLI in
|
||||
// internal/storage/schema.
|
||||
|
||||
const compSnapMigration0071 = "0071_replace_descending_compaction_snapshots_index.up.sql"
|
||||
|
||||
const compSnapTwinShape = "issue_id:A,compaction_level:A,created_at:A"
|
||||
|
||||
func TestEmbeddedMigration0071ReplacesDescendingCompactionSnapshotsIndex(t *testing.T) {
|
||||
requireEmbedded(t)
|
||||
ctx := t.Context()
|
||||
upSQL, err := schema.MigrationSQL(compSnapMigration0071)
|
||||
if err != nil {
|
||||
t.Fatalf("read 0071 migration: %v", err)
|
||||
}
|
||||
|
||||
// The upgrade a v69 user takes through the production MigrateUp path, which
|
||||
// applies 0070 and then 0071.
|
||||
t.Run("upgrade from v69", func(t *testing.T) {
|
||||
dataDir := seedMainSchemaAt(t, ctx, 69)
|
||||
conn, closeConn := openPinnedConn(t, ctx, dataDir)
|
||||
defer closeConn()
|
||||
|
||||
if got, want := compSnapIndexShape(t, ctx, conn, "idx_comp_snap_issue"), "issue_id:A,compaction_level:A,created_at:D"; got != want {
|
||||
t.Fatalf("v69 idx_comp_snap_issue = %q, want %q: this engine should store 0010's DESC, which is the shape 0071 removes", got, want)
|
||||
}
|
||||
|
||||
// The newest snapshot of cs-keep is neither first nor last in index
|
||||
// order, so the reader below has to sort on created_at to find it.
|
||||
execFrozenGuard(t, ctx, conn, `
|
||||
INSERT INTO issues (id, title, description, design, acceptance_criteria, notes, status, priority, issue_type)
|
||||
VALUES ('cs-keep', 'x', '', '', '', '', 'open', 2, 'task'),
|
||||
('cs-gone', 'x', '', '', '', '', 'open', 2, 'task');
|
||||
INSERT INTO compaction_snapshots (id, issue_id, compaction_level, snapshot_json, created_at)
|
||||
VALUES ('cs-snap-1', 'cs-keep', 1, '{"title":"oldest"}', '2026-10-01 00:00:00'),
|
||||
('cs-snap-2', 'cs-keep', 2, '{"title":"middle"}', '2026-10-02 00:00:00'),
|
||||
('cs-snap-3', 'cs-keep', 1, '{"title":"newest"}', '2026-10-03 00:00:00'),
|
||||
('cs-snap-4', 'cs-gone', 1, '{"title":"doomed"}', '2026-10-01 00:00:00');
|
||||
`)
|
||||
mustDrain(t, ctx, conn, "CALL DOLT_ADD('-A')")
|
||||
mustDrain(t, ctx, conn, "CALL DOLT_COMMIT('-m', 'test: seed compaction snapshots')")
|
||||
if got := compSnapLatestTitle(t, ctx, conn, "cs-keep"); got != "newest" {
|
||||
t.Fatalf("before 0071, latest cs-keep snapshot = %q, want %q", got, "newest")
|
||||
}
|
||||
|
||||
if _, err := schema.MigrateUp(ctx, conn); err != nil {
|
||||
t.Fatalf("MigrateUp from v69: %v", err)
|
||||
}
|
||||
compSnapRequireReplaced(t, ctx, conn)
|
||||
// A clone or a pull hands the other side HEAD, not the working set.
|
||||
if tables := dirtyTableNames(t, ctx, conn); contains(tables, "compaction_snapshots") {
|
||||
t.Fatalf("compaction_snapshots still dirty after MigrateUp (%v); 0071's step commit must carry the new index into HEAD", tables)
|
||||
}
|
||||
if got := compSnapLatestTitle(t, ctx, conn, "cs-keep"); got != "newest" {
|
||||
t.Fatalf("after 0071, latest cs-keep snapshot = %q, want %q", got, "newest")
|
||||
}
|
||||
|
||||
// Replaying the file onto the migrated store changes nothing.
|
||||
execFrozenGuard(t, ctx, conn, upSQL)
|
||||
compSnapRequireReplaced(t, ctx, conn)
|
||||
|
||||
// fk_comp_snap_issue, now backed by the twin, still cascades a delete
|
||||
// and still refuses a snapshot of a missing issue.
|
||||
execFrozenGuard(t, ctx, conn, "DELETE FROM issues WHERE id = 'cs-gone'")
|
||||
if got := scalarInt(t, ctx, conn, "SELECT COUNT(*) FROM compaction_snapshots WHERE issue_id = 'cs-gone'"); got != 0 {
|
||||
t.Fatalf("snapshots of deleted issue cs-gone = %d, want 0 (ON DELETE CASCADE)", got)
|
||||
}
|
||||
if _, err := conn.ExecContext(ctx, `
|
||||
INSERT INTO compaction_snapshots (id, issue_id, compaction_level, snapshot_json, created_at)
|
||||
VALUES ('cs-snap-5', 'cs-missing', 1, '{}', '2026-10-04 00:00:00')`); err == nil {
|
||||
t.Fatal("snapshot of missing issue cs-missing was accepted; fk_comp_snap_issue must refuse it")
|
||||
}
|
||||
})
|
||||
|
||||
// DDL is not transactional: a pass killed after the add holds both
|
||||
// indexes, and running the file again must skip the add and finish the
|
||||
// drop.
|
||||
t.Run("resume after the add", func(t *testing.T) {
|
||||
dataDir := seedMainSchemaAt(t, ctx, 69)
|
||||
conn, closeConn := openPinnedConn(t, ctx, dataDir)
|
||||
defer closeConn()
|
||||
|
||||
execFrozenGuard(t, ctx, conn, "ALTER TABLE compaction_snapshots ADD INDEX idx_comp_snap_issue_asc (issue_id, compaction_level, created_at)")
|
||||
execFrozenGuard(t, ctx, conn, upSQL)
|
||||
compSnapRequireReplaced(t, ctx, conn)
|
||||
})
|
||||
|
||||
t.Run("store without the table", func(t *testing.T) {
|
||||
dataDir := seedMainSchemaAt(t, ctx, 69)
|
||||
conn, closeConn := openPinnedConn(t, ctx, dataDir)
|
||||
defer closeConn()
|
||||
|
||||
execFrozenGuard(t, ctx, conn, "DROP TABLE compaction_snapshots")
|
||||
execFrozenGuard(t, ctx, conn, upSQL)
|
||||
if got := scalarInt(t, ctx, conn, "SELECT COUNT(*) FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'compaction_snapshots'"); got != 0 {
|
||||
t.Fatalf("compaction_snapshots tables = %d after 0071 on a store without one, want 0", got)
|
||||
}
|
||||
})
|
||||
|
||||
// A store created from nothing by the open path bd init uses.
|
||||
t.Run("fresh store", func(t *testing.T) {
|
||||
beadsDir := filepath.Join(t.TempDir(), ".beads")
|
||||
store, err := embeddeddolt.Open(ctx, beadsDir, "testdb", "main")
|
||||
if err != nil {
|
||||
t.Fatalf("open fresh store: %v", err)
|
||||
}
|
||||
if err := store.Close(); err != nil {
|
||||
t.Fatalf("close fresh store: %v", err)
|
||||
}
|
||||
conn, closeConn := openPinnedConn(t, ctx, filepath.Join(beadsDir, "embeddeddolt"))
|
||||
defer closeConn()
|
||||
|
||||
compSnapRequireReplaced(t, ctx, conn)
|
||||
// One descending index column anywhere makes the database unreadable
|
||||
// for Dolt older than 2.3.3. A migration that wants one has to make
|
||||
// that trade-off on purpose and change this assertion.
|
||||
if cols := compSnapDescendingColumns(t, ctx, conn); len(cols) != 0 {
|
||||
t.Fatalf("fresh store has descending index columns %v, want none", cols)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// compSnapIndexShape returns an index on compaction_snapshots as
|
||||
// "column:collation,..." in index order, or "" when the index does not exist.
|
||||
func compSnapIndexShape(t *testing.T, ctx context.Context, conn *sql.Conn, index string) string {
|
||||
t.Helper()
|
||||
var shape sql.NullString
|
||||
if err := conn.QueryRowContext(ctx, `
|
||||
SELECT GROUP_CONCAT(CONCAT(COLUMN_NAME, ':', COALESCE(COLLATION, '?')) ORDER BY SEQ_IN_INDEX)
|
||||
FROM INFORMATION_SCHEMA.STATISTICS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'compaction_snapshots' AND INDEX_NAME = ?`, index).Scan(&shape); err != nil {
|
||||
t.Fatalf("read %s shape: %v", index, err)
|
||||
}
|
||||
return shape.String
|
||||
}
|
||||
|
||||
// compSnapRequireReplaced asserts 0071's end state: the all-ascending twin in
|
||||
// place of idx_comp_snap_issue, and fk_comp_snap_issue as 0042 left it.
|
||||
func compSnapRequireReplaced(t *testing.T, ctx context.Context, conn *sql.Conn) {
|
||||
t.Helper()
|
||||
if got := compSnapIndexShape(t, ctx, conn, "idx_comp_snap_issue"); got != "" {
|
||||
t.Fatalf("idx_comp_snap_issue = %q after 0071, want it dropped", got)
|
||||
}
|
||||
if got := compSnapIndexShape(t, ctx, conn, "idx_comp_snap_issue_asc"); got != compSnapTwinShape {
|
||||
t.Fatalf("idx_comp_snap_issue_asc = %q after 0071, want %q", got, compSnapTwinShape)
|
||||
}
|
||||
var refTable, updateRule, deleteRule string
|
||||
if err := conn.QueryRowContext(ctx, `
|
||||
SELECT REFERENCED_TABLE_NAME, UPDATE_RULE, DELETE_RULE
|
||||
FROM INFORMATION_SCHEMA.REFERENTIAL_CONSTRAINTS
|
||||
WHERE CONSTRAINT_SCHEMA = DATABASE() AND CONSTRAINT_NAME = 'fk_comp_snap_issue'`).Scan(&refTable, &updateRule, &deleteRule); err != nil {
|
||||
t.Fatalf("read fk_comp_snap_issue: %v", err)
|
||||
}
|
||||
if refTable != "issues" || updateRule != "CASCADE" || deleteRule != "CASCADE" {
|
||||
t.Fatalf("fk_comp_snap_issue references %s ON UPDATE %s ON DELETE %s, want issues ON UPDATE CASCADE ON DELETE CASCADE", refTable, updateRule, deleteRule)
|
||||
}
|
||||
}
|
||||
|
||||
// compSnapLatestTitle reads an issue's newest snapshot through the table's
|
||||
// production reader.
|
||||
func compSnapLatestTitle(t *testing.T, ctx context.Context, conn *sql.Conn, issueID string) string {
|
||||
t.Helper()
|
||||
tx, err := conn.BeginTx(ctx, nil)
|
||||
if err != nil {
|
||||
t.Fatalf("begin: %v", err)
|
||||
}
|
||||
defer func() { _ = tx.Rollback() }()
|
||||
snap, err := issueops.GetLatestSnapshotInTx(ctx, tx, issueID)
|
||||
if err != nil {
|
||||
t.Fatalf("GetLatestSnapshotInTx(%s): %v", issueID, err)
|
||||
}
|
||||
if snap == nil {
|
||||
t.Fatalf("GetLatestSnapshotInTx(%s) found no snapshot", issueID)
|
||||
}
|
||||
return snap.Title
|
||||
}
|
||||
|
||||
// compSnapDescendingColumns lists every index column in the database that
|
||||
// information_schema reports as stored descending.
|
||||
func compSnapDescendingColumns(t *testing.T, ctx context.Context, conn *sql.Conn) []string {
|
||||
t.Helper()
|
||||
rows, err := conn.QueryContext(ctx, `
|
||||
SELECT TABLE_NAME, INDEX_NAME, COLUMN_NAME
|
||||
FROM INFORMATION_SCHEMA.STATISTICS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND COLLATION = 'D'
|
||||
ORDER BY TABLE_NAME, INDEX_NAME, SEQ_IN_INDEX`)
|
||||
if err != nil {
|
||||
t.Fatalf("read descending index columns: %v", err)
|
||||
}
|
||||
defer rows.Close()
|
||||
var out []string
|
||||
for rows.Next() {
|
||||
var table, index, column string
|
||||
if err := rows.Scan(&table, &index, &column); err != nil {
|
||||
t.Fatalf("scan descending index column: %v", err)
|
||||
}
|
||||
out = append(out, strings.Join([]string{table, index, column}, "."))
|
||||
}
|
||||
if err := rows.Err(); err != nil {
|
||||
t.Fatalf("read descending index columns: %v", err)
|
||||
}
|
||||
return out
|
||||
}
|
||||
|
|
@ -317,20 +317,24 @@ func TestEmbeddedGuardedUpdateMintsOnceAfterItsPatches(t *testing.T) {
|
|||
// aggregate-over-index rewrite (dolthub/go-mysql-server#3907) returns zero rows
|
||||
// for that shape, which failed every first mint with "sql: no rows in result
|
||||
// set". The second mint pins that the computation still advances on a
|
||||
// non-empty prefix.
|
||||
// non-empty prefix, and a second issue's first mint pins that it counts per
|
||||
// issue: without the issue_id filter it would continue the first issue's
|
||||
// sequence.
|
||||
func TestEmbeddedFirstMintOnEmptyHistoryIsRevisionOne(t *testing.T) {
|
||||
skipUnlessEmbeddedDolt(t)
|
||||
te := newTestEnv(t, "verfirst")
|
||||
ctx := t.Context()
|
||||
p := newVersionProbe(t, te, "verfirst")
|
||||
|
||||
id := p.kit.IssuePrefix + "-a"
|
||||
if err := p.kit.CreateIssue(ctx, &types.Issue{
|
||||
ID: id, Title: id, Status: types.StatusOpen, Priority: 2, IssueType: types.TypeTask,
|
||||
}, "seed"); err != nil {
|
||||
t.Fatalf("CreateIssue(%s) on empty history: %v", id, err)
|
||||
create := func(id string) {
|
||||
t.Helper()
|
||||
if err := p.kit.CreateIssue(ctx, &types.Issue{
|
||||
ID: id, Title: id, Status: types.StatusOpen, Priority: 2, IssueType: types.TypeTask,
|
||||
}, "seed"); err != nil {
|
||||
t.Fatalf("CreateIssue(%s) on empty history: %v", id, err)
|
||||
}
|
||||
}
|
||||
maxRevision := func() int {
|
||||
maxRevision := func(id string) int {
|
||||
t.Helper()
|
||||
var rev int
|
||||
if err := p.kit.QueryScalar(ctx,
|
||||
|
|
@ -340,7 +344,10 @@ func TestEmbeddedFirstMintOnEmptyHistoryIsRevisionOne(t *testing.T) {
|
|||
}
|
||||
return rev
|
||||
}
|
||||
if got := maxRevision(); got != 1 {
|
||||
|
||||
id := p.kit.IssuePrefix + "-a"
|
||||
create(id)
|
||||
if got := maxRevision(id); got != 1 {
|
||||
t.Fatalf("first mint revision = %d, want 1", got)
|
||||
}
|
||||
p.expect("first mint", id, 0, 1)
|
||||
|
|
@ -349,8 +356,16 @@ func TestEmbeddedFirstMintOnEmptyHistoryIsRevisionOne(t *testing.T) {
|
|||
if err := te.store.AddLabel(ctx, id, "l1", "actor"); err != nil {
|
||||
t.Fatalf("AddLabel: %v", err)
|
||||
}
|
||||
if got := maxRevision(); got != 2 {
|
||||
if got := maxRevision(id); got != 2 {
|
||||
t.Fatalf("second mint revision = %d, want 2", got)
|
||||
}
|
||||
p.revisionMatchesRows(id)
|
||||
|
||||
other := p.kit.IssuePrefix + "-b"
|
||||
create(other)
|
||||
if got := maxRevision(other); got != 1 {
|
||||
t.Fatalf("first mint revision for a second issue = %d, want 1 (revisions count per issue)", got)
|
||||
}
|
||||
p.expect("second issue's first mint", other, 0, 1)
|
||||
p.revisionMatchesRows(other)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -120,6 +120,7 @@ go_library(
|
|||
"migrations/0069_widen_issue_versions_datetime_precision.up.sql",
|
||||
"migrations/ignored/0028_add_wisps_participation_generation.up.sql",
|
||||
"migrations/0070_add_participation_generation.up.sql",
|
||||
"migrations/0071_replace_descending_compaction_snapshots_index.up.sql",
|
||||
],
|
||||
importpath = "github.com/steveyegge/beads/internal/storage/schema",
|
||||
visibility = ["//:__subpackages__"],
|
||||
|
|
@ -154,6 +155,7 @@ go_test(
|
|||
"migration_0068_add_attribution_status_test.go",
|
||||
"migration_0069_datetime_precision_test.go",
|
||||
"migration_0070_add_participation_generation_test.go",
|
||||
"migration_0071_compaction_snapshots_index_test.go",
|
||||
"migration_body_drain_test.go",
|
||||
"migration_freeze_test.go",
|
||||
"migration_watchdog_test.go",
|
||||
|
|
|
|||
|
|
@ -18,15 +18,20 @@ package schema
|
|||
// this limitation does not apply.
|
||||
//
|
||||
// Dolt 2.3.0 fixed #11345, and that fix MASKS a missing override here rather
|
||||
// than removing the need for one: on 2.3.x the CLI executes the prepared
|
||||
// than removing the need for one: a 2.3.0-or-newer CLI executes the prepared
|
||||
// ALTER, so a bundle that forgot the direct statement still lands the right
|
||||
// schema and TestCLIBundleMatchesRuntimeCommittedSchema goes green against a
|
||||
// 2.2.0 sql-server. So every override below must be justified against the
|
||||
// pre-2.3 behavior, and the string assertions in
|
||||
// TestAllMigrationsSQLUsesDirectDDLForKnownCLIIncompatibilities — which need
|
||||
// no Dolt binary at all — are the guard that survives a CLI version bump.
|
||||
// schema. Run through a 2.3.x CLI, TestCLIBundleMatchesRuntimeCommittedSchema
|
||||
// went green that way against the then-pinned 2.2.0 sql-server, and with the
|
||||
// CLI now pinned at 2.4.1 it cannot catch a dropped override on any run
|
||||
// (probed 2026-10-18: a prepared ADD COLUMN vanishes on the 2.2.0 CLI and
|
||||
// lands on 2.4.1). So every override below must be justified against the
|
||||
// pre-2.3 behavior, and the guards that still work need no Dolt binary at
|
||||
// all: the string assertions in
|
||||
// TestAllMigrationsSQLUsesDirectDDLForKnownCLIIncompatibilities and
|
||||
// TestBundleMigrationsWithPreparedALTERAreOverriddenOrJustified
|
||||
// (cli_prepared_ddl.go).
|
||||
//
|
||||
// The measurement that check stands in for: run AllMigrationsSQL() through
|
||||
// The measurement those checks stand in for: run AllMigrationsSQL() through
|
||||
// each CLI and diff information_schema. On 2026-08-21, with 0060's and 0065's
|
||||
// overrides both in place, dolt 2.1.8, 2.2.0 (the CLI pinned then) and 2.3.1 agree
|
||||
// on all 504 snapshot lines including the wisp_ tables the parity oracle
|
||||
|
|
|
|||
|
|
@ -33,9 +33,9 @@ import (
|
|||
// execute: ALTER COLUMN ... DROP DEFAULT, RENAME COLUMN, ADD/DROP INDEX,
|
||||
// ADD CONSTRAINT (FK and CHECK), CREATE INDEX, RENAME TABLE, CALL
|
||||
//
|
||||
// Flagging every prepared ALTER TABLE rather than just the first row costs one
|
||||
// justified inventory entry (0050) and buys not having to guess whether some
|
||||
// ALTER form nobody probed belongs in the first list. Prepared DML against a
|
||||
// Flagging every prepared ALTER TABLE rather than just the first row costs two
|
||||
// justified inventory entries (0050, 0071) and buys not having to guess whether
|
||||
// some ALTER form nobody probed belongs in the first list. Prepared DML against a
|
||||
// real table vanishes too, but that hazard already has an owner in
|
||||
// scripts/check-migration-hygiene.sh check E, which flags it at source rather
|
||||
// than in the bundle.
|
||||
|
|
@ -234,11 +234,13 @@ func sqlStringLiterals(text string) []string {
|
|||
// cliCompatibleMigrationSQL. That is what 0060 (gastownhall/beads#5903) and
|
||||
// 0065 needed, and neither is listed here.
|
||||
//
|
||||
// Every entry below was measured on 2026-08-21, not argued: build the bundle
|
||||
// truncated to just before migration N, snapshot information_schema, apply N's
|
||||
// frozen text on dolt 2.3.1 (where prepared DDL always executes), and diff.
|
||||
// 0065's un-overridden text moves that diff, which is what makes the empty
|
||||
// diffs for the (a) entries mean something. Redo it before adding an entry --
|
||||
// Every entry below was measured, not argued. Through 0058 that was on
|
||||
// 2026-08-21: build the bundle truncated to just before migration N, snapshot
|
||||
// information_schema, apply N's frozen text on dolt 2.3.1 (where prepared DDL
|
||||
// always executes), and diff. 0065's un-overridden text moves that diff, which
|
||||
// is what makes the empty diffs for the (a) entries mean something. 0071 was
|
||||
// measured on 2026-10-18 by building the whole bundle with dolt 2.1.8 and
|
||||
// 2.4.1 and comparing the two. Redo the measurement before adding an entry --
|
||||
// a wrong justification here is invisible to every test in this package.
|
||||
var preparedALTERSafeOnFreshBundle = map[string]string{
|
||||
"0037_uuid_primary_keys.up.sql": "(a) Rekeys events/comments/issue_snapshots ids only where the column is still " +
|
||||
|
|
@ -262,4 +264,9 @@ var preparedALTERSafeOnFreshBundle = map[string]string{
|
|||
"0058_heal_wisp_dependencies_split_constraints.up.sql": "(a) Re-adds wisp_dependencies' target FKs and check " +
|
||||
"constraint only where absent; 0021 creates the table with all three. Measured: applying 0058 to the fresh " +
|
||||
"bundle changes nothing.",
|
||||
"0071_replace_descending_compaction_snapshots_index.up.sql": "(b) Its guards DO fire on a fresh bundle -- 0010 " +
|
||||
"creates idx_comp_snap_issue -- but the statements are ADD INDEX and DROP INDEX, which execute through the " +
|
||||
"CLI batch path on 2.1.8 as well as 2.4.1. Measured: the bundles those two CLIs build agree on " +
|
||||
"compaction_snapshots -- idx_comp_snap_issue_asc with every column ascending, no idx_comp_snap_issue, and " +
|
||||
"fk_comp_snap_issue still ON DELETE/ON UPDATE CASCADE.",
|
||||
}
|
||||
|
|
|
|||
|
|
@ -33,21 +33,6 @@ import (
|
|||
const migration0070Up = "0070_add_participation_generation.up.sql"
|
||||
const migration0070Down = "0070_add_participation_generation.down.sql"
|
||||
|
||||
// TestLatestVersionIncludesMigration0070 pins the real next free slot this
|
||||
// migration claims, superseding 0069's own version of this test
|
||||
// (LatestVersion() moved from 69 to 70 the moment this migration file was
|
||||
// added). Deliberately a hardcoded literal for the same reason 0067's,
|
||||
// 0068's, and 0069's were: LatestVersion() drifting to 70 for the wrong
|
||||
// reason (an unrelated migration landing first) should still be caught by
|
||||
// this test failing to explain why 70 is participation_generation-shaped,
|
||||
// which the CLI test below checks.
|
||||
func TestLatestVersionIncludesMigration0070(t *testing.T) {
|
||||
const want = 70
|
||||
if got := LatestVersion(); got != want {
|
||||
t.Fatalf("LatestVersion() = %d, want %d (issues/wisps participation_generation migration slot claimed by be-h89oq)", got, want)
|
||||
}
|
||||
}
|
||||
|
||||
// TestMigration0070AddsParticipationGeneration is the pure-Go, DB-independent
|
||||
// half of the pin, mirroring TestMigration0069WidensChangeAtAndRemovedAtPrecision's
|
||||
// shape: it checks the frozen migration bytes and the CLI-bundle override
|
||||
|
|
|
|||
|
|
@ -0,0 +1,145 @@
|
|||
package schema
|
||||
|
||||
import (
|
||||
"os"
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
"github.com/steveyegge/beads/internal/testutil"
|
||||
)
|
||||
|
||||
// Migration 0071 (gastownhall/beads#7646 review): 0010 declares
|
||||
// compaction_snapshots' idx_comp_snap_issue with created_at DESC. Dolt 2.3.3
|
||||
// and later store that column descending (dolthub/dolt#11746), and Dolt older
|
||||
// than 2.3.3 cannot decode a table that holds one -- every INSERT and every
|
||||
// information_schema query fails with "table has unknown fields", which takes
|
||||
// released bd (Dolt 2.2.0 driver) down on open, past its schema-skew refusal
|
||||
// and past BD_IGNORE_SCHEMA_SKEW=1. The DESC never helped a query, so 0071
|
||||
// replaces the index with the all-ascending twin idx_comp_snap_issue_asc. The
|
||||
// real-engine half of the pin (guards firing, a resumed pass, a replay, the
|
||||
// foreign key still cascading) is
|
||||
// TestEmbeddedMigration0071ReplacesDescendingCompactionSnapshotsIndex in
|
||||
// internal/storage/embeddeddolt.
|
||||
const migration0071Up = "0071_replace_descending_compaction_snapshots_index.up.sql"
|
||||
const migration0071Down = "0071_replace_descending_compaction_snapshots_index.down.sql"
|
||||
|
||||
const migration0071OldIndexGuard = "@comp_snap_has_old_index"
|
||||
const migration0071TwinIndexGuard = "@comp_snap_has_twin_index"
|
||||
|
||||
// TestLatestVersionIncludesMigration0071 pins the slot this migration claims,
|
||||
// superseding 0070's version of this test. It is a hardcoded literal for the
|
||||
// reason 0067's through 0070's were: LatestVersion() reaching 71 because some
|
||||
// other migration landed there first should fail here, not pass silently.
|
||||
// Migrations take slots in landing order: gastownhall/beads#6943 landed 0070
|
||||
// first, so this one renumbered to 0071, and of two open PRs that both number
|
||||
// 0071 the second to land renumbers again (versions must stay gap-free, see
|
||||
// TestAllMigrationsSQLAppliesThroughDoltCLIAndRecordsLatestVersion).
|
||||
func TestLatestVersionIncludesMigration0071(t *testing.T) {
|
||||
const want = 71
|
||||
if got := LatestVersion(); got != want {
|
||||
t.Fatalf("LatestVersion() = %d, want %d (compaction_snapshots ascending-index migration slot claimed by gastownhall/beads#7646)", got, want)
|
||||
}
|
||||
}
|
||||
|
||||
// TestMigration0071ReplacesDescendingCompactionSnapshotsIndex is the pure-Go
|
||||
// half of the pin: the frozen-to-be migration bytes, the absence of a CLI
|
||||
// override, the inventory entry that justifies leaving the prepared DDL in
|
||||
// the fresh bundle, and the down file. No `dolt` binary required.
|
||||
func TestMigration0071ReplacesDescendingCompactionSnapshotsIndex(t *testing.T) {
|
||||
upSQL, err := MigrationSQL(migration0071Up)
|
||||
if err != nil {
|
||||
t.Fatalf("MigrationSQL(%s) error = %v, want the migration file to exist", migration0071Up, err)
|
||||
}
|
||||
for _, want := range []string{
|
||||
// The closing quote pins the twin's column list: no DESC, the
|
||||
// descending column Dolt older than 2.3.3 cannot read.
|
||||
"ALTER TABLE compaction_snapshots ADD INDEX idx_comp_snap_issue_asc (issue_id, compaction_level, created_at)'",
|
||||
"ALTER TABLE compaction_snapshots DROP INDEX idx_comp_snap_issue'",
|
||||
migration0071OldIndexGuard,
|
||||
migration0071TwinIndexGuard,
|
||||
"INFORMATION_SCHEMA.STATISTICS",
|
||||
} {
|
||||
if !strings.Contains(upSQL, want) {
|
||||
t.Errorf("0071 up migration missing %q\nfull SQL:\n%s", want, upSQL)
|
||||
}
|
||||
}
|
||||
if add, drop := strings.Index(upSQL, "ADD INDEX idx_comp_snap_issue_asc"), strings.Index(upSQL, "DROP INDEX idx_comp_snap_issue'"); add < 0 || drop < 0 || add > drop {
|
||||
t.Error("0071 up migration must add the twin before dropping idx_comp_snap_issue: fk_comp_snap_issue refuses to lose its only issue_id-leading index")
|
||||
}
|
||||
if !strings.Contains(strings.ToUpper(upSQL), "PREPARE STMT FROM @SQL") {
|
||||
t.Error("0071 up migration must keep its guarded PREPARE blocks -- they are what make a resumed pass and a raw .up.sql replay no-ops")
|
||||
}
|
||||
|
||||
if got := cliCompatibleMigrationSQL(migration0071Up, upSQL); got != upSQL {
|
||||
t.Error("0071 has no CLI-bundle override: its prepared ADD INDEX and DROP INDEX execute through the dolt CLI batch path, so the bundle must carry the migration text unchanged")
|
||||
}
|
||||
if _, ok := preparedALTERSafeOnFreshBundle[migration0071Up]; !ok {
|
||||
t.Errorf("preparedALTERSafeOnFreshBundle must justify %s's prepared ALTERs staying in the fresh bundle", migration0071Up)
|
||||
}
|
||||
if cliSubstituteAssumesWispTables(migration0071Up) {
|
||||
t.Error("0071 touches only compaction_snapshots, which has no wisps-side twin -- it must not be listed in cliSubstituteAssumesWispTables")
|
||||
}
|
||||
|
||||
// Only migrations/*.up.sql is //go:embed'd, so the down file is read
|
||||
// from disk by package-relative path.
|
||||
downBytes, err := os.ReadFile("migrations/" + migration0071Down)
|
||||
if err != nil {
|
||||
t.Fatalf("read %s: %v, want the migration file to exist", migration0071Down, err)
|
||||
}
|
||||
downSQL := string(downBytes)
|
||||
for _, want := range []string{
|
||||
"ALTER TABLE compaction_snapshots ADD INDEX idx_comp_snap_issue (issue_id, compaction_level, created_at DESC)'",
|
||||
"ALTER TABLE compaction_snapshots DROP INDEX idx_comp_snap_issue_asc'",
|
||||
migration0071OldIndexGuard,
|
||||
migration0071TwinIndexGuard,
|
||||
} {
|
||||
if !strings.Contains(downSQL, want) {
|
||||
t.Errorf("0071 down migration missing %q\nfull SQL:\n%s", want, downSQL)
|
||||
}
|
||||
}
|
||||
if add, drop := strings.Index(downSQL, "ADD INDEX idx_comp_snap_issue "), strings.Index(downSQL, "DROP INDEX idx_comp_snap_issue_asc"); add < 0 || drop < 0 || add > drop {
|
||||
t.Error("0071 down migration must restore idx_comp_snap_issue before dropping the twin, for the same foreign-key reason as the up file")
|
||||
}
|
||||
}
|
||||
|
||||
// TestMigration0071LeavesNoDescendingIndexThroughDoltCLI builds the fresh
|
||||
// bundle with the `dolt` on PATH (skipped without one) and reads the result
|
||||
// from information_schema. On a CLI that persists DESC (2.3.3 and later) this
|
||||
// is the case 0071 exists for; on an older CLI it shows the prepared ADD and
|
||||
// DROP INDEX really executed, which is what preparedALTERSafeOnFreshBundle's
|
||||
// entry claims.
|
||||
func TestMigration0071LeavesNoDescendingIndexThroughDoltCLI(t *testing.T) {
|
||||
testutil.RequireDoltBinary(t)
|
||||
|
||||
dir := t.TempDir()
|
||||
runDoltCommand(t, dir, "init", "--name", "test", "--email", "test@example.com")
|
||||
runDoltSQL(t, dir, AllMigrationsSQL())
|
||||
|
||||
rows := queryDoltCSV(t, dir, `
|
||||
SELECT index_name AS index_name, column_name AS column_name, collation AS collation
|
||||
FROM information_schema.statistics
|
||||
WHERE table_schema = DATABASE() AND table_name = 'compaction_snapshots'
|
||||
ORDER BY index_name, seq_in_index`)
|
||||
var twin []string
|
||||
for _, row := range rows {
|
||||
switch row["index_name"] {
|
||||
case "idx_comp_snap_issue":
|
||||
t.Errorf("idx_comp_snap_issue still exists after the bundle (column %s, collation %s); 0071 must drop it", row["column_name"], row["collation"])
|
||||
case "idx_comp_snap_issue_asc":
|
||||
twin = append(twin, row["column_name"]+":"+row["collation"])
|
||||
}
|
||||
}
|
||||
if got, want := strings.Join(twin, ","), "issue_id:A,compaction_level:A,created_at:A"; got != want {
|
||||
t.Errorf("idx_comp_snap_issue_asc columns = %q, want %q", got, want)
|
||||
}
|
||||
requireDoltFKRules(t, dir, "fk_comp_snap_issue", "CASCADE", "CASCADE")
|
||||
|
||||
// The fresh schema as a whole: one descending index column anywhere makes
|
||||
// the database unreadable for Dolt older than 2.3.3, which is the failure
|
||||
// this migration removes. A new migration that wants DESC has to make that
|
||||
// trade-off on purpose and change this assertion.
|
||||
requireDoltNoRows(t, dir, `
|
||||
SELECT table_name, index_name, column_name
|
||||
FROM information_schema.statistics
|
||||
WHERE table_schema = DATABASE() AND collation = 'D'`, "descending index columns in the fresh schema")
|
||||
}
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
-- Reverse of 0071: restore 0010's idx_comp_snap_issue (issue_id,
|
||||
-- compaction_level, created_at DESC) and drop the ascending twin
|
||||
-- idx_comp_snap_issue_asc. The order mirrors the up file: fk_comp_snap_issue
|
||||
-- needs an issue_id-leading index at every step, so the restored index goes
|
||||
-- in before the twin comes out.
|
||||
--
|
||||
-- On Dolt 2.3.3 and later this brings back the descending storage the up
|
||||
-- file removes, so Dolt older than 2.3.3 -- and every bd release that links
|
||||
-- one -- again fails on this database with "table has unknown fields".
|
||||
-- That is the faithful v70 schema; roll back only as far as the bd and Dolt
|
||||
-- you then run can read.
|
||||
--
|
||||
-- Guarded on INFORMATION_SCHEMA.STATISTICS like the up file, so a store that
|
||||
-- never took 0071, or was already rolled back, no-ops. Only
|
||||
-- migrations/*.up.sql is embedded into the CLI fresh bundle, so the PREPARE
|
||||
-- hazard (cli_prepared_ddl.go) never reaches this file.
|
||||
SET @comp_snap_has_old_index = (
|
||||
SELECT IF(COUNT(*) > 0, 1, 0)
|
||||
FROM INFORMATION_SCHEMA.STATISTICS
|
||||
WHERE TABLE_SCHEMA = DATABASE()
|
||||
AND TABLE_NAME = 'compaction_snapshots'
|
||||
AND INDEX_NAME = 'idx_comp_snap_issue'
|
||||
);
|
||||
SET @comp_snap_has_twin_index = (
|
||||
SELECT IF(COUNT(*) > 0, 1, 0)
|
||||
FROM INFORMATION_SCHEMA.STATISTICS
|
||||
WHERE TABLE_SCHEMA = DATABASE()
|
||||
AND TABLE_NAME = 'compaction_snapshots'
|
||||
AND INDEX_NAME = 'idx_comp_snap_issue_asc'
|
||||
);
|
||||
SET @sql = IF(@comp_snap_has_twin_index = 1 AND @comp_snap_has_old_index = 0,
|
||||
'ALTER TABLE compaction_snapshots ADD INDEX idx_comp_snap_issue (issue_id, compaction_level, created_at DESC)',
|
||||
'SELECT 1');
|
||||
PREPARE stmt FROM @sql; EXECUTE stmt; DEALLOCATE PREPARE stmt;
|
||||
SET @sql = IF(@comp_snap_has_twin_index = 1,
|
||||
'ALTER TABLE compaction_snapshots DROP INDEX idx_comp_snap_issue_asc',
|
||||
'SELECT 1');
|
||||
PREPARE stmt FROM @sql; EXECUTE stmt; DEALLOCATE PREPARE stmt;
|
||||
|
|
@ -0,0 +1,83 @@
|
|||
-- Migration 0071: replace compaction_snapshots' idx_comp_snap_issue
|
||||
-- (issue_id, compaction_level, created_at DESC), which 0010 declares, with
|
||||
-- the ascending twin idx_comp_snap_issue_asc (issue_id, compaction_level,
|
||||
-- created_at).
|
||||
--
|
||||
-- Dolt 2.3.3 and later store a descending index column as descending
|
||||
-- (dolthub/dolt#11746); earlier releases parsed the DESC and stored the
|
||||
-- column ascending. bd's embedded engine is Dolt 2.4.1, so a database it
|
||||
-- creates holds 0010's created_at DESC for real, and Dolt older than 2.3.3
|
||||
-- cannot decode that table's schema: a plain INSERT into any table, and any
|
||||
-- information_schema query, fails with "table has unknown fields". Released
|
||||
-- bd (v1.3.x links a Dolt 2.2.0 driver) hits that engine error on open
|
||||
-- instead of its structured schema-skew refusal, and BD_IGNORE_SCHEMA_SKEW=1
|
||||
-- does not get past it. The same goes for a database whose schema a dolt
|
||||
-- sql-server 2.3.3 or newer created, whatever the bd version.
|
||||
--
|
||||
-- What 0071 cannot reach is history. bd init commits each migration on its
|
||||
-- own, so on a database created by Dolt 2.3.3 or later the commits from
|
||||
-- 0010's through 0070's still hold the descending column. Dolt older than
|
||||
-- 2.3.3 fails the same way reading compaction_snapshots at one of them (AS
|
||||
-- OF, dolt_history_compaction_snapshots, dolt_diff_compaction_snapshots) and
|
||||
-- on any dolt diff with one as an endpoint. Reads and writes at the current
|
||||
-- root, other tables' AS OF and dolt_history_ reads, dolt log, push, clone
|
||||
-- and pull all work (measured with dolt 2.1.8 and 2.2.0 on 2026-10-18).
|
||||
--
|
||||
-- The DESC buys nothing. The table's one reader, GetLatestSnapshotInTx
|
||||
-- (internal/storage/issueops/compaction.go), filters on issue_id alone and
|
||||
-- orders by created_at DESC LIMIT 1; compaction_level sits between the two in
|
||||
-- the index, so the index cannot supply that order in either direction and
|
||||
-- the plan is the same TopN over an indexed lookup with or without the DESC.
|
||||
-- An index declared with no explicit order carries no order vectors, so
|
||||
-- every Dolt release can read the twin.
|
||||
--
|
||||
-- 0010 is frozen (scripts/check-migration-hygiene.sh check C), hence a new
|
||||
-- migration. Two shapes that look simpler fail on dolt 2.4.1:
|
||||
-- * Dropping idx_comp_snap_issue first, or swapping it in one ALTER,
|
||||
-- fails with "cannot drop index: idx_comp_snap_issue is used by foreign
|
||||
-- key fk_comp_snap_issue" -- the twin must exist before the drop, and
|
||||
-- Dolt then backs the foreign key with it.
|
||||
-- * Renaming the twin back to idx_comp_snap_issue fails at commit:
|
||||
-- "foreign key fk_comp_snap_issue has entered an invalid state". The
|
||||
-- new name stays; nothing reads the index by name.
|
||||
--
|
||||
-- DDL is not transactional (migrations/README.md), so each step is guarded
|
||||
-- on INFORMATION_SCHEMA.STATISTICS the way 0042 guards its foreign-key swap.
|
||||
-- Run again after a pass killed between the two steps, the file skips the
|
||||
-- add and does the drop, and a replay onto a store that already took this
|
||||
-- migration is a no-op (internal/storage/dolt's pr4107 replay harness
|
||||
-- requires that of every migration >= 0046). A missing table holds neither
|
||||
-- index, so both guards take the SELECT 1 branch.
|
||||
--
|
||||
-- The guards key on the index name, not on whether created_at is stored
|
||||
-- descending. A database Dolt older than 2.3.3 created holds an ascending
|
||||
-- idx_comp_snap_issue, and replacing that one too keeps every clone on one
|
||||
-- schema, so a later merge between clones never meets two index sets.
|
||||
--
|
||||
-- No CLI-bundle override: both prepared forms here, ALTER TABLE ... ADD
|
||||
-- INDEX and ... DROP INDEX, execute through the dolt CLI batch path on 2.1.8
|
||||
-- as well as 2.4.1 (measured; see preparedALTERSafeOnFreshBundle in
|
||||
-- cli_prepared_ddl.go). compaction_snapshots replicates -- it is main-plane,
|
||||
-- not clone-local -- so there is no ignored twin either.
|
||||
SET @comp_snap_has_old_index = (
|
||||
SELECT IF(COUNT(*) > 0, 1, 0)
|
||||
FROM INFORMATION_SCHEMA.STATISTICS
|
||||
WHERE TABLE_SCHEMA = DATABASE()
|
||||
AND TABLE_NAME = 'compaction_snapshots'
|
||||
AND INDEX_NAME = 'idx_comp_snap_issue'
|
||||
);
|
||||
SET @comp_snap_has_twin_index = (
|
||||
SELECT IF(COUNT(*) > 0, 1, 0)
|
||||
FROM INFORMATION_SCHEMA.STATISTICS
|
||||
WHERE TABLE_SCHEMA = DATABASE()
|
||||
AND TABLE_NAME = 'compaction_snapshots'
|
||||
AND INDEX_NAME = 'idx_comp_snap_issue_asc'
|
||||
);
|
||||
SET @sql = IF(@comp_snap_has_old_index = 1 AND @comp_snap_has_twin_index = 0,
|
||||
'ALTER TABLE compaction_snapshots ADD INDEX idx_comp_snap_issue_asc (issue_id, compaction_level, created_at)',
|
||||
'SELECT 1');
|
||||
PREPARE stmt FROM @sql; EXECUTE stmt; DEALLOCATE PREPARE stmt;
|
||||
SET @sql = IF(@comp_snap_has_old_index = 1,
|
||||
'ALTER TABLE compaction_snapshots DROP INDEX idx_comp_snap_issue',
|
||||
'SELECT 1');
|
||||
PREPARE stmt FROM @sql; EXECUTE stmt; DEALLOCATE PREPARE stmt;
|
||||
|
|
@ -369,9 +369,9 @@ func (s *localDoltServer) waitReady(port int, done chan struct{}, logStart int64
|
|||
select {
|
||||
case <-done:
|
||||
tail := s.logSince(logStart)
|
||||
// dolt 2.2.0 checks the port itself ("Port N already in use.");
|
||||
// a bind that loses the race after that check reports the
|
||||
// kernel's "address already in use".
|
||||
// dolt checks the port itself ("Port N already in use.", on
|
||||
// 2.2.0 and 2.4.1); a bind that loses the race after that check
|
||||
// reports the kernel's "address already in use".
|
||||
if strings.Contains(tail, "already in use") {
|
||||
return fmt.Errorf("%w: port %d: %s", errLocalServerBind, port, tail)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,8 +27,14 @@ set -euo pipefail
|
|||
# 2.4.1 is that release. Measured 2026-10-10 the same way: 2.3.1 8/150 broken
|
||||
# (the positive control, so the method still reproduces the regression),
|
||||
# 2.4.1 0/250 over two runs, and the embedded engine via driver v2.4.1 0/60.
|
||||
# The pin must also track the driver in go.mod: storage the 2.4.1 engine
|
||||
# writes is not writable by dolt 2.2.0 or 2.3.1 ("table has unknown fields").
|
||||
# The pin must also track the driver in go.mod, so the CLI and the container
|
||||
# run the engine embedded mode links. Releases before 2.4.0 drop a join
|
||||
# condition when an ON clause has an OR over indexed columns
|
||||
# (dolthub/dolt#11886). Releases before 2.3.3 cannot read a descending index
|
||||
# column ("table has unknown fields"); migration 0071 removed the one bd's
|
||||
# schema declared, so dolt 2.1.8 and 2.2.0 read and write the current root of
|
||||
# a database the 2.4.1 engine created, but its commits from before 0071 still
|
||||
# hold it (docs/architecture/dolt.md, "Which Dolt version to install").
|
||||
readonly version="2.4.1"
|
||||
readonly max_attempts=3
|
||||
readonly retry_delay_seconds=5
|
||||
|
|
|
|||
|
|
@ -8,7 +8,14 @@
|
|||
# ./scripts/test-git-remote.sh # Local bare git repo (default)
|
||||
# ./scripts/test-git-remote.sh <github-url> # Push to real GitHub repo
|
||||
#
|
||||
# Requirements: bd, dolt (>= 2.2.0), git
|
||||
# Requirements: bd, dolt (>= 2.2.0; 2.4.1, the pinned release, recommended), git
|
||||
#
|
||||
# 2.2.0 is enough even when bd links the Dolt 2.4.1 engine: migration 0071
|
||||
# replaced the descending index column Dolt older than 2.3.3 cannot read, and
|
||||
# push, clone, pull and reads at the current root never decode the older
|
||||
# commits that still hold it. Measured 2026-10-18: dolt 2.2.0 writes, pushes,
|
||||
# clones and pulls a database `bd init` migrated to schema version 71; with
|
||||
# 0071 reverted it fails with "table has unknown fields".
|
||||
#
|
||||
# The script is self-contained: creates temp dirs, cleans up on exit.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue