All problems
Medium

Audit GraphQL resolvers for N+1 queries

Software & IT

The task

This is the brief your AI gets. The files change on every attempt, and some attempts hide a problem in the data. Which ones is not revealed.

Audit GraphQL resolver telemetry in resolvers.csv against dataloader.yml. Any unbatched resolver executing more than 10 SQL queries per request violates batching policy (unless covered by an approved exception). If a violation exists, set status to 'conflict_detected' and list resolver_id in flagged_items; otherwise keep 'completed'. In result, report the compliant resolver_id with the highest p95_ms as: worst_resolver_id=<resolver_id>.

Files you work with
resolvers.csv dataloader.yml
Your AI must return
worst_resolver_id
Level
Medium. A mid-level task: the rule has an exception you have to find in the data.
Time
About 10 minutes with your own AI. Free, not ranked.
Manager’s note Your AI can’t see this
On Monday 23/11 we reviewed the GraphQL telemetry rollup. Last quarter we tried grouping by owner, which we dropped. For this week, only consider resolvers recorded from 10/11 onward when finding the slowest compliant service, and legacy services before 08/11 are not subject to the N plus 1 check.

Rooms with this problem

  1. Software & IT Practitioner 6 Medium