fix: stop trimming the odd queuer under strict EvenTeams#17
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughBgAutoQueue no longer derives strict EvenTeams mode from configuration or trims verified buckets for parity. Startup logging and queueing documentation are updated, and new private skip, broadcast, decline, and opt-out settings are declared. ChangesEven-teams queue behavior
Estimated code review effort: 3 (Moderate) | ~20 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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 |
There was a problem hiding this comment.
Pull request overview
This PR adjusts battleground auto-queue behavior to stop deferring (“parity trimming”) an odd extra player under strict cross-faction EvenTeams, allowing the entire verified bucket to be queued and letting the matcher invite an even subset while leaving the odd player queued as backfill.
Changes:
- Removed strict EvenTeams parity-trimming logic from
QueueBucket, so odd-sized verified groups/solos are still queued. - Simplified config mirroring/logging by dropping the mirrored
CFBG.EvenTeams.Enabled/_evenTeamsStricttracking. - Updated header and inline comments to reflect the new queueing behavior and rationale.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/BgAutoQueue.h | Updates API/member comments and removes _evenTeamsStrict member to align with new queueing behavior. |
| src/BgAutoQueue.cpp | Removes parity-trim logic in QueueBucket and removes config/log plumbing for strict EvenTeams tracking. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| // Queue the whole verified bucket, including an odd solo: under strict CFBG | ||
| // EvenTeams the matcher invites the even subset and leaves the odd one | ||
| // queued, where it becomes exactly the backfill the queue needs -- the next | ||
| // queue update after any decline pulls it in via FillPlayersToCFBG, and a | ||
| // manual 6th queuer arriving mid-interval can pop a match with it. |
Summary by CodeRabbit
New Features
Bug Fixes