Skip to content

[docs] Update glossary - daily scan - #11658

Merged
Amaury Levé (Evangelink) merged 2 commits into
mainfrom
docs/glossary-update-20260930-5da27c47e56d6e5c
Sep 30, 2026
Merged

Amaury Levé (Evangelink) merged 2 commits into
mainfrom
docs/glossary-update-20260930-5da27c47e56d6e5c

Conversation

@Evangelink

Copy link
Copy Markdown
Member

Add TestExecution and ExecuteRequestContext glossary entries

Fixes #11642

Add TestExecution and ExecuteRequestContext glossary entries
Copilot AI balanced review requested due to automatic review settings September 30, 2026 12:42
@github-actions github-actions Bot added the state/needs-review Awaiting review from the team. label Sep 30, 2026

@github-actions github-actions Bot 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.

Note

🤖 Automated review by GitHub Copilot. Generated by the Expert Code Review workflow. To request a follow-up action, reply by tagging @copilot directly.

Summary

This is a documentation-only PR (docs/glossary.md) adding two new glossary entries — ExecuteRequestContext and TestExecution — documenting MTP APIs introduced in #11630. Per the Documentation-only PRs edge case, this review focuses on Documentation Accuracy (dimension 17): technical correctness, cross-reference integrity, alphabetical placement, and formatting consistency.

Verification performed

  • ExecuteRequestContext (src/Platform/Microsoft.Testing.Platform/TestFramework/ExecuteRequestContext.cs): confirmed it is a public sealed class exposing Request, MessageBus, CancellationToken, Complete(), and the [Experimental("TPEXP")]-attributed StartTestExecutionAsync(dataProducer, inProgressMessage). The glossary correctly notes only the method/constructor (not the class itself) carry [Experimental] — matching the source, where the class declaration has no [Experimental] attribute.
  • TestExecution (src/Platform/Microsoft.Testing.Platform/TestFramework/TestExecution.cs): confirmed it is a public sealed class : IDisposable decorated with class-level [Experimental("TPEXP")], with Run/RunAsync (generic and non-generic overloads), CompleteAsync(resultMessages, executionEndTime), and a Dispose() that abandons an uncompleted execution without inventing an outcome — all as described.
  • Confirmed MtpTestResultRecorder (src/Adapter/MSTest.TestAdapter/TestingPlatformAdapter/MtpTestResultRecorder.cs) calls _executeRequestContext.StartTestExecutionAsync(...) and execution.CompleteAsync(...), supporting the glossary's claim that MSTest's own adapter was updated to use the new API in the same change.
  • Cross-references: [TestExecution](#testexecution) and [ExecuteRequestContext](#executerequestcontext) anchors resolve correctly to the new headings; the [OpenTelemetry extension](#opentelemetry-extension) link in the TestExecution entry also resolves to an existing heading.
  • Alphabetical placement: ExecuteRequestContext correctly sits after ExecutableConditionAttribute and before the ## F section; TestExecution correctly sits after TestCoverageThresholdMessage and before TestFilterContext.
  • Formatting: both entries follow the established pattern (bolded type description, backtick-quoted fully-qualified name, "Introduced in [PR #xxxx]" trailer, "See also" cross-links) consistent with neighboring entries.

Review outcome

No actionable findings — the two glossary entries are technically accurate, correctly cross-referenced, alphabetically placed, and formatted consistently with the surrounding document. No inline comments posted.

Scope Status
Documentation Accuracy 🟢
All other dimensions N/A — no source/test/build/analyzer files changed

@microsoft-github-policy-service microsoft-github-policy-service Bot added state/needs-review Awaiting review from the team. and removed state/needs-review Awaiting review from the team. labels Sep 30, 2026
@github-actions github-actions Bot added state/needs-review Awaiting review from the team. and removed state/needs-review Awaiting review from the team. labels Sep 30, 2026

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.

Copilot review overview

🟡 Changes recommended

The glossary incorrectly states that ExecuteRequestContext was introduced in PR #11630.

Review effort: Balanced
Findings: 1 Low severity

Open (1)
What changed in this PR

Adds glossary documentation for MTP’s canonical test-execution API.

Changes:

  • Documents ExecuteRequestContext.
  • Documents experimental TestExecution lifecycle APIs.
  • Links both entries to PR #11630.
🟡 Confidence at a glance: Documentation

Verified against the implementation and PR #11630; one provenance error remains.

File Description
docs/​glossary.md Adds two MTP glossary entries.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread docs/glossary.md Resolved
@microsoft-github-policy-service microsoft-github-policy-service Bot added state/needs-review Awaiting review from the team. and removed state/needs-review Awaiting review from the team. labels Sep 30, 2026
@github-actions github-actions Bot added state/needs-review Awaiting review from the team. and removed state/needs-review Awaiting review from the team. labels Sep 30, 2026
@microsoft-github-policy-service microsoft-github-policy-service Bot added state/needs-review Awaiting review from the team. and removed state/needs-review Awaiting review from the team. labels Sep 30, 2026
@github-actions github-actions Bot added state/approved Proposal approved; ready for implementation. and removed state/needs-review Awaiting review from the team. labels Sep 30, 2026
Clarified the introduction context of ExecuteRequestContext and its relation to TestExecution.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings September 30, 2026 16:26
@github-actions github-actions Bot added state/approved Proposal approved; ready for implementation. and removed state/approved Proposal approved; ready for implementation. labels Sep 30, 2026
@Evangelink
Amaury Levé (Evangelink) merged commit aa3df5e into main Sep 30, 2026
14 checks passed
@Evangelink
Amaury Levé (Evangelink) deleted the docs/glossary-update-20260930-5da27c47e56d6e5c branch September 30, 2026 16:27
@github-actions github-actions Bot removed the state/approved Proposal approved; ready for implementation. label Sep 30, 2026

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.

Copilot review overview

🟢 Approval recommended

The documentation matches the implemented APIs and referenced platform changes.

Review effort: Balanced
Findings: None

Resolved since last review (1)

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.

[docs] Update glossary - daily scan

3 participants