beads/internal/storage
Robin Carswell f9d3165670
test(deps): pin insert-vs-backfill id agreement for #4259 (#4411)
AddDependency (insert path) and rekeyDependencyIDs (backfill / migration
0050) must compute the same dependency primary key from the same edge.
The existing tests proved each path individually but not that they agree
with each other. A refactor that changes what AddDependency writes to
depends_on_issue_id, or changes the COALESCE column order in
rekeyDependencyTable, would silently diverge — two independently-upgraded
clones would produce different ids and bd dolt pull would fork (#4259).

TestInsertBackfillIDPathsAgree creates a real edge via AddDependency, reads
back the stored id, reads the exact column values the backfill would
COALESCE, recomputes depid.New over them, and asserts they match.

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 18:06:23 -07:00
..
dberrors fix(audit): sand down the P3 sharp edges from the June 9-11 audit (bd-578h9.17) 2026-06-11 19:54:21 -04:00
dbproxy Triage and clean up an unreviewed automated commit stream on main (#4418) 2026-06-15 20:24:57 -07:00
depid fix(deps): deterministic dependency primary keys for cross-clone merge-safety (#4259) 2026-06-07 14:47:58 -07:00
dolt test(deps): pin insert-vs-backfill id agreement for #4259 (#4411) 2026-06-22 18:06:23 -07:00
doltutil fix(dolt): read persisted remotes from repo_state.json; never swallow gate probe failures (bd-6dnrw.33) 2026-06-09 23:20:26 -04:00
domain Fix rig bead durability (#4373) 2026-06-22 17:06:35 -07:00
embeddeddolt Fix rig bead durability (#4373) 2026-06-22 17:06:35 -07:00
fs /{cmd,internal}: refactoring 2026-05-19 15:37:37 -07:00
git /{cmd,internal}: refactoring 2026-05-19 15:37:37 -07:00
issueops fix(import): honor imported dependency created_by (#4432) 2026-06-22 13:34:33 -07:00
kvkeys fix(dolt): pre-pull commit must include config (kv.memory.* pull-wedge) (#4412) 2026-06-19 21:31:33 -07:00
rowid fix(schema): drop dormant DEFAULT (UUID()) from aux and wisp table ids (bd-2rd37) 2026-06-11 07:32:57 -04:00
schema Fix rig bead durability (#4373) 2026-06-22 17:06:35 -07:00
sqlbuild Fix rig bead durability (#4373) 2026-06-22 17:06:35 -07:00
uow fix(storage): phase-aware retries for Dolt server-mode write tx (#4462) 2026-06-20 13:41:15 -07:00
versioncontrolops fix(dolt): pre-pull commit must include config (kv.memory.* pull-wedge) (#4412) 2026-06-19 21:31:33 -07:00
advanced_queries.go /internal/storage: add interfaces for methods not covered by Storage 2026-03-06 15:30:10 -08:00
annotation_queries.go Update internal/storage/annotation_queries.go 2026-03-06 15:40:56 -08:00
batch.go fix(import): equal-timestamp upsert keeps the local row; report what import changed (bd-hj85c) 2026-06-12 17:58:40 -04:00
bulk_issues.go /{cmd,internal}: remove more code 2026-05-15 09:05:29 -07:00
child_counter_reservation.go fix(create): commit labels during initial issue creation (#4149) 2026-05-24 19:23:46 -07:00
compaction.go fix(compact): archive content before destructive compaction; make restore work (#4464) 2026-06-20 14:12:07 -07:00
config_metadata.go feat: custom status categories (active/wip/done/frozen) 2026-03-21 12:35:03 -07:00
dependency_queries.go feat(show): count-only JSON details with opt-in streamed payloads 2026-05-22 16:54:15 -07:00
federation.go /internal/storage: add interfaces for methods not covered by Storage 2026-03-06 15:30:10 -08:00
history_viewer.go /internal/storage: add interfaces for methods not covered by Storage 2026-03-06 15:30:10 -08:00
hook_decorator.go fix(create): commit labels during initial issue creation (#4149) 2026-05-24 19:23:46 -07:00
hook_decorator_internal_test.go fix(create): commit labels during initial issue creation (#4149) 2026-05-24 19:23:46 -07:00
hook_decorator_test.go feat: move hook firing into storage layer via decorator (#2891) 2026-03-31 14:32:01 -07:00
iter.go feat(show): count-only JSON details with opt-in streamed payloads 2026-05-22 16:54:15 -07:00
merge_slot.go feat: add MergeSlot methods to Storage interface (fix-merge PR #2787) 2026-03-26 19:34:21 -07:00
metadata.go fix: quote dotted metadata keys in JSON path expressions (#2865) 2026-03-27 23:50:25 -07:00
metadata_jsonpath_test.go fix: quote dotted metadata keys in JSON path expressions (#2865) 2026-03-27 23:50:25 -07:00
metadata_schema_test.go feat: config-driven metadata schema enforcement (GH#1416 Phase 2) (#2027) 2026-02-24 22:24:56 -08:00
metadata_test.go feat: allow UpdateIssue metadata updates via json.RawMessage/[]byte (#1417) 2026-02-03 17:55:23 -08:00
remote.go feat: add --remote flag to bd dolt push/pull commands (#3211) 2026-04-20 18:02:33 -07:00
storage.go fix(is_blocked): cross-mode full recompute repair for stale is_blocked (bd-6dnrw.37) (#4423) 2026-06-19 23:14:09 -07:00
sync.go /internal/storage: add interfaces for methods not covered by Storage 2026-03-06 15:30:10 -08:00
version_control.go fix(dolt): pre-pull commit must include config (kv.memory.* pull-wedge) (#4412) 2026-06-19 21:31:33 -07:00
versioned.go fix(remote): remove cli invocations of 'dolt remote' and exclusively use store method and sql (#4236) 2026-06-05 13:58:21 -07:00