Skip to content

Enable MTP retry feature on Linux agents#5547

Closed
mikaelweave wants to merge 3 commits into
mainfrom
feature/enable-mtp-retry-linux
Closed

Enable MTP retry feature on Linux agents#5547
mikaelweave wants to merge 3 commits into
mainfrom
feature/enable-mtp-retry-linux

Conversation

@mikaelweave

@mikaelweave mikaelweave commented May 4, 2026

Copy link
Copy Markdown
Contributor

Summary

Enables the Microsoft Testing Platform Azure retry feature on all test jobs, now that Linux support has been fixed in the upstream Azure Pipelines infrastructure:

AB#189958

- Add AllowPtrToDetectTestRunRetryFiles: true as a job-level variable
  to all test jobs (SQL, Cosmos, export, and build/unit test jobs)
- Re-enable failTaskOnFailedTests: true in all PublishTestResults@2 tasks
  (removes workaround for microsoft/testfx#7167
  now that cross-platform support is fixed via azure-pipelines-agent#5496
  and azure-pipelines-tasks#21934)
- Add --report-trx to unit test arguments in build.yml (non-coverage path)
  for consistency with coverage path

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@mikaelweave mikaelweave requested a review from a team as a code owner May 4, 2026 21:44
@codecov-commenter

codecov-commenter commented May 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.35%. Comparing base (545c184) to head (9feb3b6).
⚠️ Report is 21 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #5547      +/-   ##
==========================================
- Coverage   77.61%   77.35%   -0.27%     
==========================================
  Files         983      996      +13     
  Lines       36005    36539     +534     
  Branches     5469     5539      +70     
==========================================
+ Hits        27947    28264     +317     
- Misses       6710     6904     +194     
- Partials     1348     1371      +23     

see 62 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mikaelweave mikaelweave added this to the FY26\Q4\2Wk\2Wk22 milestone May 5, 2026
@mikaelweave mikaelweave added Bug Bug bug bug. Azure API for FHIR Label denotes that the issue or PR is relevant to the Azure API for FHIR Azure Healthcare APIs Label denotes that the issue or PR is relevant to the FHIR service in the Azure Healthcare APIs No-ADR ADR not needed No-PaaS-breaking-change labels May 5, 2026
@mikaelweave

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

The SQL and Cosmos integration test jobs run tests via DotNetCoreCLI@2
'command: test', which auto-publishes results (publishTestResults
defaults to true). That built-in publish is not retry-aware, so each
MTP retry attempt surfaced as its own test run (e.g. 'R5 SQL
Integration Tests_1' failed and '_2' passed) in addition to the merged
retry-aware run published by the explicit PublishTestResults@2 task.

Set publishTestResults: false on the test tasks so the explicit
retry-aware PublishTestResults@2 task is the sole publisher, removing
the duplicate and failed-attempt test runs.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@mikaelweave mikaelweave force-pushed the feature/enable-mtp-retry-linux branch from 9feb3b6 to 79b0b02 Compare May 29, 2026 13:34
@mikaelweave

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@mikaelweave

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@mikaelweave mikaelweave deleted the feature/enable-mtp-retry-linux branch June 1, 2026 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Azure API for FHIR Label denotes that the issue or PR is relevant to the Azure API for FHIR Azure Healthcare APIs Label denotes that the issue or PR is relevant to the FHIR service in the Azure Healthcare APIs Bug Bug bug bug. No-ADR ADR not needed No-PaaS-breaking-change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants