Skip to content

[docs] Address glossary review feedback from PR #8951#8953

Merged
Evangelink merged 2 commits into
mainfrom
dev/amauryleve/glossary-fix-pr8951-followups
Jun 9, 2026
Merged

[docs] Address glossary review feedback from PR #8951#8953
Evangelink merged 2 commits into
mainfrom
dev/amauryleve/glossary-fix-pr8951-followups

Conversation

@Evangelink

Copy link
Copy Markdown
Member

Addresses the four review comments from #8951 (now merged), which highlighted inaccuracies in the new glossary entries.

Changes

ArtifactNamingHelper entry

  • Removed the misleading sentence "Legacy %p patterns from earlier hang-dump versions continue to work." from the helper''s description. The helper only understands {placeholder} tokens — the %p substitution is performed by HangDumpProcessLifetimeHandler as a separate post-processing step after ArtifactNamingHelper.ResolveTemplate is called.
  • Corrected the list of consumers: the helper is used by HangDump and by the report extensions (HtmlReport, JUnitReport, TrxReport) via the shared ReportFileNameHelper. CrashDump does not use it — it relies on the runtime createdump placeholders (%p, %t, etc.).
  • Added an explicit note that the legacy %p substitution lives in the HangDump extension, not in the helper.

JUnitReport entry

  • Removed the incorrect claim that the extension auto-registers via an <EnableMicrosoftTestingExtensionsJUnitReport> MSBuild property. That property does not exist in the implementation — it only appears as a proposal in docs/RFCs/016-JUnit-Report.md. The shipped extension unconditionally registers a TestingPlatformBuilderHook from its buildTransitive props, so adding the package reference is sufficient.

testconfig.json entry

Review threads addressed

Docs-only change.

Fixes the four issues raised in code review of #8951:

- ArtifactNamingHelper: removed the misleading 'legacy %p' sentence from the helper's description (the helper only understands {placeholder} tokens; %p substitution is performed by HangDumpProcessLifetimeHandler as a post-processing step after ArtifactNamingHelper.ResolveTemplate). Also corrected the list of consumers: the helper is used by HangDump and by the report extensions (HtmlReport, JUnitReport, TrxReport) via ReportFileNameHelper, not by CrashDump.

- JUnitReport: removed the incorrect claim that the extension auto-registers via an EnableMicrosoftTestingExtensionsJUnitReport MSBuild property. That property exists only as a proposal in docs/RFCs/016-JUnit-Report.md; the actual implementation unconditionally registers a TestingPlatformBuilderHook from its buildTransitive props, so adding the package reference is sufficient.

- testconfig.json: fixed the broken file reference. The correct path is docs/microsoft.testing.platform/002-TestConfig-EnvironmentVariables.md; docs/RFCs/002-... is 002-Framework-Extensibility-Custom-Assertions.md, a completely unrelated RFC.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 9, 2026 07:52

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This docs-only PR updates docs/glossary.md to correct a few recently added glossary entries, aligning them with the actual implementation in Microsoft.Testing.Platform and its extensions.

Changes:

  • Clarifies ArtifactNamingHelper behavior and consumers (removes misleading %p implication; corrects CrashDump vs HangDump/report usage).
  • Fixes JUnitReport registration description to match how the package registers via MSBuild hooks (no opt-in property).
  • Corrects the referenced RFC/document path for testconfig.json environmentVariables.
Show a summary per file
File Description
docs/glossary.md Corrects glossary entry inaccuracies for ArtifactNamingHelper, JUnitReport, and testconfig.json references.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 2

Comment thread docs/glossary.md Outdated
Comment thread docs/glossary.md Outdated


Two Copilot bot review comments on #8953:

- ArtifactNamingHelper entry: linked TrxReport (other report extensions were already linked).

- JUnitReport entry: corrected 'declared in buildTransitive props' -> declared in buildMultiTargeting (the build/ and buildTransitive/ props only import that file).

Cross-PR reconciliation:

- ArtifactNamingHelper entry: re-added CrashDump as a direct consumer and documented the {pid}->%p / {pname}->%e deferred-mapping pattern, matching #8957 which actually wires CrashDump into ArtifactNamingHelper. Avoids a conflict between #8953 and #8957 on this same line.

- JUnitReport entry: kept the 'no opt-in property at the package level' note for direct package consumers, and added a paragraph documenting the MSTest.Sdk-level <EnableMicrosoftTestingExtensionsJUnitReport> opt-in introduced in #8956.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@Evangelink

Copy link
Copy Markdown
Member Author

Pushed c81333a to address the two Copilot bot review comments and to harmonize this PR with two newly-opened follow-ups:

The three PRs (#8953, #8956, #8957) are now consistent and should not conflict on overlapping lines.

@Evangelink Evangelink merged commit 918e125 into main Jun 9, 2026
34 checks passed
@Evangelink Evangelink deleted the dev/amauryleve/glossary-fix-pr8951-followups branch June 9, 2026 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants