{"version":"2.1.328","anchor":"review-finding-schema-gains-optional-severity","canonical_anchor":"review-finding-schema-gains-optional-severity","heading":"Code review findings can carry a severity label","tier":"notice","area":"Code Review","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328\/e\/review-finding-schema-gains-optional-severity","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328","markdown":"### Code review findings can carry a severity label\n\nCode review findings can now be labelled important, pre_existing or nit, with new bugs-focused review prompt variants\n\n**What**\n\nThe code review feature can now attach a `severity` to each finding it reports:\n\n- `important`: a bug the change adds or makes worse.\n\n- `pre_existing`: a bug that was there before the change.\n\n- `nit`: a minor issue.\n\nThe field is optional and is set only when the review instructions ask for it. Before, findings had no severity at all. Along with it:\n\n- The review instructions add rules for ranking findings by severity, and say a severity only labels and orders a finding and must never be a reason to drop one.\n\n- Review comments are told to open with the severity in words instead of an emoji.\n\n- New prompt variants were added: `bugs-conventions-v1`, `bugs-conventions-xhigh-v1` and `bugs-conventions-max-v1`.\n\n- The review's usage records gain a `cell` field.\n\nNo separate gate, a remote switch, was found for this.\n\n**Why**\n\nReview output, including comments posted on pull requests, can now separate new bugs from old ones and from small issues, so the most important findings are easier to spot.\n\n- Area: Code Review\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}