beads/.github/scripts
Steve Yegge 50763fcba7
fix(proxied): close relate.go + human.go direct-store seams (bd-m7zzd) (#5361)
Two P1-1 residual proxied-mode seams from the bd-6dnrw.44 re-verification,
both PORTED (each was genuinely small):

- bd dep relate/unrelate: no usesProxiedServer() branch meant an opaque
  "cannot resolve issue ID: storage is nil" death. Now routed through new
  runRelate/UnrelateProxiedServer duals: one RunTx with a real commit
  message per invocation (both directed relates-to edges in one Dolt
  commit for relate; both removals in one for unrelate, empty-message
  no-op when neither edge existed), classic "issue not found" /
  self-relate refusals preserved. Exact canonical ids only, like every
  other proxied dep verb.

- bd human list/respond/dismiss/stats: each called ensureStoreActive(),
  which in proxied mode lazily opened a DIRECT store, silently bypassing
  the proxy. Root cause: "human" sits in noDbCommands for its bare help
  screen, so its DB-backed subcommands skipped store init entirely and
  direct mode papered over it lazily. The subcommands now fall through to
  store init (needsStoreHumanSubcommands, dolt-subcommand pattern) and
  branch to proxied duals before the direct-store path: reads on one
  read-only UOW, respond/dismiss each ONE RunTxResult (existence +
  already-closed preflight, comment + close in the same transaction)
  under "bd: human respond/dismiss <id>" commit messages. human moves to
  the forbidigo proxied-twin family in .golangci.yml (same filter built
  on both routes).

Tests: TestProxiedServerRelate + TestProxiedServerHuman journey suites on
the shared testcontainers harness, incl. dolt_log assertions that each
write invocation lands exactly one commit with its own message, and that
the "storage is nil" death is gone; shard manifest entries added at the
hash-fallback shards (7, 11).


Claude-Session: https://claude.ai/code/session_01JtAkNTf8DGzP1AF3FMuGmm

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-05 09:05:29 -07:00
..
ci-capability-selector.sh ci: shadow PR Risk capability ownership (bd-8yjq8.1) (#5324) 2026-08-03 20:06:16 -07:00
ci-embedded-tier.sh Tier embedded Dolt CI for PRs (bd-0gz) (#3459) 2026-04-24 07:53:23 -07:00
ci-gate.sh Add PR CI wrapper command surface (#4211) 2026-05-29 18:52:53 -07:00
docs-render-check.sh chore: purge deleted docs-pipeline references from release tooling, CI, and repo plumbing 2026-07-12 11:07:26 -07:00
embedded-cmd-test-shards.txt Rebalance embedded cmd CI shards (bd-8zg) (#3499) 2026-04-25 17:58:51 -07:00
embedded-storage-test-shard.sh ci: shard Embedded Dolt Storage into 5 manifest-driven shards (#5117) 2026-07-28 22:16:48 -07:00
embedded-storage-test-shards.txt ci: shard Embedded Dolt Storage into 5 manifest-driven shards (#5117) 2026-07-28 22:16:48 -07:00
embedded-test-shard.sh Rebalance embedded cmd CI shards (bd-8zg) (#3499) 2026-04-25 17:58:51 -07:00
proxied-cmd-test-shards.txt fix(proxied): close relate.go + human.go direct-store seams (bd-m7zzd) (#5361) 2026-08-05 09:05:29 -07:00
proxied-test-shard.sh /.github/{scripts,workflows}: shard it 2026-07-15 18:19:36 -07:00