[WPB-28375] Move sync-user-group background jobs from RabbitMQ to Arbiter - #5490
Open
blackheaven wants to merge 1 commit into
Open
[WPB-28375] Move sync-user-group background jobs from RabbitMQ to Arbiter#5490blackheaven wants to merge 1 commit into
blackheaven wants to merge 1 commit into
Conversation
blackheaven
force-pushed
the
gdifolco/WPB-28375-background-jobs-arbiter
branch
from
August 28, 2026 08:57
6ac3844 to
159cd2b
Compare
…iter Add a 'user-groups' queue to the Arbiter job registry with a UserGroupsJobPayload sum (sync_user_group / sync_user_group_and_channel). brig now publishes sync jobs through the shared Postgres pool (per-group serialization, 3 attempts) and runs the registry migrations at startup. background-worker consumes the queue in a third Arbiter worker pool, reusing the existing dispatch pipeline; chained syncs are published back onto Arbiter and failures are retried via throwRetryable. The RabbitMQ jobs path is removed: jobs consumer and registry modules, RabbitMQ publisher interpreter, the BackgroundJob envelope and its dead serialization, the amqpJobsPublisherChannel in brig and background-worker, the backgroundJobs config block, and the corresponding charts, docs, and queue assertions in Test.Events. Backend-notification push and dead-user-notification watching remain on RabbitMQ.
blackheaven
force-pushed
the
gdifolco/WPB-28375-background-jobs-arbiter
branch
from
August 28, 2026 09:20
159cd2b to
377e193
Compare
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.
https://wearezeta.atlassian.net/browse/WPB-28375
Checklist
changelog.d