beads/internal/storage/embeddeddolt
Julian Knutsen d8d8bf587b
feat(cli): bd create --graph via one atomic BatchApplier request; --if-revision on bd reopen (#7209)
* feat(cli): bd create --graph via BatchApplier (spawner_id, thread_id)

Reapplies S11's graph-batch-apply half onto origin/main's post-#7203
state: `bd create --graph` now builds its plan through
issueops.BatchApplier instead of the removed buildDomainGraphPlan path
(create_proxied_server.go shrinks accordingly), spawner_id is stamped
only when a node names a spawner (RunBatchApplyStampsSpawnerIDOnlyWhenNamed
conformance case), and thread_id survives translation into
issueops.DepAddItem alongside the rest of GraphApplyEdge/GraphApplyNodeDep.

Entirely independent of #7203's --if-revision work: no file in this
commit overlaps #7203's or #7205's changed files.

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

* feat(cli): extend #7203's --if-revision guard to bd reopen

#7203 (37acca96d) added --if-revision to update/close/assign/delete but
not reopen, even though issueops.ReopenRequest.ExpectedVersion already
existed upstream. Wire reopen.go and reopen_proxied_server.go through
the same parseIfRevisionFlag / requireSingleIfRevisionID /
reportIfRevisionFailure / ifRevisionFlagHelp helpers #7203 introduced,
so reopen gets identical one-id-only, exit-13-on-mismatch, gascity-
compatible-body behavior as the other four verbs, with no new helper
surface of its own.

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

* test(cli): gc-matcher decode pin and proxied-server --if-revision coverage

#7203 never ran its mismatch body through gc's actual decode logic (only
through bd's own JSON assertions), and it only exercises --if-revision
through the embedded/direct route -- the proxied-server path
(*_proxied_server.go's uow-backed preflight/apply) had no coverage at
all on either side.

- if_revision_gc_matcher_test.go: a faithful port of gc's
  bdstore_conditional.go decode logic, run against a real built bd for
  all five guarded verbs (including reopen). Confirms against #7203's
  actual numeric-only body that no decimal-string twins are needed:
  encoding/json decodes a JSON number straight into an int64 struct
  field with no float64 intermediate, so there is no precision loss for
  gc's matcher to lose above 2^53 the way there would be decoding into
  an untyped interface{}.
- if_revision_proxied_integration_test.go: proxied-server-leg coverage
  for all five verbs (update/close/reopen/delete/assign), using a
  numeric-only proxiedPreconditionBody matching #7203's shape exactly
  (no _str fields, since the matcher test above shows none are needed).
  reopen's case is its only --if-revision coverage on the proxied route
  at all, since #7203 did not add the flag to reopen.

Both verified for real: TestGCConditionalMatcherDecode via
BEADS_TEST_EMBEDDED_DOLT=1, the five TestIfRevisionGuardProxied* tests
via BEADS_TEST_PROXIED_SERVER=1 BEADS_TEST_DOLT_SERVER=local against the
pinned dolt 2.2.0 binary (no Docker needed).

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

* docs(changelog): document graph-batch-apply and if-revision-reopen deltas

Neither #7203 (--if-revision) nor #7205 (batch create/import perf)
touched CHANGELOG.md, so document this branch's two deltas on top of
them directly: bd create --graph via BatchApplier (spawner_id/thread_id,
field-survival test, real-store hierarchy/cycle scenarios), and
--if-revision's extension to bd reopen plus its gc-matcher decode pin
and new proxied-server coverage.

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

* fix(cli): adapt reopen's reportIfRevisionFailure call to #7216's signature

#7216 (merged to main, landed in this rebase) added a fourth ifRevision
*int64 parameter to reportIfRevisionFailure for reassign-fence
disambiguation. Pass bd reopen's own declared --if-revision value at both
call sites (direct and proxied-server paths) to match.

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

* build(bazel): auto-sync BUILD files

Applied from the bazel-sync-patch artifact of https://github.com/gastownhall/beads/actions/runs/37290168028
(`make bazel-sync`: gazelle, tools/bazel/go_srcs.py, bazel mod tidy).
Only BUILD.bazel, MODULE.bazel and MODULE.bazel.lock are ever pushed; see
scripts/bazel-autofix-push.sh.

* fix(cli): evaluate reopen's --if-revision guard before the already-open short-circuit

bd reopen's direct route checked issue.Status == StatusOpen before ever
calling ops.Reopen, so a stale --if-revision guard against an
already-open issue silently returned the "already open" no-op (exit 0)
instead of the precondition_failed refusal (exit 13) every other guarded
verb gives for a stale token. ops.Reopen itself already evaluates
ExpectedVersion first (ExecuteReopen -> CheckVersionInTx) on both the
dolt and embeddeddolt backends, and the proxied-server route already
called through unconditionally -- only the direct route's pre-check
bypassed it.

Fix: skip the already-open pre-check when --if-revision is set, letting
ops.Reopen evaluate the revision guard first. Without --if-revision,
today's behavior for already-open issues is unchanged.

Tests:
- if_revision_reopen_embedded_test.go (new): direct route, all four
  combinations (already-open/closed x stale/matching revision). Verified
  live that already_open_mismatch_refuses fails against the pre-fix
  ordering and passes against the fix.
- if_revision_proxied_integration_test.go: added the same already-open
  coverage to TestIfRevisionGuardProxiedReopen to confirm the
  proxied-server route already behaved correctly and keeps doing so.

Also documents in CHANGELOG.md that a `bd create --graph` plan over
issueops.MaxApplyBatchItems (1000) is refused outright with
GraphApplyTooLargeError (non-blocking review item).

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

* fix(cli): put guard tests in CI lanes; fence unguarded reopen errors

Maintainer fixup for #7209, review loop iteration 1. It replays the prior
adoption's stranded fixup (f71ac4f66) on top of the contributor's own fix
for the direct-route reopen guard (266cacfca1). The contributor's fence
and tests are kept, and the fixup's overlapping reopen fence and
open-issue pins are dropped.

CI lanes: seven env-gated tests matched no lane's discovery pattern, so
no CI job ran them, including the reopen fix's own pin. The proxied tests
are now TestProxiedServerIfRevisionGuard{Update,Close,Reopen,Delete,
Assign}. The gc matcher test moves to
if_revision_gc_matcher_embedded_test.go as
TestEmbeddedGCConditionalMatcherDecode, and the direct reopen test is
TestEmbeddedIfRevisionReopenGuardDirect. BUILD.bazel and both shard
manifests are regenerated, and each renamed test is selected by exactly
one shard of every lane.

bd reopen:
- reportIfRevisionFailure now runs only when --if-revision is set, on
  both routes, as update, assign and delete already do. Since #7256 the
  classifier maps storage.ErrNotFound to precondition_failed, so an
  unguarded reopen that lost a race with a delete reported a guard
  refusal (exit 13) for a command that carried no guard.
- The gc matcher test gains a reopen_open row: a stale guard on an open
  issue gets the same refusal body. The matching-guard no-op subtest now
  also checks the "already open" line and that the revision did not move.

bd create --graph:
- A node naming both a plan-local parent and a parent_id is parented under
  the plan key again, as both legs did before the BatchApplier translation
  and as the dry-run preview and the local cycle check assume
  (TestBuildGraphApplyBatchRequestParentKeyWinsOverParentID).
- Removed dead code: graphApplyParentDepPairs, graphApplyDepPairKey and
  GraphApplyUnsupportedFieldError, with the helper-only test.
- A path from a node's parent to the node through a waits-for hop is now
  stored, as bd dep add and bd batch apply already store it, because the
  shared end gate walks the scheduling edges only. That shape can stall
  ready work once the spawner has an open child. The acceptance is
  documented in the CHANGELOG and the buildGraphApplyBatchRequest comment
  and pinned by TestExecuteGraphApplyAcceptsParentToChildPathThroughWaitsFor.
  Refusing the shape belongs in the shared role (types.IsSchedulingEdge),
  for every front door at once; that is a follow-up.
- The deleted fake-store rejection scenarios are ported to real-store
  tests: reverse parent-to-child blocking edges, a reverse parent-child
  edge cycle, and the end gate alone with SkipPerEdgeCycleCheck set.
- The graphApplyEdgeBatchMetadata comment names the real
  issueops.StampWaitsForSpawnerID.

CHANGELOG: the spawner stamp is described as a waits-for edge's
metadata.spawner_id, and the reopen entry says a guarded reopen of an
open issue is judged against the guard on both routes.

Agent-Signature: claude-code-claude-opus-5-5-max on behalf of Gas City Adopt-PR
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test(cli): name #7292 in the waits-for acceptance marker

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Eddie the Engineer <adopt-pr@gascity.com>
2026-10-07 07:53:35 +00:00
..
cmd ci(bazel): cross-compile every release target with Bazel, retire the go build job (#7332) 2026-10-07 03:18:37 +00: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 feat(cli): bd create --graph via one atomic BatchApplier request; --if-revision on bd reopen (#7209) 2026-10-07 07:53:35 +00:00
batch_closer.go fix(externaldeps): guard explicit claims and batch closes (#6738) 2026-10-01 01:35:54 -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
batch_getter_contract_test.go feat(roles): BatchGetter role and POST issues:batchGet (#7248) 2026-10-05 12:09:18 -07:00
batchgetter.go feat(roles): BatchGetter role and POST issues:batchGet (#7248) 2026-10-05 12:09:18 -07: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 ci(bazel): run the scripts and source-walking tests remotely; retire their go test legs (#7320) 2026-10-06 22:20:16 +00: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 kv: add 'bd kv list --prefix' — SQL-side key-prefix filter for scoped reads (wy-1rrwt8) (#6380) 2026-10-04 11:12:58 -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 feat(count): Counter scope — ParentID, NoParent, ExcludeTypes, ExcludeStatus (issues.count.scope) (#7199) 2026-10-05 02:57:14 -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_batch_equivalence_test.go perf(issueops): batch create/import without per-row round trips; on-demand graph checks (#7205) 2026-10-04 13:56:12 -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 feat(embeddeddolt): warn when a stored peer suppresses an ambient DOLT_REMOTE_PASSWORD (#6997) 2026-10-01 05:11:50 -07:00
federation_credentials_test.go feat(embeddeddolt): warn when a stored peer suppresses an ambient DOLT_REMOTE_PASSWORD (#6997) 2026-10-01 05:11:50 -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
graph_walk_plan_test.go perf(issueops): indexed dep-add cycle/hierarchy walks; pin blocked-state lookup plans; split waits-for spawner checks (#7224) 2026-10-04 23:43: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
large_batch_apply_measure_test.go perf(issueops): batch create/import without per-row round trips; on-demand graph checks (#7205) 2026-10-04 13:56:12 -07:00
large_graph_create_bench_test.go perf(issueops): batch create/import without per-row round trips; on-demand graph checks (#7205) 2026-10-04 13:56:12 -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 test(cli): close mc-zndi7.76's --if-revision single-winner test gaps (#7233) 2026-10-05 01:57:10 -07:00
list_queries.go perf(storage): SearchIssueSummaries narrow-projection foundation (be-nu4.3) (#3458) 2026-10-01 01:19:24 -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): dolt_ignore the __temp__ table-rebuild intermediates (#6993) 2026-10-01 01:04:33 -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_temp_intermediates_test.go fix(schema): dolt_ignore the __temp__ table-rebuild intermediates (#6993) 2026-10-01 01:04:33 -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
race_detector_off_test.go fix(ci,tests): un-hide TestEmbedded* tests, fence cmd/bd tests from ancestor .beads, cut #7051 race long poles, fix main lint (#7128) 2026-10-03 04:18:14 -07:00
race_detector_on_test.go fix(ci,tests): un-hide TestEmbedded* tests, fence cmd/bd tests from ancestor .beads, cut #7051 race long poles, fix main lint (#7128) 2026-10-03 04:18:14 -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 fix(purge): preserve transitive live dependents (#7041) 2026-10-04 20:01:35 -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