Skip to content

Fix quarantine eligibility blind spots - #70371

Merged
wtgodbe merged 4 commits into
dotnet:mainfrom
wtgodbe:wtgodbe/fix-quarantine-eligibility
Nov 7, 2026
Merged

wtgodbe merged 4 commits into
dotnet:mainfrom
wtgodbe:wtgodbe/fix-quarantine-eligibility

Conversation

@wtgodbe

@wtgodbe wtgodbe commented Nov 6, 2026

Copy link
Copy Markdown
Member

Fix missed quarantine/unquarantine candidates caused by project moves/copies, stale identity/history checks, conditional server compilation, and unrelated edits resetting freshness. Preserve relevant ownership and inheritance ambiguity exclusions.

Regressions and recorded-CI replays cover passkey, server NavigationLock (#70369), and two healthy virtualization tests. Regenerated with gh-aw v1.0.1.

Will Godbe and others added 2 commits November 6, 2026 14:37
Preserve proven project lineage, conditional server ownership, method lifetime, and relevant freshness while retaining conservative ambiguity checks.

Co-authored-by: Copilot <[email protected]>
Keep same-commit and newer ambiguity checks while excluding type history that cannot supersede a verified latest method or data-row unquarantine.

Co-authored-by: Copilot <[email protected]>
@wtgodbe
wtgodbe requested a review from a team as a code owner November 6, 2026 23:14
Copilot AI balanced review requested due to automatic review settings November 6, 2026 23:14

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.

🟡 Changes recommended

Critical snapshot gaps omit lifecycle hooks and referenced state, preserving stale eligibility cutoffs that allow failures from builds without relevant fixes to qualify for quarantine.

2 open issues
What changed in this PR

This PR improves the daily test-quarantine workflow’s eligibility checks, addressing missed candidates while preserving ownership and inheritance ambiguity exclusions.

Changes:

  • Tracks project moves and copies, method identity, conditional compilation, and target-specific freshness.
  • Adds regression coverage for quarantine history, setup changes, inherited tests, and unrelated edits.
  • Regenerates the workflow and action pins with gh-aw v1.0.1.
File Description
.github/​workflows/​test-quarantine.lock.yml Regenerates workflow runtime, tooling, and artifact handling.
.github/​workflows/​scripts/​test-quarantine/​test_collect_unquarantine_eligibility.py Adds project-move coverage for unquarantine eligibility.
.github/​workflows/​scripts/​test-quarantine/​test_collect_case_a_eligibility.py Expands history, ownership, compilation, and freshness regressions.
.github/​workflows/​scripts/​test-quarantine/​README.md Documents revised eligibility and ambiguity rules.
.github/​workflows/​scripts/​test-quarantine/​collect_case_a_eligibility.py Implements lineage tracking and refined history and freshness checks.
.github/​aw/​actions-lock.json Updates the gh-aw setup action pin.

Review effort: Balanced

Will Godbe and others added 2 commits November 6, 2026 15:23
Validate setup pins against each workflow's compiler metadata and manifest without hard-coded release versions or SHAs.

Co-authored-by: Copilot <[email protected]>
Include setup hooks, fields, properties and referenced helpers across resolved base and partial types while keeping supplemental freshness separate from target identity history.

Co-authored-by: Copilot <[email protected]>

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.

🔵 Needs a closer look

Freshness tracking misses alias-only edits, preserving an outdated cutoff and ancestor requirement that can allow failures from builds without the alias fix to qualify for quarantine.

No open issues 🎉

1 previously missed issue

In code that hasn't changed since last review

Medium severity Track alias changes when determining snapshot freshness

.github/​workflows/​scripts/​test-quarantine/​collect_case_a_eligibility.py:3654

An alias-only edit leaves the snapshot unchanged: changing the BadHttpRequestException alias in MaxRequestBodySizeTests.cs changes the type expected by Assert.ThrowsAsync, but produces identical non-null snapshots. This retains the older cutoff and required ancestor, allowing failures from builds without the alias fix to qualify for quarantine. Include applicable using directives, aliases, and static imports in freshness tracking, or conservatively retain the file cutoff when their effects cannot be resolved.

2 resolved since last review

Review effort: Balanced

@wtgodbe
wtgodbe merged commit 2514b06 into dotnet:main Nov 7, 2026
15 checks passed
@wtgodbe
wtgodbe temporarily deployed to copilot-pat-pool November 7, 2026 00:22 — with GitHub Actions Inactive
@wtgodbe
wtgodbe temporarily deployed to copilot-pat-pool November 7, 2026 00:22 — with GitHub Actions Inactive
@wtgodbe
wtgodbe temporarily deployed to copilot-pat-pool November 7, 2026 00:23 — with GitHub Actions Inactive
@wtgodbe
wtgodbe temporarily deployed to copilot-pat-pool November 7, 2026 00:25 — with GitHub Actions Inactive
@wtgodbe
wtgodbe temporarily deployed to copilot-pat-pool November 7, 2026 00:26 — with GitHub Actions Inactive
@wtgodbe
wtgodbe temporarily deployed to copilot-pat-pool November 7, 2026 00:27 — with GitHub Actions Inactive
@github-actions

github-actions Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

✅ No documentation PR was created.

Confidence that documentation is needed: 2%

No docs needed: repository CI/automation and test infrastructure change only.

Documentation surfaces considered

  • Conceptual article: Not required — Changes limited to .github workflow scripts and tests for test quarantine; no public API or behavior.
  • Migration guidance: Not required — No upgrade action for users.
  • Breaking change: Not required — No compatibility impact; CI automation only.

This branch was previously deployed

1 inactive deployment
copilot-pat-pool — 3d593215 Deployed Nov 7, 2026 by wtgodbe via conclusion #230
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants