beads/internal
Steve Yegge 81b3308c30 fix(schema): crash mid-aux-rekey no longer strands rows behind the 0009 marker (bd-578h9.16)
A pass that died mid-rekey had already advanced the main cursor past
the bd-578h9.4 watershed, so the next MigrateUp read the lineage as a
converged fresh clone: it skipped the rewrite, recorded marker 0009
over partially re-keyed rows, and the rekey never completed - the
un-rekeyed rows kept their per-clone-random 0037 ids and the merge
duplicates the pass exists to fix came back.

The rekey now records a clone-local in-progress sentinel in
local_metadata (dolt-ignored; created by main migration 0029, which is
always applied before the rekey runs) before its first UPDATE and
clears it only after the last table completes. A pending sentinel
overrides the fresh-clone skip, so the next pass resumes the idempotent
rewrite. MigrateUp also treats the aux tables as migration-owned when
resuming: their partial-rekey dirt is exempted from the
changed-signature guard (the resume is about to change them) and staged
into the pass's commit instead of being left to the autocommit net.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-11 18:53:42 -04:00
..
ado fix(trackers): route secret keys through config.yaml in all tracker getConfig methods 2026-05-15 09:07:12 -07:00
atomicfile /internal/atomicfile/atomicfile.go: use io.Copy 2026-05-01 17:03:30 -07:00
audit fix(audit): widen newID entropy to 16 bytes + bump test to 8000 IDs (be-5uxe) 2026-05-25 14:55:01 -07:00
beads Add PR CI wrapper command surface (#4211) 2026-05-29 18:52:53 -07:00
compact Add PR CI wrapper command surface (#4211) 2026-05-29 18:52:53 -07:00
config Add PR CI wrapper command surface (#4211) 2026-05-29 18:52:53 -07:00
configfile /{cmd,docs,internal,website}: remove pass 2026-05-27 16:32:28 -07:00
debug chore: unexport 14 dead symbols across 8 packages 2026-02-07 09:24:22 -08:00
doltremote fix(remote): remove cli invocations of 'dolt remote' and exclusively use store method and sql (#4236) 2026-06-05 13:58:21 -07:00
doltserver fix(doltserver): gate corrupt-manifest .dolt reinit behind explicit bd doctor --fix (bd-6dnrw.6) 2026-06-11 00:30:13 -04:00
formula fix(release): ship beads-release formula (#3631) 2026-05-02 14:02:36 -07:00
git feat: add --list and --doc flags to bd help for CLI doc generation (GH#2527) 2026-03-11 18:25:40 -07:00
github fix(github) bd github sync (GitHub issues integration) (#3929) 2026-05-15 08:47:39 -07:00
gitlab fix(trackers): route secret keys through config.yaml in all tracker getConfig methods 2026-05-15 09:07:12 -07:00
hooks fix: increase TestRun_Async polling timeout to 10s (bd-ldi) 2026-02-28 23:11:46 -08:00
idgen fix(idgen): correct test vectors in hash_test.go 2025-12-19 18:13:56 -08:00
jira Add Jira custom field support for push (#3678) 2026-06-01 07:40:57 -07:00
linear fix(linear): correct issueBatchCreate GraphQL variable type (#3703) 2026-05-06 12:14:15 -07:00
lockfile chore: remove daemon infrastructure (lockfile, activity signal) (bd-9u8zd) 2026-02-18 19:05:31 -08:00
molecules fix: materialize local table schemas for branch tests (#4014) 2026-05-19 09:22:35 -07:00
notion fix(trackers): route secret keys through config.yaml in all tracker getConfig methods 2026-05-15 09:07:12 -07:00
query feat(issues): add started_at timestamp (GH#2796) (#3206) 2026-04-14 09:24:08 -07:00
recipes docs: add conservative Beads agent profile (#4220) 2026-05-28 15:20:25 -07:00
remotecache fix(remote): remove cli invocations of 'dolt remote' and exclusively use store method and sql (#4236) 2026-06-05 13:58:21 -07:00
routing Fix init leaving beads.role unset in edge cases (GH#2950) (#2964) 2026-04-01 17:00:41 -07:00
storage fix(schema): crash mid-aux-rekey no longer strands rows behind the 0009 marker (bd-578h9.16) 2026-06-11 18:53:42 -04:00
telemetry perf(count): Q1 — SQL COUNT(*) aggregate replaces SearchIssues+len in bd count (bd-xoi0x) 2026-05-26 18:31:51 -07:00
templates docs: add conservative Beads agent profile (#4220) 2026-05-28 15:20:25 -07:00
testutil /{.github,docs,go,internal,scripts}: bump driver/dolt version to 2.1.4 (#4326) 2026-06-08 11:31:14 -07:00
timeparsing chore: unexport 14 dead symbols across 8 packages 2026-02-07 09:24:22 -08:00
tracker fix(tracker): repair sync engine bugs unmasked by born-failing engine tests (bd-578h9.1) 2026-06-11 10:26:36 -04:00
types /{cmd,internal}: more refactor 2026-06-03 14:30:53 -07:00
ui refactor(ui): extract markdown rendering to internal/uimd package (#4009) 2026-05-17 15:05:25 -07:00
uimd refactor(ui): extract markdown rendering to internal/uimd package (#4009) 2026-05-17 15:05:25 -07:00
utils perf(search): tighten label and partial-id queries (#3967) 2026-05-16 02:44:45 -07:00
validation fix: promote gate to built-in type so formula pour works (#3382) 2026-04-24 05:10:56 -07:00