code change · featureAL Developmentofficial - Microsoftreviewed - checked by Opus

#99 Add lifecycle error and privacy knowledge

Five new knowledge articles with code samples were added covering try-function semantics, upgrade phase data writes, install-versus-upgrade dispatch logic, ErrorInfo privacy exposure, and FeatureTelemetry logging, plus related review skills were updated.

Pull request · merged into main on 2026-07-14 by JesperSchulz · 25 files (+458 -38), 25 AL · feature · tier official · reviewed (checked by Opus)

What changed

  • Added five focused rules with good and bad AL examples for TryFunction calls, upgrade phases, install code dispatch, ErrorInfo classification, and FeatureTelemetry.LogError payloads
  • Integrated new rules into error-handling, upgrade, and privacy review skills with typed ErrorInfo retrieval and upgrade-helper analysis
  • Corrected conflicting guidance in existing articles about install behavior, validation triggers, and ErrorType usage
  • All changes validated through frontmatter checks, knowledge-index tests, JSON parsing, and reference resolution

AL objects touched

  • microsoft/knowledge/error-handling/errortype-internal-vs-client-for-diagnostics.good.al: modified, not in the BC? snapshot
  • microsoft/knowledge/error-handling/errortype-internal-vs-client-for-diagnostics.md: modified, not in the BC? snapshot
  • microsoft/knowledge/error-handling/ignored-tryfunction-return-disables-try-semantics.bad.al: added, not in the BC? snapshot yet
  • microsoft/knowledge/error-handling/ignored-tryfunction-return-disables-try-semantics.good.al: added, not in the BC? snapshot yet
  • microsoft/knowledge/error-handling/ignored-tryfunction-return-disables-try-semantics.md: added, not in the BC? snapshot yet
  • microsoft/knowledge/privacy/errorinfo-telemetry-classification-and-errortype.bad.al: added, not in the BC? snapshot yet
  • microsoft/knowledge/privacy/errorinfo-telemetry-classification-and-errortype.good.al: added, not in the BC? snapshot yet
  • microsoft/knowledge/privacy/errorinfo-telemetry-classification-and-errortype.md: added, not in the BC? snapshot yet
  • microsoft/knowledge/privacy/featuretelemetry-logerror-implicit-errortext.bad.al: added, not in the BC? snapshot yet
  • microsoft/knowledge/privacy/featuretelemetry-logerror-implicit-errortext.good.al: added, not in the BC? snapshot yet
  • microsoft/knowledge/privacy/featuretelemetry-logerror-implicit-errortext.md: added, not in the BC? snapshot yet
  • microsoft/knowledge/upgrade/check-only-triggers-do-not-migrate-data.bad.al: added, not in the BC? snapshot yet
  • microsoft/knowledge/upgrade/check-only-triggers-do-not-migrate-data.good.al: added, not in the BC? snapshot yet
  • microsoft/knowledge/upgrade/check-only-triggers-do-not-migrate-data.md: added, not in the BC? snapshot yet
  • microsoft/knowledge/upgrade/first-install-dataversion-zero-check.bad.al: modified, not in the BC? snapshot
  • microsoft/knowledge/upgrade/first-install-dataversion-zero-check.md: modified, not in the BC? snapshot
  • microsoft/knowledge/upgrade/install-code-does-not-run-on-version-upgrade.bad.al: added, not in the BC? snapshot yet
  • microsoft/knowledge/upgrade/install-code-does-not-run-on-version-upgrade.good.al: added, not in the BC? snapshot yet
  • microsoft/knowledge/upgrade/install-code-does-not-run-on-version-upgrade.md: added, not in the BC? snapshot yet
  • microsoft/knowledge/upgrade/minimize-onvalidate-upgrade-triggers.bad.al: modified, not in the BC? snapshot
  • microsoft/knowledge/upgrade/minimize-onvalidate-upgrade-triggers.good.al: modified, not in the BC? snapshot
  • microsoft/knowledge/upgrade/minimize-onvalidate-upgrade-triggers.md: modified, not in the BC? snapshot
  • microsoft/skills/review/al-error-handling-review.md: modified, not in the BC? snapshot
  • microsoft/skills/review/al-privacy-review.md: modified, not in the BC? snapshot
  • microsoft/skills/review/al-upgrade-review.md: modified, not in the BC? snapshot

Context

  • Systems: development, administration

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