Commit graph

8,994 commits

Author SHA1 Message Date
Julian Knutsen
35b9bbb6a0
fix(schema): unify migration advisory lock path (#4031) 2026-05-20 23:38:14 -07:00
Jim Wordelman
008508f5c9
test: prevent Cobra command flag cache races (#4011)
* test: prevent Cobra command flag cache races

* chore: release gate PASS for be-psutr9 (cobra/pflag race-fix)

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

* docs(gate): update be-psutr9 gate — re-review PASS (be-mouz), fix stale file list

Re-review be-mouz confirmed PASS on current HEAD 1b5536624. Correct files
changed: stdio_race_guard_test.go + test_helpers_pure_test.go only (earlier
version listed notion_test.go/stale_test.go which are no longer in the diff).

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

* fix: address PR review findings (bd-wrntbm)

---------

Co-authored-by: Julian Knutsen <julianknutsen@users.noreply.github.com>
Co-authored-by: Jim Wordelman <jim@wordelman.name>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-20 20:57:03 -07:00
matt wilkie
39f3148fc2
docs: clarify export versus database backup (#4048)
* docs: clarify export versus database backup
* docs: remove remaining JSONL backup wording
2026-05-20 16:19:23 -07:00
Dustin Brown
6f63ef3730
Merge pull request #4060 from coffeegoddd/db/provider
Db/provider
2026-05-20 15:16:57 -07:00
coffeegoddd☕️✨
479445c9d6 /internal/storage: cleanup 2026-05-20 14:58:19 -07:00
coffeegoddd☕️✨
b1e4652edf /internal/storage/{domain,uow}: dependency 2026-05-20 14:50:25 -07:00
coffeegoddd☕️✨
34ad562689 /internal/storage: remove some comments 2026-05-20 14:25:47 -07:00
coffeegoddd☕️✨
54b83a389f /internal/storage/domain: consolidate 2026-05-20 14:23:42 -07:00
coffeegoddd☕️✨
a873d5e82a /internal/storage/domain/db: handle wisps too 2026-05-20 14:14:55 -07:00
coffeegoddd☕️✨
d56ca3893a /internal/storage/domain/db: dependency 2026-05-20 13:51:18 -07:00
coffeegoddd☕️✨
e346490a2d /internal/storage/domain/db: comments 2026-05-20 13:37:55 -07:00
coffeegoddd☕️✨
93b63c7a65 /internal/storage/domain: add event 2026-05-20 13:19:59 -07:00
coffeegoddd☕️✨
5a1d5b4334 /internal/storage/domain/db: issue 2026-05-20 13:10:38 -07:00
coffeegoddd☕️✨
e8fb231ac6 /internal/storage/{uow,domain}: wip stubs 2026-05-20 12:34:37 -07:00
Julian Knutsen
8517ba1afa
test: add perf reference benchmarks (#4032)
* test: add perf reference benchmarks

* test: tighten perf reference benchmarks

* Fix perf benchmark review findings (bd-fsgqsj)
2026-05-19 18:39:13 -07:00
Dustin Brown
8f5ec4611f
Merge pull request #4047 from coffeegoddd/db/provider
Db/provider
2026-05-19 16:35:31 -07:00
coffeegoddd☕️✨
24a1a93b0a /.github/workflows/ci.yml: run tests in CI 2026-05-19 16:09:43 -07:00
coffeegoddd☕️✨
ba36b678c3 /{cmd,internal}: more cleanup 2026-05-19 16:00:25 -07:00
coffeegoddd☕️✨
e9ece3a127 /{cmd,internal}: cleanup 2026-05-19 15:47:57 -07:00
coffeegoddd☕️✨
98be00c92e /{cmd,internal}: refactoring 2026-05-19 15:37:37 -07:00
coffeegoddd☕️✨
4fcbd58825 /{cmd,internal}: wip, implementing init with proxied-server 2026-05-19 14:17:14 -07:00
Dustin Brown
c79177073a
Merge pull request #4039 from coffeegoddd/db/remove-generated-column
refactor(deps): resolve depends_on_id via typed columns at read time
2026-05-19 13:46:10 -07:00
Dustin Brown
c959bdac8a
Merge pull request #4042 from coffeegoddd/db/debug-mode
/{cmd,internal}: get debug mode working
2026-05-19 13:24:27 -07:00
coffeegoddd☕️✨
3b1d3b3df9 /internal/storage/issueops/dependencies.go: remove comment 2026-05-19 13:11:24 -07:00
coffeegoddd☕️✨
4b5936df91 /{docs,website}: generate docs 2026-05-19 12:59:04 -07:00
coffeegoddd☕️✨
cc0f80c8d4 /internal/storage/issueops/ready_work_test.go: fix tests 2026-05-19 12:57:22 -07:00
coffeegoddd☕️✨
b456ec58fc /{cmd,internal}: some cleanup 2026-05-19 12:47:34 -07:00
coffeegoddd☕️✨
44d3288107 /internal/storage/issueops/ready_work.go: fix ready work query 2026-05-19 12:43:26 -07:00
coffeegoddd☕️✨
4d3228517f /{cmd,internal}: get debug mode working 2026-05-19 11:48:10 -07:00
coffeegoddd☕️✨
eee26a7329 /internal/storage/{dolt,issueops}: more fixes 2026-05-19 11:45:17 -07:00
coffeegoddd☕️✨
9106148705 /internal/storage/issueops/dependencies.go: fix formatting 2026-05-19 11:04:51 -07:00
coffeegoddd☕️✨
fee553f612 /internal/storage/{dolt,issueops,schema}: remove comments 2026-05-19 11:02:40 -07:00
coffeegoddd☕️✨
c2cbfd3fbb /{cmd,internal}: some fixes 2026-05-19 10:17:51 -07:00
coffeegoddd☕️✨
d15c7572f4 /{cmd,internal}: remove depends_on_id 2026-05-19 10:17:49 -07:00
Julian Knutsen
e569c7488b
fix: materialize local table schemas for branch tests (#4014)
* fix: materialize local table schemas for branch tests

* fix: harden dependency target rename
2026-05-19 09:22:35 -07:00
Julian Knutsen
0bf33da634
perf(ready): narrow deferred-parent child filtering (#4001)
* perf(ready): narrow deferred parent filtering

* fix: address ready review findings (bd-wisp-r6076f)
2026-05-18 11:47:18 -07:00
matt wilkie
d7d3dad580
fix(dolt): adopt git origin on first push (#3940)
* fix(dolt): adopt git origin on first push

bd dolt push now wires an existing git origin when no Dolt remote is configured, while init without origin stays local and doctor shows the concrete adoption command. This keeps refs/dolt/data sync discoverable without treating plain remotes as existing Dolt history.\n\n_kilocode-openai/gpt-5.5- on behalf of maphew_

* fix(dolt): address origin adoption review nits

Share Dolt remote URL normalization between the push adoption path and doctor guidance, fail before mutating Dolt state when no beads workspace is selected, and cover CheckRemoteConsistency's adoption detail.

_codex-gpt-5-medium on behalf of maphew_
2026-05-18 10:43:51 -07:00
Julian Knutsen
ad7674d117
perf(get): query primary issues before wisp fallback (#4003)
* perf(get): query primary issues before wisp fallback

* fix(get): propagate wisp label lookup errors (bd-wisp-6fcee9)
2026-05-18 03:37:02 -07:00
Julian Knutsen
83f49c027c
perf(ready): restrict blocked dependency scans to active IDs (#4002)
* perf(ready): restrict blocked dependency scan to active IDs

* test(ready): cover blocked dependency scan review fixes (bd-wisp-fmyceu)
2026-05-17 15:06:19 -07:00
Julian Knutsen
a4ebe8ffec
perf(deps): scan one cycle table for same-storage edges (#4004)
* perf(deps): narrow recursive cycle checks

* fix(deps): keep mixed-table cycle detection

* fix(deps): preserve mixed-table wisp cycle scans
2026-05-17 15:06:01 -07:00
Julian Knutsen
376a24ad17
fix(schema): serialize Dolt schema migrations (#4005)
* fix(schema): serialize Dolt schema migrations

* fix(schema): harden migration lock handling (bd-wisp-5pl1m9)
2026-05-17 15:05:43 -07:00
Jim Wordelman
42a2772fe4
refactor(ui): extract markdown rendering to internal/uimd package (#4009)
* refactor(ui): extract markdown rendering to internal/uimd package

Move RenderMarkdown out of internal/ui into a new internal/uimd package
so callers that don't need markdown don't pay the ~4.6 MB chroma/glamour
init cost on every bd subprocess.

Update callers: cmd/bd/show.go, show_display.go, show_children.go,
comments.go.

Closes be-ow4w54

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

* chore: release gate PASS for be-ow4w54 (uimd markdown extract)

* docs: narrow uimd release gate scope (bd-wisp-msz5y1)

---------

Co-authored-by: Jim Wordelman <jim@wordelman.name>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Julian Knutsen <julianknutsen@users.noreply.github.com>
2026-05-17 15:05:25 -07:00
Dustin Brown
c72581c8bb
Merge pull request #4017 from coffeegoddd/db/schema-lock
/internal/storage/schema/schema.go: advisory lock for concurrent inits
2026-05-17 12:59:17 -07:00
coffeegoddd☕️✨
0d27f4161b /internal/storage/schema/schema.go: fix panic 2026-05-17 12:44:51 -07:00
coffeegoddd☕️✨
4c0338ee5a /internal/storage/schema/schema.go: use query context 2026-05-17 09:09:38 -07:00
coffeegoddd☕️✨
beb2969ae7 /internal/storage/schema/schema.go: panic on failure to unlock 2026-05-17 08:57:33 -07:00
coffeegoddd☕️✨
c90a2daed8 /internal/storage/schema/schema.go: advisory lock for concurrent inits 2026-05-17 08:35:39 -07:00
Julian Knutsen
ed2b5aea52
fix(ready): apply filters to wisp ready work (#4008)
* fix(ready): apply filters to wisp ready work

* test(dep): expect current no-cycle message

* fix(ready): align wisp readiness filters
2026-05-17 08:08:58 -07:00
matt wilkie
74c66722b1
Merge pull request #3996 from quad341/fix/be-0ya2oe-embedded-stderr-split
test(embedded): split stdout/stderr in all JSON-parsing helpers (be-0ya2oe)
2026-05-16 21:21:37 -07:00
matt wilkie
0da87e1c6c test: share embedded command stream helper
Add a shared runCommandBuffers helper for embedded subprocess tests so the PR keeps stdout/stderr separation without repeating buffer setup in every JSON-output test.

_codex-gpt-5- on behalf of matt wilkie_
2026-05-16 21:07:12 -07:00