feat(swarm): port bd swarm status + validate to proxied-server mode (bd-gen49) (#5360)
Both commands are pure computed reads (epic progress; ready fronts + cycle detection), so they route through one read-only unit of work via uow.RunTxRead — no commit message, no Dolt commit, no commandDidWrite — with the existing uowMolReader adapter satisfying the SwarmStorage seam (and utils.PartialIDResolverStore) over the UOW use-cases. All traversal and rendering code is shared with the classic route unchanged. swarm create and swarm list stay gated with their existing refusals (no downstream consumer). TestProxiedServerSwarm builds an identical explicit-ID epic DAG (one closed, one in_progress+assignee, one ready, one blocked child) in a proxied project and a classic embedded project, and asserts status + validate human output byte-for-byte and --json deep-equal across modes, a planted-cycle validate failure (proxied-only: classic embedded has no bd sql and dep add cycle-gates, so there is no classic door to plant one), the create/list refusals, and that the reads advance no Dolt HEAD. Claude-Session: https://claude.ai/code/session_01JtAkNTf8DGzP1AF3FMuGmm Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
7c5e4236a1
commit
8ceaf9a3b5
4 changed files with 428 additions and 2 deletions
1
.github/scripts/proxied-cmd-test-shards.txt
vendored
1
.github/scripts/proxied-cmd-test-shards.txt
vendored
|
|
@ -95,6 +95,7 @@
|
|||
15 10 TestProxiedServerLabel
|
||||
15 10 TestProxiedServerList
|
||||
15 10 TestProxiedServerSQLDatabaseFlag
|
||||
15 10 TestProxiedServerSwarm
|
||||
15 10 TestProxiedServerUpdateWisp
|
||||
|
||||
15 11 TestProxiedServerCompactHistory
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue