Skip to content

Fix re-quarantine criteria to only count post-unquarantine failures#66174

Merged
wtgodbe merged 2 commits intomainfrom
wtgodbe/FixReQuarantineTiming
Apr 6, 2026
Merged

Fix re-quarantine criteria to only count post-unquarantine failures#66174
wtgodbe merged 2 commits intomainfrom
wtgodbe/FixReQuarantineTiming

Conversation

@wtgodbe
Copy link
Copy Markdown
Member

@wtgodbe wtgodbe commented Apr 6, 2026

The Case B re-quarantine logic was counting failures from before the unquarantine commit was merged. This led to tests being unnecessarily re-quarantined based on stale failure data (e.g., PR #66148 re-quarantined tests based on a failure from March 18, but the unquarantine PR #66072 wasn't merged until March 30).

Updated to explicitly require that only failures occurring after the unquarantine merge date are considered.

The Case B re-quarantine logic was counting failures from before the
unquarantine commit was merged. This led to tests being unnecessarily
re-quarantined based on stale failure data (e.g., PR #66148 re-quarantined
tests based on a failure from March 18, but the unquarantine PR #66072
wasn't merged until March 30).

Updated to explicitly require that only failures occurring after the
unquarantine merge date are considered.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 6, 2026 18:38
@wtgodbe wtgodbe requested a review from a team as a code owner April 6, 2026 18:38
@github-actions github-actions Bot added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Apr 6, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the “Daily Test Quarantine Management” documentation to prevent re-quarantine decisions from counting stale failures that occurred before a test was unquarantined.

Changes:

  • Tightens Case B re-quarantine criteria to only count failures occurring after the unquarantine change was merged.
  • Reframes and highlights “class-level quarantine” guidance as applying to both Case A and Case B.

Comment thread .github/workflows/test-quarantine.md Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@wtgodbe wtgodbe merged commit d5749df into main Apr 6, 2026
9 of 10 checks passed
@wtgodbe wtgodbe deleted the wtgodbe/FixReQuarantineTiming branch April 6, 2026 19:59
@dotnet-policy-service dotnet-policy-service Bot added this to the 11.0-preview4 milestone Apr 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants