Charles P. Cross
82cbd98e50
fix(daemon): include tombstones in exportToJSONLWithStore for sync propagation ( #696 )
...
* fix(daemon): include tombstones in exportToJSONLWithStore for sync propagation
The daemon's exportToJSONLWithStore() function was using an empty
IssueFilter which defaults to IncludeTombstones: false. This caused
deleted issues (tombstones) to be excluded from JSONL exports during
daemon sync cycles.
Bug scenario:
1. User runs `bd delete <issue>` with daemon active
2. Database correctly marks issue as tombstone
3. Main .beads/issues.jsonl correctly shows status:"tombstone"
4. But sync branch worktree JSONL still showed status:"open"
5. Other clones would not see the deletion
The fix adds IncludeTombstones: true to match the behavior of
exportToJSONL() in sync.go, ensuring tombstones propagate to other
clones and prevent resurrection of deleted issues.
Adds regression test TestExportToJSONLWithStore_IncludesTombstones
that verifies tombstones are included in daemon JSONL exports.
* fix: resolve all golangci-lint errors (cherry-pick from fix/linting-errors)
Cherry-picked linting fixes to ensure CI passes.
---------
Co-authored-by: Charles P. Cross <cpdata@users.noreply.github.com >
2025-12-22 14:18:10 -08:00
..
2025-12-22 14:15:33 -08:00
2025-12-20 20:15:55 -05:00
2025-12-22 03:18:55 -08:00
2025-12-18 18:23:30 -08:00
2025-12-18 18:23:30 -08:00
2025-12-18 18:23:30 -08:00
2025-12-20 03:24:51 -08:00
2025-12-21 15:22:45 -08:00
2025-12-07 21:09:32 +11:00
2025-12-19 23:18:11 -08:00
2025-12-18 18:23:30 -08:00
2025-12-20 17:09:50 -08:00
2025-12-21 15:22:45 -08:00
2025-12-14 14:18:01 -08:00
2025-12-20 17:09:50 -08:00
2025-12-16 01:25:57 -08:00
2025-12-20 17:09:50 -08:00
2025-12-20 17:22:43 -08:00
2025-12-20 17:22:43 -08:00
2025-12-16 17:26:06 -08:00
2025-12-20 17:09:50 -08:00
2025-12-20 17:09:50 -08:00
2025-12-22 01:25:23 -08:00
2025-12-18 18:23:30 -08:00
2025-12-22 14:15:33 -08:00
2025-12-19 17:50:14 -08:00
2025-12-19 17:50:14 -08:00
2025-11-28 23:10:44 -08:00
2025-11-28 23:10:44 -08:00
2025-12-22 14:15:33 -08:00
2025-12-16 01:17:25 -08:00
2025-12-01 17:37:56 -08:00
2025-12-11 07:11:15 -05:00
2025-12-22 14:17:26 -08:00
2025-12-22 14:17:26 -08:00
2025-12-22 14:18:10 -08:00
2025-12-22 14:18:10 -08:00
2025-12-11 07:11:15 -05:00
2025-12-13 12:50:33 -08:00
2025-12-20 17:09:50 -08:00
2025-12-20 17:09:50 -08:00
2025-12-20 17:22:43 -08:00
2025-12-20 17:09:50 -08:00
2025-12-01 21:17:56 -08:00
2025-12-21 15:50:10 -08:00
2025-12-18 18:23:30 -08:00
2025-12-21 23:08:00 -08:00
2025-12-20 17:09:50 -08:00
2025-12-13 12:50:33 -08:00
2025-12-13 10:04:01 +11:00
2025-12-22 03:18:55 -08:00
2025-12-22 01:25:23 -08:00
2025-12-20 17:09:50 -08:00
2025-12-20 17:09:50 -08:00
2025-12-20 17:09:50 -08:00
2025-12-02 23:44:22 -08:00
2025-12-07 21:14:13 +11:00
2025-12-02 22:41:07 -08:00
2025-12-21 15:22:45 -08:00
2025-12-21 23:08:00 -08:00
2025-12-19 01:47:03 -08:00
2025-12-18 18:56:59 -08:00
2025-12-18 18:56:59 -08:00
2025-12-20 01:59:31 -08:00
2025-12-20 17:22:43 -08:00
2025-12-22 02:21:40 -08:00
2025-12-20 02:38:56 -08:00
2025-12-20 17:22:43 -08:00
2025-12-16 14:20:49 -08:00
2025-12-20 17:09:50 -08:00
2025-12-22 03:18:55 -08:00
2025-12-20 17:09:50 -08:00
2025-12-13 12:50:33 -08:00
2025-12-20 17:09:50 -08:00
2025-12-20 16:43:43 -08:00
2025-12-20 17:22:43 -08:00
2025-12-16 14:20:49 -08:00
2025-12-18 00:41:49 -08:00
2025-11-30 15:35:30 -08:00
2025-12-20 17:09:50 -08:00
2025-12-16 00:56:06 -08:00
2025-12-21 23:11:48 -08:00
2025-12-19 17:58:24 -08:00
2025-12-20 17:09:50 -08:00
2025-12-20 23:26:35 -08:00
2025-12-21 15:29:58 -08:00
2025-11-29 22:24:29 -08:00
2025-12-20 12:57:16 -08:00
2025-12-21 15:41:22 -08:00
2025-12-20 17:09:50 -08:00
2025-12-20 17:09:50 -08:00
2025-12-20 17:09:50 -08:00
2025-12-04 11:21:43 -08:00
2025-12-20 17:09:50 -08:00
2025-12-20 17:09:50 -08:00
2025-12-20 17:09:50 -08:00
2025-12-22 02:21:40 -08:00
2025-12-22 14:06:45 -08:00
2025-12-21 11:43:43 -08:00
2025-12-21 11:43:43 -08:00
2025-12-21 22:58:05 -08:00
2025-12-21 11:43:43 -08:00
2025-12-22 02:21:40 -08:00
2025-12-22 14:06:45 -08:00
2025-12-22 00:54:35 -08:00
2025-12-21 13:44:25 -08:00
2025-12-04 11:21:43 -08:00
2025-12-19 23:18:11 -08:00
2025-12-18 11:48:02 -08:00
2025-12-20 17:09:50 -08:00
2025-12-22 14:15:33 -08:00
2025-12-22 02:21:40 -08:00
2025-12-22 02:21:40 -08:00
2025-12-03 18:08:33 -08:00
2025-12-20 17:09:50 -08:00
2025-12-20 17:09:50 -08:00
2025-12-20 17:09:50 -08:00
2025-12-02 23:44:22 -08:00
2025-11-30 00:38:57 -08:00
2025-12-20 17:22:43 -08:00
2025-12-05 14:47:02 -08:00
2025-12-18 11:25:17 -08:00
2025-12-20 17:09:50 -08:00
2025-12-15 23:59:21 -08:00
2025-12-20 17:09:50 -08:00
2025-12-20 17:09:50 -08:00
2025-12-20 17:09:50 -08:00
2025-12-22 01:26:45 -08:00
2025-12-16 13:06:47 -08:00
2025-12-20 17:09:50 -08:00
2025-12-04 11:21:43 -08:00
2025-12-20 17:09:50 -08:00
2025-12-20 17:22:43 -08:00
2025-12-20 17:09:50 -08:00
2025-12-21 23:11:48 -08:00
2025-12-20 17:09:50 -08:00
2025-12-22 01:25:23 -08:00
2025-12-02 22:41:07 -08:00
2025-12-20 17:22:43 -08:00
2025-12-20 13:14:39 -08:00
2025-12-20 17:22:43 -08:00
2025-12-19 17:52:27 -08:00
2025-12-04 11:21:43 -08:00
2025-12-16 14:20:49 -08:00
2025-12-21 12:43:18 -08:00
2025-12-21 13:44:25 -08:00
2025-12-21 15:22:45 -08:00
2025-12-13 12:50:33 -08:00
2025-12-20 03:10:06 -08:00
2025-12-21 15:22:45 -08:00
2025-12-13 12:50:33 -08:00
2025-12-20 17:22:43 -08:00
2025-12-20 17:09:50 -08:00
2025-12-20 17:09:50 -08:00
2025-12-03 18:30:53 -08:00
2025-12-20 17:09:50 -08:00
2025-12-13 10:04:01 +11:00
2025-12-04 11:21:43 -08:00
2025-12-20 20:50:33 -08:00
2025-12-22 03:18:55 -08:00
2025-12-22 14:06:45 -08:00
2025-12-16 00:06:19 -08:00
2025-12-16 00:06:19 -08:00