---
id: change/bcquality/99
type: change
title: "#99 Add lifecycle error and privacy knowledge"
summary: 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.
tier: official
language: en
tags:
  - feature
  - main
system: development
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:12:50.333Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: e0ebdd35c70686f53e7e78bf40abe5982f65ee1e
evidence:
  - kind: code
    url: https://github.com/microsoft/BCQuality/pull/99
    title: "microsoft/BCQuality#99: Add lifecycle error and privacy knowledge"
    date: "2026-07-14"
    commit: e0ebdd35c70686f53e7e78bf40abe5982f65ee1e
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 99
repo: microsoft/BCQuality
source_id: bcquality-prs
url: https://github.com/microsoft/BCQuality/pull/99
kind: pr
base_branch: main
major: null
merged_at: "2026-07-14T10:52:56Z"
author: JesperSchulz
author_type: User
community_contribution: false
labels: []
change_class: code
change_kind: feature
behavior_change: false
breaking: false
files:
  count: 25
  additions: 458
  deletions: 38
  al: 25
apps: []
objects_touched: []
objects_unjoined:
  - path: microsoft/knowledge/error-handling/errortype-internal-vs-client-for-diagnostics.good.al
    status: modified
    reason: not-in-snapshot
  - path: microsoft/knowledge/error-handling/errortype-internal-vs-client-for-diagnostics.md
    status: modified
    reason: not-in-snapshot
  - path: microsoft/knowledge/error-handling/ignored-tryfunction-return-disables-try-semantics.bad.al
    status: added
    reason: not-in-snapshot
  - path: microsoft/knowledge/error-handling/ignored-tryfunction-return-disables-try-semantics.good.al
    status: added
    reason: not-in-snapshot
  - path: microsoft/knowledge/error-handling/ignored-tryfunction-return-disables-try-semantics.md
    status: added
    reason: not-in-snapshot
  - path: microsoft/knowledge/privacy/errorinfo-telemetry-classification-and-errortype.bad.al
    status: added
    reason: not-in-snapshot
  - path: microsoft/knowledge/privacy/errorinfo-telemetry-classification-and-errortype.good.al
    status: added
    reason: not-in-snapshot
  - path: microsoft/knowledge/privacy/errorinfo-telemetry-classification-and-errortype.md
    status: added
    reason: not-in-snapshot
  - path: microsoft/knowledge/privacy/featuretelemetry-logerror-implicit-errortext.bad.al
    status: added
    reason: not-in-snapshot
  - path: microsoft/knowledge/privacy/featuretelemetry-logerror-implicit-errortext.good.al
    status: added
    reason: not-in-snapshot
  - path: microsoft/knowledge/privacy/featuretelemetry-logerror-implicit-errortext.md
    status: added
    reason: not-in-snapshot
  - path: microsoft/knowledge/upgrade/check-only-triggers-do-not-migrate-data.bad.al
    status: added
    reason: not-in-snapshot
  - path: microsoft/knowledge/upgrade/check-only-triggers-do-not-migrate-data.good.al
    status: added
    reason: not-in-snapshot
  - path: microsoft/knowledge/upgrade/check-only-triggers-do-not-migrate-data.md
    status: added
    reason: not-in-snapshot
  - path: microsoft/knowledge/upgrade/first-install-dataversion-zero-check.bad.al
    status: modified
    reason: not-in-snapshot
  - path: microsoft/knowledge/upgrade/first-install-dataversion-zero-check.md
    status: modified
    reason: not-in-snapshot
  - path: microsoft/knowledge/upgrade/install-code-does-not-run-on-version-upgrade.bad.al
    status: added
    reason: not-in-snapshot
  - path: microsoft/knowledge/upgrade/install-code-does-not-run-on-version-upgrade.good.al
    status: added
    reason: not-in-snapshot
  - path: microsoft/knowledge/upgrade/install-code-does-not-run-on-version-upgrade.md
    status: added
    reason: not-in-snapshot
  - path: microsoft/knowledge/upgrade/minimize-onvalidate-upgrade-triggers.bad.al
    status: modified
    reason: not-in-snapshot
  - path: microsoft/knowledge/upgrade/minimize-onvalidate-upgrade-triggers.good.al
    status: modified
    reason: not-in-snapshot
  - path: microsoft/knowledge/upgrade/minimize-onvalidate-upgrade-triggers.md
    status: modified
    reason: not-in-snapshot
  - path: microsoft/skills/review/al-error-handling-review.md
    status: modified
    reason: not-in-snapshot
  - path: microsoft/skills/review/al-privacy-review.md
    status: modified
    reason: not-in-snapshot
  - path: microsoft/skills/review/al-upgrade-review.md
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports: []
fixes_issues: []
work_items: []
systems:
  - development
  - administration
quote: null
joined_against:
  major: null
  commit: null
---

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