Skip to content

Queue Topology Update#48

Merged
psilabs-dev merged 24 commits into
dev-2.4.4/mainfrom
dev-2.4.4/rabbit-integration
Mar 8, 2026
Merged

Queue Topology Update#48
psilabs-dev merged 24 commits into
dev-2.4.4/mainfrom
dev-2.4.4/rabbit-integration

Conversation

@psilabs-dev
Copy link
Copy Markdown
Owner

@psilabs-dev psilabs-dev commented Feb 24, 2026

Issues:

By v0 topology, we refer to the rabbitmq/celery topology which exists in the "main" branch. This topology consists of one queue and one exchange, and does not support DLQ or priority capabilities.

This PR applies a minor version update to common, client, and server against the "main" branch, and applies permanent topology changes to address architectural issues to PixivUtil server. If the current minor version of "main" is X, then the version with this PR shall be X+1.

Implement DLQ and 3-tier priority queue v1 topology + permanent upgrade to v1 from v0 during worker init. If v0 has messages these messages will be deleted. No logic will be included for this migration to save messages.

DLQ exists only to handle network-related exceptions that arise from an internet blackout, not to handle privated/deleted artworks or unauth exceptions. Any other error will discard message as normal.

Migration and architecture changes apply only to the "main" branch.

@psilabs-dev psilabs-dev self-assigned this Feb 24, 2026
@psilabs-dev psilabs-dev changed the title RabbitMQ and Integration Tests Queue Topology Update Feb 25, 2026
@psilabs-dev psilabs-dev merged commit 3fa9d6f into dev-2.4.4/main Mar 8, 2026
1 check passed
@psilabs-dev psilabs-dev deleted the dev-2.4.4/rabbit-integration branch March 8, 2026 22:56
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