Skip to content

[Flaky Test] Un-quarantine 5 consistently-green tests - #13952

Merged
ViktorHofer merged 1 commit into
mainfrom
flaky-tests/unquarantine-2026-06-04-c679659908e6dcb6
Jun 5, 2026
Merged

[Flaky Test] Un-quarantine 5 consistently-green tests#13952
ViktorHofer merged 1 commit into
mainfrom
flaky-tests/unquarantine-2026-06-04-c679659908e6dcb6

Conversation

@github-actions

@github-actions github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Un-quarantines 5 tests that have been passing consistently in the quarantine pipeline (AzDO definition 344) over ≥ 4 distinct builds / ≥ 3 distinct days across all applicable platforms.


Un-quarantined tests

BuildManager_Tests.SimpleGraphBuild — Un-quarantine (7e)

Tracked by #4368

Def-344 evidence: 4 distinct builds, 3 distinct days, legs: Quarantine (Windows), Quarantine test logs (Linux), Quarantine test logs (macOS). Not present in def-344 flakyTests over the 21-day window.


BuildManager_Tests.GraphBuildValid — Un-quarantine (7e)

Tracked by #4368

Def-344 evidence: 4 distinct builds, 3 distinct days, legs: Quarantine (Windows), Quarantine test logs (Linux), Quarantine test logs (macOS). Not present in def-344 flakyTests over the 21-day window.


BuildManager_Tests.GraphBuildFail — Un-quarantine (7e)

Tracked by #4368

Def-344 evidence: 4 distinct builds, 3 distinct days, legs: Quarantine (Windows), Quarantine test logs (Linux), Quarantine test logs (macOS). Not present in def-344 flakyTests over the 21-day window.

Note: GraphBuildCircular and GraphBuildInvalid remain quarantined (still flaky in def-344). Issue #4368 stays open.


BuildEnvironmentHelper_Tests.BuildEnvironmentFindsAmd64RunningInAmd64NoVS — Un-quarantine (7e)

Tracked by #7552

Def-344 evidence: 4 distinct builds, 3 distinct days, leg: Quarantine (Windows). This is a [WindowsOnlyFact], so Windows-only green evidence is sufficient coverage.


BuildEnvironmentHelper_Tests.BuildEnvironmentFindsAmd64NoVS — Un-quarantine (7e)

Tracked by #7552

Def-344 evidence: 4 distinct builds, 3 distinct days, leg: Quarantine (Windows). This is a [WindowsOnlyFact], so Windows-only green evidence is sufficient coverage.

Note: BuildEnvironmentFindsAmd64RunningInAmd64 remains quarantined (still flaky in def-344). Issue #7552 stays open.


New flaky test issues filed this run

The following tests were newly detected as flaky but have no pre-existing tracking issue. Issues were filed; they become quarantine-eligible on the next run.

Generated by Flaky Test Triage and Fix · sonnet46 4.5M ·

Remove [ActiveIssue] from tests that have been passing consistently
in the quarantine pipeline (definition 344) over 4+ builds / 3+ days
across all applicable platforms:

