Skip to content

add broadcast exchange for cluster-wide settings push (#2)#3

Merged
Esity merged 1 commit into
mainfrom
feature/issue-2
Mar 31, 2026
Merged

add broadcast exchange for cluster-wide settings push (#2)#3
Esity merged 1 commit into
mainfrom
feature/issue-2

Conversation

@Esity

@Esity Esity commented Mar 31, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add legion.cluster.control topic exchange for cluster-wide broadcast
  • Per-node auto-delete queues bound on boot for settings push, feature flags, and killswitch
  • New messages: ClusterSettings and ClusterKillswitch
  • ClusterControl subscription actor routes by routing key to existing runners
  • New runner methods: broadcast_settings and killswitch

Closes #2

Test Coverage

  • Specs for exchange, queue, messages, actor, and runner methods
  • bundle exec rspec — 162 examples, 0 failures
  • bundle exec rubocop — zero offenses

@Esity Esity requested a review from a team as a code owner March 31, 2026 23:28
@Esity Esity merged commit 6048c6e into main Mar 31, 2026
11 checks passed
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.

add dedicated broadcast exchange for cluster-wide settings push and feature flags

1 participant