@azure-devops/mcp 2.7.0-nightly.20260430 → 2.7.0-nightly.20260501
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tools/test-plans.js +3 -2
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/dist/tools/test-plans.js
CHANGED
|
@@ -341,8 +341,9 @@ function configureTestPlanTools(server, tokenProvider, connectionProvider, userA
|
|
|
341
341
|
try {
|
|
342
342
|
const connection = await connectionProvider();
|
|
343
343
|
const testResultsApi = await connection.getTestResultsApi();
|
|
344
|
-
// Build filter expression for outcomes if specified
|
|
345
|
-
|
|
344
|
+
// Build filter expression for outcomes if specified.
|
|
345
|
+
// The API accepts: Outcome eq Failed,Passed (unquoted, comma-separated)
|
|
346
|
+
const outcomeFilter = outcomes?.length ? `Outcome eq ${outcomes.join(",")}` : undefined;
|
|
346
347
|
// Fetch test result details for the build in a single API call
|
|
347
348
|
// This is more efficient than getTestRuns + getTestResults per run,
|
|
348
349
|
// especially for builds with many test runs (e.g., cloud testing with one run per test case)
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const packageVersion = "2.7.0-nightly.
|
|
1
|
+
export const packageVersion = "2.7.0-nightly.20260501";
|