---
id: change/al-go/2229
type: change
title: "#2229 Surface empty BCPT results as a warning instead of silent success"
summary: When BCPT performance tests produce a results file with no entries, GetBcptSummaryMD now returns a message that appears in the GitHub step summary instead of an empty string. A missing results file still yields an empty summary.
tier: official
language: en
tags:
  - fix
  - main
system: platform
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:11:56.474Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 4f5f9c18698cb8791ebb77b5b5514a4fdd82b51b
evidence:
  - kind: code
    url: https://github.com/microsoft/AL-Go/pull/2229
    title: "microsoft/AL-Go#2229: Surface empty BCPT results as a warning instead of silent success"
    date: "2026-07-22"
    commit: 4f5f9c18698cb8791ebb77b5b5514a4fdd82b51b
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 2229
repo: microsoft/AL-Go
source_id: al-go-prs
url: https://github.com/microsoft/AL-Go/pull/2229
kind: pr
base_branch: main
major: null
merged_at: "2026-07-22T10:10:47Z"
author: jeffreybulanadi
author_type: User
community_contribution: false
labels: []
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 2
  additions: 38
  deletions: 1
  al: 1
apps: []
objects_touched: []
objects_unjoined:
  - path: Actions/AnalyzeTests/TestResultAnalyzer.ps1
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports: []
fixes_issues:
  - 2158
work_items: []
systems:
  - platform
quote: null
joined_against:
  major: null
  commit: null
---

# #2229 Surface empty BCPT results as a warning instead of silent success

> When BCPT performance tests produce a results file with no entries, GetBcptSummaryMD now returns a message that appears in the GitHub step summary instead of an empty string. A missing results file still yields an empty summary.

[Pull request](https://github.com/microsoft/AL-Go/pull/2229) · merged into `main` on 2026-07-22 by jeffreybulanadi · 2 files (+38 -1), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- GetBcptSummaryMD distinguishes a missing results file from one with no entries
- An empty BCPT results file now produces a visible message under Performance test results
- A missing results file still returns an empty string because no test was run
- Pester tests added for ReadBcptFile and GetBcptSummaryMD covering missing and empty files
- Behaviour changes for users or extensions.

## AL objects touched

- `Actions/AnalyzeTests/TestResultAnalyzer.ps1`: modified, not in the BC? snapshot

## Context

- Fixes: [#2158 [Bug]: Performance Tests does not return any output and build is successful](https://github.com/microsoft/AL-Go/issues/2158) (closed)
- Systems: platform

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