Skip to content

fix: make bd gateway compatible across old/new beads versions#23

Merged
web3dev1337 merged 1 commit intomasterfrom
fix/bd-no-daemon-compat
Mar 27, 2026
Merged

fix: make bd gateway compatible across old/new beads versions#23
web3dev1337 merged 1 commit intomasterfrom
fix/bd-no-daemon-compat

Conversation

@web3dev1337
Copy link
Copy Markdown
Owner

Summary

  • add runtime compatibility detection in BDGateway for bd --no-daemon
  • use --no-daemon when supported (older beads), omit it when unsupported (newer beads)
  • add retry fallback: if a command returns unknown flag: --no-daemon, rerun without the flag and cache support as disabled
  • expand unit coverage for probe caching, unsupported-flag mode, and runtime fallback retry

Why

Newer upstream beads releases reject --no-daemon, while older environments may still expect it. This makes GUI bead operations compatible across old/new CLI versions.

Validation

  • baseline before changes: npm test (pass)
  • after changes: npm test (pass)
  • frontend/e2e re-check: npm run test:e2e (pass)
  • npm run build is not defined in this repo (no build step)

@web3dev1337 web3dev1337 merged commit 3736f52 into master Mar 27, 2026
5 checks passed
@web3dev1337 web3dev1337 deleted the fix/bd-no-daemon-compat branch March 27, 2026 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant