code change · featureCopilot & Agentsofficial - Microsoftreviewed - checked by Opus

#249 Route guard-dependent and/or conditions to the short-circuit article

The AL performance review skill gains a targeted cue to worklist the boolean-operators-do-not-short-circuit article when an and/or condition joins a guard with an operand that depends on it, such as a division, subscript or field read after Get. The article is also added to the performance override in the review fixtures.

Pull request · merged into main on 2026-10-20 by JesperSchulz · 2 files (+2 -0), 1 AL · feature · tier official · reviewed (checked by Opus)

What changed

  • Adds a cue in al-performance-review.md for guard-dependent and/or conditions
  • Conditions whose operands are all independently safe and cheap are excluded
  • Review fixtures now use the article’s bad and good examples as positive and clean cases
  • Demo runs found the issue in 2 of 2 runs versus 0 of 2 before
  • Fixture, contract and frontmatter validators pass
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Systems: copilot, development

Source: metadata of a merged pull request in microsoft/BCQuality (bcquality): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).