Repository navigation
Add crossplot startup route handshake - #12
Merged
Merged
Conversation
Galactic plots could publish events before other plots had registered their listeners with the main bus, so early messages were lost. - A bus created with an initial_route_source defers its subscription messages and sends its complete listener list in one message via submit_initial_routes(required_sources) on busid:main:routes. - Endpoints keep the established busid:main:subscribe and busid:main:unsubscribe messages, emitting them once per event when the endpoint's local listener state changes. - The main bus (crossplot:main) holds publications until every required startup source (default "galactic-core") has reported, then sets busid:main:ready. - Notifications are taken (read and cleared) before callbacks run, so a failing listener cannot block the mailbox; malformed notifications are dropped. Subscribers are stored once per endpoint and each publication is sent through the Mailbox serializer. - deepcore:galactic registers as "galactic-core" and submits its routes after all plugins are loaded; config.required_initial_route_sources can name additional sources to wait for. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Minimum allowed coverage is Generated by 🐒 cobertura-action against eae25a5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
This PR is #10 rebased onto master
subscribe/unsubscribenotification types instead of genericroute.Changes
Galactic plots could publish events before other plots had registered their listeners with the main bus, so early messages were lost.