Repository navigation
Closed
Labels
agentic-workflowsarea/documentationRepository or user-facing documentation.documentationtype/automationCreated or maintained by an agentic workflow.
Description
Glossary Updates
Scan Type: Full scan (weekly, Monday - last 7 days)
Terms Added:
- ResourceLockAttribute: New MSTest attribute (
Microsoft.VisualStudio.TestTools.UnitTesting.ResourceLockAttribute) that lets a test or test class declare a named shared-resource lock, so the in-assembly parallel scheduler serializes it only against other tests declaring the same resource key, instead of forcing the whole class/assembly to opt out of parallelization with[DoNotParallelize]. Also documents the supportingResourceAccessModeenum (ReadWrite/Read) andWellKnownResourcesconstants (CurrentDirectory,EnvironmentVariables,Console). This attribute has been actively rolled out across the repository's own test suite over the last week via a dedicated recurring "ResourceLock refactoring" workflow (PRs [ResourceLock] Replace broad DoNotParallelize with narrow ResourceLock in CrashDumpTests #11192, [ResourceLock] Narrow [DoNotParallelize] to [ResourceLock] in OpenTelemetryProviderExtensionsTests #11210, [ResourceLock] Remove unneeded [DoNotParallelize] from culture-mutation tests in TerminalTestReporterTests #11229, and several prior ones), so it is now a term readers will frequently encounter in test code and PR titles.
Terms Considered but Not Added:
MSTEST0085(TestClassAttributeShouldNotBeAppliedToAbstractClassAnalyzer, PR Add diagnostic for TestClass on abstract classes #11240): the glossary does not track individual numbered analyzer diagnostic IDs as standalone entries; existing precedent (e.g.MSTEST0081) only references rule IDs inline within a related attribute/feature entry, and MSTEST0085 has no such natural anchor yet.- Stryker mutation testing rollout (PR Surface Stryker mutation testing results and run it daily with a Mutation Test Improver workflow #11110, Run Stryker across all unit test projects #11223): internal CI/dev-process tooling, not user-facing MSTest/MTP terminology.
Changes Analyzed:
- Reviewed 33 commits merged since the last processed commit (1fe4162, 2026-09-11) through 4ab333f (2026-09-14), spanning PRs [main] Update dependencies from dotnet/arcade #11188-[main] Update dependencies from microsoft/testfx #11247.
- The repository checkout was a shallow clone showing only a single dependency-mirror commit; ran
git fetch --unshallowto recover full history before scanning, so this scan is based on the complete commit range rather than the single visible commit. - Most changes in the window were internal test-coverage additions, refactors, and dependency bumps with no new public API or CLI-facing terminology;
ResourceLockAttributewas the one genuinely new, actively-adopted public term.
Related Changes:
- PR Add diagnostic for TestClass on abstract classes #11240: Added diagnostic MSTEST0085 for
[TestClass]on abstract classes. - PR [ResourceLock] Remove unneeded [DoNotParallelize] from culture-mutation tests in TerminalTestReporterTests #11229, [ResourceLock] Narrow [DoNotParallelize] to [ResourceLock] in OpenTelemetryProviderExtensionsTests #11210, [ResourceLock] Replace broad DoNotParallelize with narrow ResourceLock in CrashDumpTests #11192, Fix ResourceLock reader coverage and workflow guardrails #11200: ResourceLock refactoring workflow narrowing
[DoNotParallelize]usages to[ResourceLock]. - PR Surface Stryker mutation testing results and run it daily with a Mutation Test Improver workflow #11110: Surfaced Stryker mutation testing results via a new daily workflow.
🤖 Automated content by GitHub Copilot. Generated by the Glossary Maintainer workflow. · auto · 98 AIC · ⌖ 15.1 AIC · ⊞ 11.4K · [◷]( · ◷)
Add this agentic workflow to your repo
To install this agentic workflow, run
gh aw add githubnext/agentics/workflows/glossary-maintainer.md@main
- expires on Sep 16, 2026, 4:45 AM UTC
Note
This was originally intended as a pull request, but GitHub Actions is not permitted to create or approve pull requests in this repository.
The changes have been pushed to branch glossary-update-2026-09-14-2901a8ea0ca21272.
To fix the permissions issue, go to Settings → Actions → General and enable Allow GitHub Actions to create and approve pull requests. See also: gh-aw FAQ
Show patch preview (37 of 37 lines)
From 6a56cb6f80418b77b907f95a826d4d18a35230c7 Mon Sep 17 00:00:00 2001
X-GH-AW-Base-Commit: 4ab333fbf5fd008da87adb04bd7eca95b5637eff
From: "github-actions[bot]" <github-actions[bot]@users.noreply.github.com>
Date: Mon, 14 Sep 2026 04:41:41 +0000
Subject: [PATCH] docs: add ResourceLockAttribute to glossary
Add a glossary entry for the new MSTest ResourceLockAttribute (and its
supporting ResourceAccessMode/WellKnownResources types), which lets
tests declare fine-grained named-resource locks instead of broad
[DoNotParallelize] usage. This attribute has been actively adopted
across the test suite over the past week via a dedicated recurring
ResourceLock refactoring workflow.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---
docs/glossary.md | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/docs/glossary.md b/docs/glossary.md
index 0889194f9..45529f6c6 100644
--- a/docs/glossary.md
+++ b/docs/glossary.md
@@ -452,6 +452,10 @@ An MTP class (`Microsoft.Testing.Platform.Extensions.Messages.PropertyBag`) that
## R
+### ResourceLockAttribute
+
+An MSTest attribute (`[ResourceLockAttribute]` in `Microsoft.VisualStudio.TestTools.UnitTesting`, applicable to classes and methods, `AllowMultiple = true`, `Inherited = true`) that declares a named shared resource a test or test class contends on, so the in-assembly parallel scheduler serializes it only against other tests declaring the same resource key — instead of forcing a whole class or assembly to opt out of parallelization with `[DoNotParallelizeAttribute]`. The resource is an opaque, ordinal case-sensitive string key with no hierarchical meaning; prefer `const` fields or the built-in `WellKnownResources` constants (`CurrentDirectory`, `EnvironmentVariables`, `Console`) over inline literals so a typo becomes a compile error rather than a silent race. The optional `Mode` property is a `ResourceAccessMode` (`ReadWrite`, the default and exclusive; or `Read`, which allows concurrent readers and b
... (truncated)Metadata
Metadata
Assignees
Labels
agentic-workflowsarea/documentationRepository or user-facing documentation.documentationtype/automationCreated or maintained by an agentic workflow.
Activity