Repository navigation
Conversation
…LL_GROUP_BY Order check-in and ticket stats by MIN() of the raw date and wrap non-grouped sponsor/tier names in ANY_VALUE() so the queries run with stock sql_mode.
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Order groups by earliest timestamp app/Models/Foundation/Summit/SummitRegistrationStats.php |
The grouped attendee check-in query orders by the earliest check-in timestamp. The grouped purchased-ticket query orders by the earliest ticket-purchase timestamp. |
Promo-code grouped selection
| Layer / File(s) | Summary |
|---|---|
Aggregate sponsor fields app/Repositories/Summit/DoctrineSummitRegistrationPromoCodeRepository.php |
The grouped query uses ANY_VALUE() for sponsor tier and company name in the specified promo-code and discount-code classes. The null fallbacks and aliases remain unchanged. |
Priority:
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Bug fix
Suggested reviewers: smarcet
Merge Risk: 
Minimal · up to 3f033
-
No actionable merge-blocking risk remains in the reviewed query changes.
Pre-merge checks: 
5
Finishing Touches
-
📝 Generate docstrings
-
- Commit to this branch
- Create a new PR
🧪 Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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 @coderabbitai help to get the list of available commands.
|
📘 OpenAPI / Swagger preview ➡️ https://OpenStackweb.github.io/summit-api/openapi/pr-658/ This page is automatically updated on each push to this PR. |
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. 🤖 Generated with Claude Code |
ref https://app.clickup.com/t/9014802374/86bc4fj6y
Summary
Dev and CI override `sql_mode`, so these queries had never run with `ONLY_FULL_GROUP_BY`. This removes the dependency on the `sql_mode` pin.
Testing
The fourth query (`summit-reports-api`, `reports_api/reports/schema.py`) is in another repo and is not part of this PR.
🤖 Generated with Claude Code
Summary by CodeRabbit