code change · otherAL Developmentofficial - Microsoftreviewed - checked by Opus

#10514 Ruleset hardening: promote AS0022, AA0087, AW0003, AA0203, AL0717 to Error

Five analyzer rules (AS0022, AA0087, AW0003, AA0203, AL0717) are promoted from Warning to Error by removing their overrides from the shared ruleset, with targeted pragmas added to suppress specific violations.

Pull request · merged into main (BC30) on 2026-08-31 by JesperSchulz · 7 files (+12 -24), 5 AL · other · tier official · reviewed (checked by Opus)

What changed

  • Five AL analyzer rules moved back to Error severity in the ruleset hierarchy
  • 94 ruleset overrides reduced to 89 by removing five rule suppression entries
  • Each remaining violation suppressed with narrowly scoped pragmas rather than repo-wide disabling
  • Violations ranged from none to three across 1-2 files per rule
  • Scope established through comprehensive diagnostic census from green CI builds covering 855 of 877 projects

AL objects touched

Context

  • Work items: AB#640773
  • Labels: AL: Apps (W1), Ownership: Needs Review, Team: Other
  • Systems: development, finance, integration, service, warehouse

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