All problems
Medium

Check feature flag targeting expressions

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.

Inspect flag_targets.toml. Rule: in env='prod', rule_expr must never be the wildcard "user.id == '*'". Wildcards are allowed in dev. If any prod target uses a wildcard rule_expr, set status to 'conflict_detected' and put its target_id in flagged_items. Otherwise keep 'completed'. Return in result: compliant_qps_budget=<sum of qps_budget for compliant targets>.

Files you work with
flag_targets.toml
Your AI must return
compliant_qps_budget
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
Tuesday 24/11 update on summing compliant QPS budgets across targeting rules. When summing qps_budget, leave the beta tier out of the reported total. Someone asked whether to drop the internal tier too; we declined, so keep it in. Still check for wildcard targeting expressions across the entire config.

Rooms with this problem

  1. Software & IT Practitioner 6 Medium