beads/internal/storage/embeddeddolt
Julian Knutsen dba70de281
fix(federation): actionable error when peer credentials cannot be decrypted (#6995)
* fix(embeddeddolt): use stored peer credentials for federation sync

bd federation add-peer promises stored credentials are used automatically
when syncing, but the embedded Fetch/PushTo/PullFrom paths read only the
DOLT_REMOTE_USER environment variable, so first sync against any
authenticated Dolt server presented the wrong identity. This is the
peer-path remainder of the class fixed for default remotes in #2543.

withPeerAuth mirrors server mode's withPeerCredentials: peer-store lookup
first, environment fallback for unknown remotes and credential-free peers
(federation sync iterates every dolt remote, so non-peer remotes must
keep their behavior). Stored credentials override the process-wide
DOLT_REMOTE_USER/DOLT_REMOTE_PASSWORD pair as a unit under a
federationEnvMutex, mirroring package dolt: the in-process Dolt engine
reads them from the process environment, so the override is serialized
and both variables are restored (or re-unset) afterward, including on
callback failure. A stored empty field unsets its variable rather than
inheriting an ambient value.

Fixes #5080

Agent-Signature: claude-code-claude-fable-5-unknown-reasoning on behalf of Michael Pursifull

* docs(embeddeddolt): clarify federationEnvMutex is separate from package dolt's lock

Review nit on #5085: the 'mirroring' phrasing read as if the two
packages shared one mutex. State explicitly that they are separate
locks and why per-package serialization suffices.

* fix(federation): actionable error when peer credentials cannot be decrypted

A database pulled to a second machine carries federation_peers rows
its local .beads-credential-key cannot decrypt, and every peer
operation died with a raw cipher error while bd federation status
blamed the network (Unreachable:). The failure semantics were right
(fail closed, matching server mode); the message said nothing about
the machine-local key or the fix.

Add storage.ErrCredentialKeyMismatch plus a shared wording helper
CredentialKeyMismatchError naming the key file as context and the
remediation (re-run bd federation add-peer on this machine). Both
backends wrap their decrypt failures with it: embeddeddolt at its
single decrypt funnel, dolt at its two read paths. GetFederationPeer
wraps now name the peer. bd federation status classifies the sentinel
with errors.Is and prints Local credential error instead of
Unreachable; the --json shape is unchanged and now pinned by test.

When the error fires is unchanged: same call sites, same fail-closed
semantics, no fallback to ambient credentials.

Tests pin the decrypt-failure branch in both backends (embeddeddolt
against a real store with a rotated key, dolt via sqlmock) and the
status classification end to end in the gated CLI harness.

Refs #5080

* fix(embeddeddolt): classify short ciphertext as credential-key mismatch

A stored peer password blob shorter than the GCM nonce returned a bare
'ciphertext too short' error, bypassing CredentialKeyMismatchError, so
federation status read that local corruption as an unreachable peer.
Route the branch through the same sentinel as a failed GCM open; the
remediation (re-add the peer on this machine) is identical.

Adds a short-ciphertext regression at the decrypt funnel.

Refs: gastownhall/beads#5214 (review, gap 1)

* fix(embeddeddolt): bind stored credentials to the remote URL; serialize env fallbacks

Two fixes to the shared withPeerAuth seam from the consolidation review:

- Stored peer credentials are now bound to the peer's canonical remote
  URL, not only to a matching remote name. AddRemoteIfNotExists keeps
  an existing same-name remote regardless of its URL, so a redirected
  remote could receive the stored password. withPeerAuth now verifies
  the live dolt_remotes URL against the peer row before any credential
  is installed, failing closed on divergence and on a missing remote.

- The plain-remote and empty-credential fallback callbacks now run
  under federationEnvMutex too. They previously called remoteAuthUser()
  and the operation itself outside the lock, so a fallback operation
  could observe a concurrent stored-peer operation's temporarily
  installed DOLT_REMOTE_USER/DOLT_REMOTE_PASSWORD pair.

Adds three regressions: diverged-URL fail-closed, missing-remote
fail-closed, and env-fallback-does-not-observe-peer-credentials.

Refs: gastownhall/beads#5085 (review)

* style(dolt): use US spelling in the decrypt-funnel comments

The repo's misspell linter rejects 'Labelling' and 'labelled'. Comment
text only; no behavior change.

Refs: gastownhall/beads#5214 (CI)

* review: name the resolved credential-key path in the mismatch error

Maintainer review fixup for PR #5214 (adopt-pr iteration 1). Addresses the one
minor and the one nit from the review synthesis; both reviewers found 0 blockers
and 0 majors and the quality scorecard is approve (898/850).

Minor (Debuggability & Operability). All three CredentialKeyMismatchError call
sites passed the bare const credentialKeyFile, so the message claimed "the key
file .beads-credential-key is machine-local" without saying where it is. On the
dolt backend that basename is genuinely ambiguous: initCredentialKey resolves it
against s.beadsDir and falls back to the legacy s.dbPath as a transparent
migration, so during the migration window two files with that name can exist
carrying different keys. Pass filepath.Join(s.beadsDir, credentialKeyFile)
instead, at dolt/credentials.go and both embeddeddolt/federation.go sites. No
signature change: the parameter was already named keyFile and its doc comment
already describes it as machine-local.

beadsDir is provably non-empty at all three sites in production, verified in
source rather than assumed: dolt only reaches the funnel with a non-nil key, and
initCredentialKey leaves the key nil when beadsDir is empty; embeddeddolt's
ensureCredentialKey errors out when it is empty.

This lengthens a message the author pre-declared as a judgment call. The
synthesis adjudicated that carve-out deliberately: it covers the message's
wording and its single-line form, not which file the text identifies.

Nit (Test Evidence Quality). dolt's withPeerCredentials is the seam that carries
the sentinel into `bd federation status` on the default backend and had no
fails-closed pin, unlike its embedded twin TestWithPeerAuth_KeyMismatchFailsClosed.
Added one subtest on the existing sqlmock harness asserting the callback does not
run and the sentinel survives the seam's own wrap.

Both pins were proven non-vacuous by mutation, not assumed:
- Reverting the three call sites to the bare const reds all three dolt subtests
  and all three embeddeddolt tests, with the original bare-basename text in the
  diff output.
- Making withPeerCredentials swallow the decrypt error reds only the new subtest,
  on exactly the two properties the nit named (callback ran; no failure).

The dolt test needed beadsDir set on its hand-built store: filepath.Join("",
credentialKeyFile) is the bare basename, so with beadsDir left empty the
resolved-path assertion would have passed vacuously. The embeddeddolt pin's
package-level const became a function of the store for the same reason — its
store has a real temp beadsDir, so the clause now pins the resolved path.

Validation: go vet rc=0 on all three packages; internal/storage, dolt
(3 tests incl. both negative/narrowing tests) and embeddeddolt (3 credential
tests) green; cmd/bd TestEmbeddedFederation 12/12 green including the PR's own
status_credential_key_mismatch e2e subtest. make bazel-sync-check rc=0 with zero
tracked drift — no new files and zero import changes, so no BUILD srcs or deps
can move.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

---------

Co-authored-by: Michael Pursifull <mike@arcaven.com>
Co-authored-by: Gas City Adopt-PR <adopt-pr@gascity.local>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: Eddie the Engineer <adopt-pr@gascity.com>
2026-09-30 20:29:57 -07:00
..
cmd test(bazel): runfiles helpers + declared inputs for scan-guard tests (#6828) 2026-09-27 08:24:08 -07:00
active_database_size_test.go fix(backup): report embedded database size (#4920) (#4928) 2026-07-25 16:14:07 -07:00
batch_applier.go Add issueops.BatchApplier: one plan, one transaction (#5480) 2026-08-09 06:59:34 -07:00
batch_apply_contract_test.go Add issueops.BatchApplier: one plan, one transaction (#5480) 2026-08-09 06:59:34 -07:00
batch_closer.go feat(issueops): put every issue capability behind one library surface 2026-08-04 12:27:56 -07:00
batch_closer_contract_test.go Make the conformance obligation true: rewire the dolt_log probes, fix the doc that lied (#5449) 2026-08-08 19:55:20 -07:00
batch_creator.go feat(create): put bd create --file behind the BatchCreator role (bd-lu170) 2026-08-05 16:43:11 +00:00
batch_creator_contract_test.go fix(contracts): JSON contract fixes before 1.3.0 freezes them — string revision tokens, --set-metadata scalar typing, create --json nano timestamps (#6053) 2026-08-29 05:20:27 +00:00
blocked_recheck_internal_test.go fix(dolt): publish the blocked-state recheck after its transaction commits (#6876) 2026-09-28 21:20:51 -07:00
blocked_recompute_test.go fix(sync): retry a dirty-working-set recompute instead of failing the run (wy-mlnz2) 2026-07-24 21:12:12 -07:00
blocking_annotator_contract_test.go feat(list): put bd list behind Reader.List and the new BlockingAnnotator role (bd-5k21g) 2026-08-06 02:56:57 +00:00
blockingannotator.go feat(list): put bd list behind Reader.List and the new BlockingAnnotator role (bd-5k21g) 2026-08-06 02:56:57 +00:00
bootstrapper.go Trim this series' comments toward the repo's own density 2026-08-06 08:06:59 +00:00
bootstrapper_contract_test.go Assert exactly-one history for a comment, and state the bootstrap split per leg (#5455) 2026-08-08 22:43:13 -07:00
BUILD.bazel perf(ready): recurse the --parent descendant walk off indexed base tables (#6130) 2026-09-30 20:22:43 -07:00
cache.go fix(schema): stop the smart gate auto-migrating a data-behind clone (#6575) (#6658) 2026-09-21 02:49:05 -07:00
cache_cleanup.go fix(readonly): prevent validation side effects (#4930) 2026-07-25 22:29:06 -07:00
cache_cleanup_test.go test: split tracker pure-go helpers (#4183) 2026-05-26 16:31:17 -07:00
cache_test.go /{cmd,internal}: some cleanup 2026-04-30 12:46:54 -07:00
checked_wrapper_smoke_test.go Retire embeddeddolt seam tests the contracts answer for, keep what they do not (#5399) 2026-08-07 10:00:25 -07:00
child_id.go /internal/storage: remove dual tx 2026-05-15 12:07:41 -07:00
child_id_test.go fix(storage): advance child_counters on singular hierarchical create (#4750) (#5122) 2026-08-07 10:41:05 -07:00
claim_wrapper_smoke_test.go Give issueops.Claimer a three-leg conformance contract, consolidating with #5412 (#5428) 2026-08-07 18:59:31 -07:00
claimer_contract_test.go fix(bd): canonicalize remaining actor==assignee comparisons in claim/heartbeat CAS (ga-v2k49) (#5479) 2026-08-09 17:19:00 -07:00
commenter.go feat(issueops): put every issue capability behind one library surface 2026-08-04 12:27:56 -07:00
commenter_contract_test.go Migrate the batch and comment audit cases, and give Importer the contract its report justifies (#5469) 2026-08-09 02:34:17 -07:00
comments_page_test.go feat(storage): keyset reads — comments page, issue-list cursor, IsBlocked filter (#4922) 2026-07-21 22:29:09 -07:00
commit_all_cgo_test.go fix(storage): CommitAll — explicit commits sweep the whole working set and report honestly (#5830) 2026-08-20 05:31:33 -07:00
commit_all_internal_test.go fix(dolt): preserve transaction outcome boundaries (#5341) 2026-08-06 04:34:46 -07:00
commit_nothing_to_commit_test.go fix(embeddeddolt): tolerate nothing-to-commit — bd bootstrap dies on a pristine store (#3886) (#5242) 2026-08-01 12:17:00 -07:00
concurrency_test.go ci(bazel): embedded-Dolt tier under Bazel, shard-for-shard with PR Risk (#6896) 2026-09-28 04:41:10 -07:00
config_metadata.go fix(cook/pour): honor declared formula step types instead of squashing them to task (#5520) 2026-08-10 05:36:33 -07:00
conformance_test.go feat(storage): public backend contract + conformance suite for out-of-tree backends (bd-h3dib.2) (#5321) 2026-08-03 16:03:11 -07:00
counter.go feat(issueops): put bd count behind the Counter role (bd-m8hn7) 2026-08-05 05:27:39 +00:00
counter_contract_test.go Migrate the query-family audit cases into role contracts, with fixtures that can see what the old ones could not (#5448) 2026-08-08 19:13:22 -07:00
counts.go fix(storage): count a wisp's comments in wisp_comments (#5565) (#6709) 2026-09-26 05:49:51 -07:00
counts_missing_table_test.go fix(storage): stop counts and ready folding a broken wisp plane into zero (#5942) 2026-08-21 21:41:21 -07:00
counts_wisp_test.go feat(show): count-only JSON details with opt-in streamed payloads 2026-05-22 16:54:15 -07:00
create_issue.go fix(sweep): purge/prune select candidates by tier — a typed wisp is ephemeral however it was minted (#5995) 2026-08-27 05:06:50 -07:00
create_issue_test.go wy-a648lq: flip the embeddeddolt tolerant mixed-batch case to the wired-edge contract 2026-09-01 06:43:07 -07:00
cross_record_invariant_contract_test.go Four-leg no-op conformance case for #5898: duplicate dep add and absent dep remove mint no version on any leg (#6650) 2026-09-26 14:48:30 -07:00
cross_table_id_collision_test.go fix(create): reject cross-table ID collisions between issues and wisps (#4455) (#4472) 2026-07-07 05:52:05 -07:00
cycle_detector.go feat(dep): detect cycles through tracks edges (#6148) 2026-09-30 20:20:17 -07:00
cycle_detector_contract_test.go feat(dep): detect cycles through tracks edges (#6148) 2026-09-30 20:20:17 -07:00
deleter.go Version embedded role deletes and sweeps, and replace the range that hid it (#5458) 2026-08-08 23:53:57 -07:00
deleter_contract_test.go Add DeleteRequest.ExpectedVersion: a compare-and-delete on the named row (#5481) 2026-08-09 07:17:54 -07:00
dependencies.go feat(engine): guarded write ops — atomic metadata merge, row-version CAS, typed dep errors + events, bd close delegation (#4911) 2026-07-21 18:13:03 -07:00
dependencies_test.go Four DependencyEditor contract cases for state the contract never seeded (#5398) 2026-08-07 09:59:31 -07:00
dependency_editor.go feat(issueops): put every issue capability behind one library surface 2026-08-04 12:27:56 -07:00
dependency_editor_contract_test.go Four-leg no-op conformance case for #5898: duplicate dep add and absent dep remove mint no version on any leg (#6650) 2026-09-26 14:48:30 -07:00
dependency_editor_version_history_test.go Four-leg no-op conformance case for #5898: duplicate dep add and absent dep remove mint no version on any leg (#6650) 2026-09-26 14:48:30 -07:00
dependents_records_test.go feat(storage): events + dependents reads, batched blocked, public claim surface (#4926) 2026-07-22 07:41:47 -07:00
descendants_test.go perf(ready): recurse the --parent descendant walk off indexed base tables (#6130) 2026-09-30 20:22:43 -07:00
detection.go Guard and qualify historical upgrades to v1.2 (#4907) 2026-08-06 18:45:04 -07:00
detection_test.go Guard and qualify historical upgrades to v1.2 (#4907) 2026-08-06 18:45:04 -07:00
dirty_tables_gate_test.go fix(embedded): let working-set reconcile commands open past dirty-table migration guard (#4567) 2026-07-03 22:00:20 -07:00
dualwrite_history_contract_test.go Four-leg no-op conformance case for #5898: duplicate dep add and absent dep remove mint no version on any leg (#6650) 2026-09-26 14:48:30 -07:00
edge_reader_contract_test.go feat(issueops): put multi-id bd dep list behind the EdgeReader role (bd-nhsno) 2026-08-05 09:42:06 +00:00
edgereader.go feat(issueops): put multi-id bd dep list behind the EdgeReader role (bd-nhsno) 2026-08-05 09:42:06 +00:00
events_since_test.go feat(storage): events + dependents reads, batched blocked, public claim surface (#4926) 2026-07-22 07:41:47 -07:00
expected_revision_contract_test.go Four-leg no-op conformance case for #5898: duplicate dep add and absent dep remove mint no version on any leg (#6650) 2026-09-26 14:48:30 -07:00
external_dependencies_test.go fix(deps): enforce external capability blockers across ready/claim/close (#4769) (#4753) 2026-09-02 16:56:23 -07:00
federation.go fix(federation): actionable error when peer credentials cannot be decrypted (#6995) 2026-09-30 20:29:57 -07:00
federation_credentials_test.go fix(federation): actionable error when peer credentials cannot be decrypted (#6995) 2026-09-30 20:29:57 -07:00
get_issue.go /internal/storage: remove dual tx 2026-05-15 12:07:41 -07:00
get_issue_test.go fix(storage): stop reporting a live issue absent when the leases table is missing (#5804) 2026-08-19 20:40:34 -07:00
git_ref_pin_test.go feat(storage): carry the git data ref of a git-backed Dolt remote (#6521) 2026-09-27 15:56:18 -07:00
graph_counter.go Add issueops.GraphCounter: how many edges, in one named direction (ga-itny5) (#5485) 2026-08-09 11:29:32 -07:00
graph_counter_contract_test.go Add issueops.GraphCounter: how many edges, in one named direction (ga-itny5) (#5485) 2026-08-09 11:29:32 -07:00
history_presence_contract_test.go fix(export): heal the delete wedge — prove deletions via store history instead of refusing forever (#5896) (#6059) 2026-08-29 21:24:29 -07:00
history_test.go fix(history): coalesce NULL text columns in dolt_history_issues scan (#4912) 2026-07-25 22:30:34 -07:00
init_verifier.go feat(init): put bd init's identity seam behind Bootstrapper and InitVerifier (bd-zl3u8) 2026-08-06 03:01:33 +00:00
is_blocked_batch_test.go feat(storage): events + dependents reads, batched blocked, public claim surface (#4926) 2026-07-22 07:41:47 -07:00
issue_claimer.go Add issueops.Claimer and route the HTTP claim through it (#5334) 2026-08-04 08:40:18 -07:00
issue_lifecycle_test.go feat(storage): one guarded issue-lifecycle surface for the CLI and linked consumers (#5191) 2026-07-31 11:26:38 -07:00
issue_operations.go feat(issueops): put every issue capability behind one library surface 2026-08-04 12:27:56 -07:00
issue_operations_behavior_test.go test(conformance): de-stage the hard Lifecycle contracts onto the role seam (#5474) 2026-08-09 04:44:29 -07:00
issue_operations_contract_test.go test(conformance): de-stage the hard Lifecycle contracts onto the role seam (#5474) 2026-08-09 04:44:29 -07:00
issue_operations_persistence_test.go feat(events-journal): record the mutating actor on every journal row (#5908) 2026-08-23 13:55:59 -07:00
issue_operations_staging_test.go Retire embeddeddolt seam tests the contracts answer for, keep what they do not (#5399) 2026-08-07 10:00:25 -07:00
issue_operations_tx.go feat(issueops): put every issue capability behind one library surface 2026-08-04 12:27:56 -07:00
issue_reader.go refactor(workapi): move the store reader where a front door cannot reach it 2026-07-31 20:04:09 +00:00
issues.go feat(storage): one guarded issue-lifecycle surface for the CLI and linked consumers (#5191) 2026-07-31 11:26:38 -07:00
iter_stubs.go Reapply "Simplify the supported backends: roll back the direct PostgreSQL and MySQL adapters" (#4857) 2026-07-18 02:43:56 +00:00
journal_accessor.go feat(httpapi): publish the events journal on the v0 surface (bd-opisf) 2026-08-09 06:01:23 +00:00
journal_accessor_test.go feat(events): journal read/prune surface with typed truncation (bd-opisf) 2026-08-09 01:58:17 +00:00
journal_actor_matrix_test.go fix(events): journal delete and cascade dep_remove rows carry the request actor; notice when reading a disabled journal (#5985) (#6061) 2026-08-29 04:14:23 -07:00
journal_autoprune_test.go feat(events): bounded-by-default auto-prune to the retention floors (bd-opisf) 2026-08-09 01:58:17 +00:00
journal_concurrency_test.go feat(events): transactional events journal engine (bd-opisf) 2026-08-09 01:58:17 +00:00
journal_contract_test.go feat(journalops): the mutation journal becomes the third facade namespace (#5552) 2026-08-10 10:58:05 -07:00
journal_retention_test.go feat(events): journal read/prune surface with typed truncation (bd-opisf) 2026-08-09 01:58:17 +00:00
journal_truncation_test.go feat(journalops): the mutation journal becomes the third facade namespace (#5552) 2026-08-10 10:58:05 -07:00
label_list_all_benchmark_test.go perf(label): count list-all labels from hydrated SearchIssues result (#5328) 2026-08-09 15:36:02 -07:00
label_rename_test.go cmd/bd: bd label rename <old> <new> (stacked on #6007) (#6009) 2026-09-29 17:02:35 -07:00
labels.go cmd/bd: bd label rename <old> <new> (stacked on #6007) (#6009) 2026-09-29 17:02:35 -07:00
lease_replica_test.go test(reclaim): assert the foreign-skip audit on stderr and bound-test the LIMIT (wy-s1ntth) 2026-08-22 17:34:59 -07:00
lease_test.go fix(bd): canonicalize remaining actor==assignee comparisons in claim/heartbeat CAS (ga-v2k49) (#5479) 2026-08-09 17:19:00 -07:00
lenient_gate_warning_test.go fix(embeddeddolt): shape lenient gate warnings (#6660) (#6662) 2026-09-26 09:02:01 -07:00
lifecycle_close_reopen_contract_test.go Close the three is_blocked clauses that had no case (#5452) 2026-08-08 21:35:34 -07:00
lifecycle_create_contract_test.go fix(contracts): JSON contract fixes before 1.3.0 freezes them — string revision tokens, --set-metadata scalar typing, create --json nano timestamps (#6053) 2026-08-29 05:20:27 +00:00
lifecycle_role_hooks_test.go test(conformance): de-stage the hard Lifecycle contracts onto the role seam (#5474) 2026-08-09 04:44:29 -07:00
lifecycle_update_contract_test.go fix(bd): canonicalize actor==assignee comparisons in unclaim.go and AuthorizeAssigneeTransferWithPools (#5439) 2026-08-09 11:35:01 -07:00
list_queries.go fix(deps): enforce external capability blockers across ready/claim/close (#4769) (#4753) 2026-09-02 16:56:23 -07:00
memories.go Put the memory plane behind memoryops, conformance-tested at three backends (#5387) 2026-08-07 03:57:04 -07:00
memories_contract_test.go Put the memory plane behind memoryops, conformance-tested at three backends (#5387) 2026-08-07 03:57:04 -07:00
merge_blockers_test.go test(conflicts): cover the conclude command path (wy-ghg0d) 2026-07-25 16:52:33 -07:00
merge_slot.go fix(release): add CGO build constraints for embeddeddolt, bump to v0.63.2 2026-03-29 16:57:50 -07:00
merge_strategy_test.go fix(vc): make merge --strategy actually resolve conflicts (autocommit was rejecting first) (#4992) (#5119) 2026-07-28 17:52:51 -07:00
metadata_cas.go Add issueops.MetadataCAS: compare-and-set over one metadata key (#5473) 2026-08-09 04:15:34 -07:00
metadata_cas_contract_test.go Add issueops.MetadataCAS: compare-and-set over one metadata key (#5473) 2026-08-09 04:15:34 -07:00
migrate_dep_rekey_dedup_test.go test(embeddeddolt): let the dep-rekey marker sit below the ignored-series head 2026-09-15 23:29:38 +00:00
migrate_events_flip_test.go fix(schema): convergent dependency rekey — merge duplicate typed edges instead of aborting half-applied (#5268) (#6045) 2026-08-29 18:43:18 -07:00
migrate_frozen_guard_convergence_test.go fix(schema): restore missing wisp_dependencies constraints after 0047 delegate repair (#4987) 2026-07-23 01:06:12 -07:00
migrate_ignored_cursor_untrack_test.go fix(schema): heal legacy tracked ignored_schema_migrations — open-time untrack reconcile unwedges bd dolt pull (#4356) (#6046) 2026-08-29 15:39:21 -07:00
migrate_ignored_plane_shape_test.go fix(events): compose auto-prune with the hooks plumbing main just landed (bd-opisf) 2026-08-09 03:01:44 +00:00
migrate_journal_shape_repair_test.go fix(schema): repair events-journal shape drift from the fork's ignored-0017 lineage (bd-t9ovd) 2026-08-09 17:58:01 +00:00
migrate_repair_atomicity_test.go fix(schema): harden migration chain against missing wisp tables, dropped dependencies.id, and 0048 re-application (#4695, #4690, #4353) (#4878) 2026-07-22 21:32:21 -07:00
migrate_selfheal_test.go test(embeddeddolt): exempt the ignored-source tail from the fault hook dynamically (bd-lrgn1) 2026-07-17 02:11:42 -07:00
migrate_wisp_dep_forward_repair_test.go fix(schema): repair the wisp_dependencies FK shape before 0058 applies (#5381) 2026-08-09 11:34:57 -07:00
new_methods_test.go fix(ready): apply filters to wisp ready work (#4008) 2026-05-17 08:08:58 -07:00
open.go /{.github,docs,go,internal,scripts}: bump driver/dolt version to 2.1.4 (#4326) 2026-06-08 11:31:14 -07:00
open_stub.go fix(release): add CGO build constraints for embeddeddolt, bump to v0.63.2 2026-03-29 16:57:50 -07:00
open_test.go fix: preserve spaces in embedded Dolt paths 2026-04-02 21:22:45 -07:00
post_sql_commit_test.go fix(storage): skip empty Dolt commit when nothing is staged (re-port of #4288) (#5403) 2026-08-07 10:32:31 -07:00
preview_readonly_test.go fix: keep preview commands from migrating stores (#4985) 2026-08-01 16:17:09 -07:00
promote_no_history_test.go fix(export): promoted no-history wisps survive import round-trip (bd-r9uce) (#5368) 2026-08-05 12:48:44 -07:00
pull_config_wedge_test.go fix(dolt): pre-pull commit must include config (kv.memory.* pull-wedge) (#4412) 2026-06-19 21:31:33 -07:00
pull_settle_test.go test(embeddeddolt): stabilize operator conflict fixture (mybd-vxu3.1) (#4721) 2026-07-12 08:23:06 -07:00
push_commit_pending_test.go fix(embeddeddolt): commit pending changes before push (#5433) (#5795) 2026-09-30 15:58:51 -07:00
querier.go feat(query): put bd query behind the Querier role and stop it dropping matches (bd-pohmh) 2026-08-05 16:36:05 +00:00
querier_contract_test.go Migrate the query-family audit cases into role contracts, with fixtures that can see what the old ones could not (#5448) 2026-08-08 19:13:22 -07:00
queries.go perf(ready): answer the page and its total in one pass (#6731) 2026-09-24 23:50:09 -07:00
reader_contract_test.go feat(httpapi): serve bd list's order with sort on listIssues (#5666) 2026-08-27 09:21:12 -07:00
readonly.go fix: keep preview commands from migrating stores (#4985) 2026-08-01 16:17:09 -07:00
ready_claimer.go fix(defer): auto-wake expired dated defers on ready-front reads and claims (bd-i8qx8) (#5386) 2026-08-07 04:34:38 -07:00
ready_claimer_contract_test.go feat(workapi,storage): opt-in Brief projection for the list and ready pages (#5554) 2026-08-10 10:45:23 -07:00
ready_counter.go feat(ready): put bd ready's published total behind the ReadyCounter role (bd-s10oa) 2026-08-05 09:47:24 +00:00
ready_counter_contract_test.go Migrate the claim-family audit cases into role contracts, including a lease nobody pinned (#5447) 2026-08-08 19:12:48 -07:00
ready_total_test.go perf(ready): answer the page and its total in one pass (#6731) 2026-09-24 23:50:09 -07:00
ready_work_missing_table_test.go fix(storage): key the deferred-parent table gate on which table is missing (#5954) 2026-08-22 03:23:33 -07:00
reject_stale_upsert_test.go fix(import): equal-timestamp upsert keeps the local row; report what import changed (bd-hj85c) 2026-06-12 17:58:40 -04:00
relations.go feat(issueops): put every issue capability behind one library surface 2026-08-04 12:27:56 -07:00
relations_contract_test.go feat(issueops): put every issue capability behind one library surface 2026-08-04 12:27:56 -07:00
releaser.go Add issueops.Releaser: give a claim back, optionally only a named holder's (#5482) 2026-08-09 07:48:56 -07:00
releaser_contract_test.go Add issueops.Releaser: give a claim back, optionally only a named holder's (#5482) 2026-08-09 07:48:56 -07:00
remote_git_ref_test.go feat(storage): carry the git data ref of a git-backed Dolt remote (#6521) 2026-09-27 15:56:18 -07:00
remote_migrate_gate_test.go fix(readonly): prevent validation side effects (#4930) 2026-07-25 22:29:06 -07:00
remote_peer_auth_test.go fix(embeddeddolt): route all remote verbs through withPeerAuth (stacked on #5085) (#5207) 2026-08-08 16:26:11 -07:00
remote_sync_gate_test.go fix(schema): stop the smart gate auto-migrating a data-behind clone (#6575) (#6658) 2026-09-21 02:49:05 -07:00
reopen_category_test.go feat(storage): one guarded issue-lifecycle surface for the CLI and linked consumers (#5191) 2026-07-31 11:26:38 -07:00
retention_epoch_contract_test.go Four-leg no-op conformance case for #5898: duplicate dep add and absent dep remove mint no version on any leg (#6650) 2026-09-26 14:48:30 -07:00
role_fixture_kit_test.go Make the conformance obligation true: rewire the dolt_log probes, fix the doc that lied (#5449) 2026-08-08 19:55:20 -07:00
role_test_helpers_test.go feat(issueops): put every issue capability behind one library surface 2026-08-04 12:27:56 -07:00
schema.go {CHANGELOG.md,internal}: cleanup and release notes 2026-05-15 13:11:39 -07:00
schema_test.go perf(schema): D4v2 composite (status, updated_at) + defer_until indexes (#3662) 2026-06-20 20:42:11 -07:00
search_missing_table_test.go fix(storage): stop reporting a broken wisp plane as an empty one in search (re-land of #5805) (#5932) 2026-08-21 16:58:43 -07:00
slots.go feat(engine): guarded write ops — atomic metadata merge, row-version CAS, typed dep errors + events, bd close delegation (#4911) 2026-07-21 18:13:03 -07:00
statistics.go feat(stats): --no-blocked flag skips blocked-count computation; fix Blocked:0 red render (be-nnqp, be-4b63) (#4022) 2026-07-23 23:52:39 -07:00
stats_reporter.go feat(issueops): put bd status behind the StatsReporter role (bd-4ze25) 2026-08-05 09:27:16 +00:00
stats_reporter_contract_test.go fix(status): disclose the counted rows bd list will not show (#5763) 2026-09-30 15:44:40 -07:00
store.go fix(dolt): recheck dependents' blocked state after a close commits (#6719) 2026-09-27 00:56:42 -07:00
store_stub.go fix(schema): stop the smart gate auto-migrating a data-behind clone (#6575) (#6658) 2026-09-21 02:49:05 -07:00
sweeper.go Version embedded role deletes and sweeps, and replace the range that hid it (#5458) 2026-08-08 23:53:57 -07:00
sweeper_contract_test.go feat(purge): live-dependent protection, --wisps-plane selector, hour-precision --older-than, --limit (#6883) 2026-09-28 00:57:24 -07:00
test_fixture_test.go test: reuse pristine embedded Dolt fixtures (bd-7q32v) (#5274) 2026-08-02 07:09:07 -07:00
test_helpers_pure_test.go test: split tracker pure-go helpers (#4183) 2026-05-26 16:31:17 -07:00
transaction.go fix(schema): widen issue_versions.change_at to DATETIME(6) before any store accumulates real history (#6675) 2026-09-27 01:21:20 -07:00
transaction_indeterminate_test.go fix(dolt): preserve transaction outcome boundaries (#5341) 2026-08-06 04:34:46 -07:00
transaction_phase_internal_test.go fix(dolt): preserve transaction outcome boundaries (#5341) 2026-08-06 04:34:46 -07:00
transaction_wisp_lifecycle_persistence_test.go feat(storage): one guarded issue-lifecycle surface for the CLI and linked consumers (#5191) 2026-07-31 11:26:38 -07:00
tree_walker.go feat(issueops): put bd dep tree behind the TreeWalker role (bd-lx5iu) 2026-08-06 03:09:18 +00:00
tree_walker_contract_test.go Prune each half of a both walk before merging them 2026-08-06 21:46:53 +00:00
update_mergeops_test.go fix(update): resolve metadata/note merges inside the mutation transaction (concurrent lost-update) (#4732) 2026-07-19 05:59:31 -07:00
version_completeness_behaviour_test.go Four-leg no-op conformance case for #5898: duplicate dep add and absent dep remove mint no version on any leg (#6650) 2026-09-26 14:48:30 -07:00
version_control.go fix(embeddeddolt): commit pending changes before push (#5433) (#5795) 2026-09-30 15:58:51 -07:00
version_reconciler.go feat(issueops): put the startup version reconciler behind the VersionReconciler role (bd-gkmft) 2026-08-05 16:35:01 +00:00
version_reconciler_contract_test.go Trim this series' comments toward the repo's own density 2026-08-06 08:06:59 +00:00
workspace_config.go feat(config): put bd config's stored settings behind the WorkspaceConfig role (bd-kzepq) 2026-08-05 09:14:54 +00:00
workspace_config_contract_test.go Refuse kv.* point reads on the settings role and stop printing them (#5493) 2026-08-09 11:06:51 -07:00