Skip to content

fix: emit first markdown detail line when rPrior is null - #4036

Merged
BrentOzar merged 1 commit into
BrentOzarULTD:devfrom
bengler9:bugfix-markdown-first-detail-line
Jul 16, 2026
Merged

fix: emit first markdown detail line when rPrior is null#4036
BrentOzar merged 1 commit into
BrentOzarULTD:devfrom
bengler9:bugfix-markdown-first-detail-line

Conversation

@bengler9

Copy link
Copy Markdown

Fixes #4035

Summary

  • Fix MARKDOWN output dropping the first detail line when multiple rows share the same Finding and the first row is the earliest markdown-eligible result
  • Use COALESCE on Details comparisons in sp_Blitz.sql (~lines 10540-10541)

Test plan

  • SQL Server 2022 CU25: both CheckID 179 modules appear in MARKDOWN after fix
  • Agent Jobs Without Failure Emails grouping unchanged
  • Hardware NUMA Config and Services multi-row groups unchanged

Co-authored-by: Cursor <cursoragent@cursor.com>

@BrentOzar BrentOzar left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the pull request! Makes sense, looks good, merging into dev, will be in the next release with credit to you in the release notes.

@BrentOzar
BrentOzar merged commit 44015b8 into BrentOzarULTD:dev Jul 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

@OutputType = 'MARKDOWN' omits first detail line when repeated Finding is the first eligible result row

3 participants