Bug Fixes
REST API Push Delivery Fix
Fixed multiple issues that prevented push subscriptions from working via the REST API:
- Message Fanout: REST API now properly fans out messages to all subscriptions when publishing to a topic, matching gRPC behavior
- Subscription Queue Creation: REST API now creates a dedicated queue for each subscription, allowing messages to be stored per-subscription
- Push Delivery Enqueueing: REST API now enqueues messages for push delivery when publishing to topics with push subscriptions
- Fixed Queue ID Usage: Fixed
pull,acknowledge, andmodifyAckDeadlineendpoints to use subscription ID instead of topic ID (was causing 500 errors)
Architecture Improvements
DeliveryQueueis now shared between gRPC and REST serversPushWorkerPoolis created once at startup and shared across both APIs- Unified push delivery infrastructure for consistent behavior
Testing
- Added
test_publish_enqueues_push_subscription_messagestest - All 425+ tests passing