Expose code suggestions AE to graphql
What does this MR do and why?
- Adds Duo Code Suggestions aggregation engine to the GraphQL API.
- Renames the AiUsage GraphQL type to Analytics for a more generic naming. Updates all references across group/project types, resolvers, spec files, documentation, and the GraphQL introspection result. No functional changes — purely a rename/refactor
References
Screenshots or screen recordings
How to set up and validate locally
- Setup ClickHouse in GDK
- Run db seeds with
FILTER=ai_usage_stats bundle exec rake db:seed_fu - Execute a query similar to the one shown in the screenshot above.
- Validate output.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Pavel Shutsin