- BuildManager_Tests.SimpleGraphBuild (issue #4368, all 3 platforms)
- BuildManager_Tests.GraphBuildValid (issue #4368, all 3 platforms)
- BuildManager_Tests.GraphBuildFail (issue #4368, all 3 platforms)
- BuildEnvironmentHelper_Tests.BuildEnvironmentFindsAmd64RunningInAmd64NoVS (issue #7552, Windows)
- BuildEnvironmentHelper_Tests.BuildEnvironmentFindsAmd64NoVS (issue #7552, Windows)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot added the flaky-test Tests that have failed but passed on rerun. label Jun 4, 2026
@ViktorHofer
ViktorHofer marked this pull request as ready for review June 5, 2026 12:03
Copilot AI review requested due to automatic review settings June 5, 2026 12:03

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.

Pull request overview

This PR un-quarantines five previously flaky unit tests by removing their [ActiveIssue] attributes, restoring them to regular execution in the normal test pipelines while leaving other still-flaky tests quarantined.

Changes:

  • Removed [ActiveIssue(".../issues/7552")] from two BuildEnvironmentHelper_Tests Windows-only test cases.
  • Removed [ActiveIssue(".../issues/4368")] from three BuildManager_Tests static-graph test cases.
  • Kept other [ActiveIssue] quarantines intact (e.g., GraphBuildInvalid, GraphBuildCircular, and BuildEnvironmentFindsAmd64RunningInAmd64 still reference the same issues).
Show a summary per file
File Description
src/Build.UnitTests/BuildEnvironmentHelper_Tests.cs Un-quarantines two Windows-only BuildEnvironmentHelper tests by removing the [ActiveIssue] attribute.
src/Build.UnitTests/BackEnd/BuildManager_Tests.cs Un-quarantines three static graph BuildManager tests by removing the [ActiveIssue] attribute while leaving other quarantined graph tests unchanged.

Copilot's findings

  • Files reviewed: 2/2 changed files
  • Comments generated: 0

@ViktorHofer
ViktorHofer enabled auto-merge (squash) June 5, 2026 12:44
@ViktorHofer
ViktorHofer merged commit 1cc64b5 into main Jun 5, 2026
11 checks passed
@ViktorHofer
ViktorHofer deleted the flaky-tests/unquarantine-2026-06-04-c679659908e6dcb6 branch June 5, 2026 13:19
ViktorHofer added a commit that referenced this pull request Jun 5, 2026
…es section from PR body (#13958)

Follow-up to #13938, addressing two pieces of feedback on how the
flaky-test **detector** opens its combined quarantine/un-quarantine PR.

### 1. Open quarantine/un-quarantine PRs ready-for-review (not draft)
The detector previously opened its PR as a draft (`draft: true`). dnceng
AzDO build validation does not run on draft PRs, so CI only kicked in
once a maintainer marked the PR ready for review (observed on #13952).
Since these PRs are mechanical `[ActiveIssue]` add/removes that benefit
from immediate CI validation, switch to `draft: false` so CI runs as
soon as the PR is opened.

### 2. Don't list newly-filed tracking issues in the PR body
On an un-quarantine PR (#13952), the agent appended a "New flaky test
issues filed this run" section referencing freshly-filed issues (e.g.
#13949-#13951). Those issues are **not** acted on by the PR (they only
become quarantine-eligible on a later run), so the `#number` references
created a misleading issue<->PR cross-link. Step 8 now explicitly
instructs the agent to reference only the issues for tests it actually
quarantines or un-quarantines in that PR.

Frontmatter changed (`draft` + `description`), so the lock file was
regenerated; cron is preserved at `38 11`.

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@ly6093909-ops

Copy link
Copy Markdown

Un-quarantines 5 tests that have been passing consistently in the quarantine pipeline (AzDO definition 344) over ≥ 4 distinct builds / ≥ 3 distinct days across all applicable platforms.


Un-quarantined tests

BuildManager_Tests.SimpleGraphBuild — Un-quarantine (7e)

Tracked by #4368

Def-344 evidence: 4 distinct builds, 3 distinct days, legs: Quarantine (Windows), Quarantine test logs (Linux), Quarantine test logs (macOS). Not present in def-344 flakyTests over the 21-day window.


BuildManager_Tests.GraphBuildValid — Un-quarantine (7e)

Tracked by #4368

Def-344 evidence: 4 distinct builds, 3 distinct days, legs: Quarantine (Windows), Quarantine test logs (Linux), Quarantine test logs (macOS). Not present in def-344 flakyTests over the 21-day window.


BuildManager_Tests.GraphBuildFail — Un-quarantine (7e)

Tracked by #4368

Def-344 evidence: 4 distinct builds, 3 distinct days, legs: Quarantine (Windows), Quarantine test logs (Linux), Quarantine test logs (macOS). Not present in def-344 flakyTests over the 21-day window.

Note: GraphBuildCircular and GraphBuildInvalid remain quarantined (still flaky in def-344). Issue #4368 stays open.


BuildEnvironmentHelper_Tests.BuildEnvironmentFindsAmd64RunningInAmd64NoVS — Un-quarantine (7e)

Tracked by #7552

Def-344 evidence: 4 distinct builds, 3 distinct days, leg: Quarantine (Windows). This is a [WindowsOnlyFact], so Windows-only green evidence is sufficient coverage.


BuildEnvironmentHelper_Tests.BuildEnvironmentFindsAmd64NoVS — Un-quarantine (7e)

Tracked by #7552

Def-344 evidence: 4 distinct builds, 3 distinct days, leg: Quarantine (Windows). This is a [WindowsOnlyFact], so Windows-only green evidence is sufficient coverage.

Note: BuildEnvironmentFindsAmd64RunningInAmd64 remains quarantined (still flaky in def-344). Issue #7552 stays open.


New flaky test issues filed this run

The following tests were newly detected as flaky but have no pre-existing tracking issue. Issues were filed; they become quarantine-eligible on the next run.

Generated by Flaky Test Triage and Fix · sonnet46 4.5M ·

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

flaky-test Tests that have failed but passed on rerun.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants