Skip to content

fix(bluebubbles): isolate standalone sends from gateway lifecycle - #79747

Closed
Cloudymap1e wants to merge 3 commits into
NousResearch:mainfrom
Cloudymap1e:fix/78424-bluebubbles-standalone-send
Closed

fix(bluebubbles): isolate standalone sends from gateway lifecycle#79747
Cloudymap1e wants to merge 3 commits into
NousResearch:mainfrom
Cloudymap1e:fix/78424-bluebubbles-standalone-send

Conversation

@Cloudymap1e

Copy link
Copy Markdown

Summary

  • connect temporary BlueBubbles senders in outbound-only mode without binding or unregistering the inbound webhook
  • keep standalone sender connect/disconnect from mutating the live gateway's persisted PID/status record
  • keep standalone fallback independent of the live adapter, avoiding duplicate and cross-event-loop retries after callers already attempted live delivery
  • preserve normal gateway listener, webhook registration, and lifecycle behavior

Fixes #78424

Testing

  • scripts/run_tests.sh -j 1 tests/gateway/test_bluebubbles.py -q — 22 passed
  • ruff check gateway/platforms/bluebubbles.py tools/send_message_tool.py tests/gateway/test_bluebubbles.py — passed
  • git diff --check — passed

Checklist

  • Focused behavior-level regression coverage
  • No new dependency or configuration key
  • Normal inbound gateway lifecycle remains the default
  • Focused diff with no unrelated changes

@alt-glitch alt-glitch added type/bug Something isn't working comp/gateway Gateway runner, session dispatch, delivery comp/tools Tool registry, model_tools, toolsets P2 Medium — degraded but workaround exists duplicate This issue or pull request already exists sweeper:risk-message-delivery Sweeper risk: may drop, duplicate, misroute, or suppress messages labels Aug 5, 2026
@alt-glitch

Copy link
Copy Markdown
Collaborator

This was generated by AI during triage.

Duplicate of #51763. Its send_only adapter path already avoids the standalone webhook bind and preserves the live gateway lifecycle/status state.

@Cloudymap1e

Copy link
Copy Markdown
Author

Closing in favor of the earlier #51763, which covers the same outbound-only BlueBubbles lifecycle and standalone-send path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/gateway Gateway runner, session dispatch, delivery comp/tools Tool registry, model_tools, toolsets duplicate This issue or pull request already exists P2 Medium — degraded but workaround exists sweeper:risk-message-delivery Sweeper risk: may drop, duplicate, misroute, or suppress messages type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(bluebubbles): standalone cron delivery fails with Errno 48 (webhook port already in use)

2 participants