---
id: change/bcquality/249
type: change
title: "#249 Route guard-dependent and/or conditions to the short-circuit article"
summary: 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.
tier: official
language: en
tags:
  - feature
  - main
system: copilot
review:
  state: reviewed
  by: opus
  at: "2026-10-21T00:48:36.872Z"
  flags: []
generated:
  at: "2026-10-29T21:26:59.577Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: a4593a1b1585a0fa663efbf39ff02c60f846d851
evidence:
  - kind: code
    url: https://github.com/microsoft/BCQuality/pull/249
    title: "microsoft/BCQuality#249: Route guard-dependent and/or conditions to the short-circuit article"
    date: "2026-10-20"
    commit: a4593a1b1585a0fa663efbf39ff02c60f846d851
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines:
    - guideline/microsoft/skills/review/al-performance-review
  changes: []
number: 249
repo: microsoft/BCQuality
source_id: bcquality-prs
url: https://github.com/microsoft/BCQuality/pull/249
kind: pr
base_branch: main
major: null
merged_at: "2026-10-20T15:59:46Z"
author: JesperSchulz
author_type: User
community_contribution: false
labels: []
change_class: code
change_kind: feature
behavior_change: true
breaking: false
files:
  count: 2
  additions: 2
  deletions: 0
  al: 1
apps: []
objects_touched: []
objects_unjoined:
  - path: microsoft/skills/review/al-performance-review.md
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports: []
fixes_issues: []
work_items: []
systems:
  - copilot
  - development
quote: null
joined_against:
  major: null
  commit: null
---

# #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](https://github.com/microsoft/BCQuality/pull/249) · 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

- [`microsoft/skills/review/al-performance-review.md`](../../guidelines/microsoft/skills/review/al-performance-review.md): modified, not in the BC? snapshot

## 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).
