fix: run delayed retries, manual creates and aggregation in the subscription's work group - #326
Conversation
…ription's work group
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: simplify9/coderabbit/.coderabbit.yaml Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (4)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. 📜 Recent review details⏰ Context from checks skipped due to timeout. (1)
📝 SummarySummary
Riskrisk:low. The changes are limited to subscription queries and routing coverage. Security-sensitive areasNo authentication, authorization, or sensitive-data handling changes are shown. Deployment and operationsNo schema or configuration changes are shown. No migration or rollback steps are indicated. WalkthroughThree subscription lookups now use ChangesWork-group routing
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Suggested labels: Suggested reviewers: Merge Risk: ⚪ Minimal · up to The subscription lookups and routing tests show no identified issue requiring a fix before merge. Security Architecture ReviewSecurity architecture risk: 🟡 Moderate · up to Routing now follows each subscription’s work group rather than the ungrouped queue. The changed lookups preserve subscription selection, but authorization for manual creation and the isolation properties of work-group workers remain unverified. Retained concerns Security review detailsSecurity Blast Radius
Trust Boundaries and Controls
Hardening Proposals
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Delayed retries, manual "create exchange" and aggregation loaded the subscription without its work group. So those exchanges ran in the ungrouped queue, with no error, even when the subscription had a work group. Their results still went to the right group's result queue.
These three paths now load the work group the same way normal runs and manual retries already do. Subscriptions without a work group still go to ungrouped, as before.
Tests:
WorkGroupRoutingTestscovers each path on a fresh DbContext. All three got0Ungroupedbefore the fix and pass now, and the related retry and aggregation test classes (84 tests) pass.