#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.
- 2files
- 1AL files
- 0objects
Pull request · 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 (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).