Skip to content

Harden test quarantine evidence gates - #69471

Merged
wtgodbe merged 3 commits into
dotnet:mainfrom
wtgodbe:fix/test-quarantine-evidence-gates
Sep 24, 2026
Merged

wtgodbe merged 3 commits into
dotnet:mainfrom
wtgodbe:fix/test-quarantine-evidence-gates

Conversation

@wtgodbe

@wtgodbe wtgodbe commented Sep 23, 2026 •

Copy link
Copy Markdown
Member

Validates that retained failure builds contain the history-derived cutoff commit and excludes PR builds that modify the test source. This prevents the stale merge-snapshot evidence that incorrectly opened #69451 and #69452.

Adds deterministic Case B selection and exact method/type/assembly quarantine history so stale snapshots, re-quarantines, and ambiguous identity moves fail closed. Includes regression fixtures and a regenerated workflow lock.

Copilot AI lite review requested due to automatic review settings September 23, 2026 20:18
@wtgodbe
wtgodbe requested a review from a team as a code owner September 23, 2026 20:18
@wtgodbe

wtgodbe commented Sep 23, 2026

Copy link
Copy Markdown
Member Author

CC @ilonatommy - should fix the behavior that led to #69452 and #69451

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.

Copilot review overview

🟡 Changes recommended

Critical gaps remain in cross-scope history handling and executable Case B and diff validation.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 3 High severity

Open (3)
What changed in this PR

This pull request hardens test-quarantine evidence gates against stale builds and ambiguous quarantine history.

Changes:

  • Adds ancestry and deterministic Case B eligibility checks.
  • Reconstructs exact quarantine history with regression coverage.
  • Updates workflow locks and documentation.
File Summary
.github/​workflows/​test-quarantine.md Workflow gates and agent instructions
.github/​workflows/​test-quarantine.lock.yml Regenerated workflow lock
.github/​workflows/​scripts/​test-quarantine/​test_kbe_issue_handler.js Handler validation tests
.github/​workflows/​scripts/​test-quarantine/​test_collect_case_a_eligibility.py Regression fixtures
.github/​workflows/​scripts/​test-quarantine/​README.md Evidence-flow documentation
.github/​workflows/​scripts/​test-quarantine/​collect_requarantine_history.py Quarantine history collection
.github/​workflows/​scripts/​test-quarantine/​collect_case_a_eligibility.py Ancestry and eligibility logic
.github/​aw/​actions-lock.json Updated action lock metadata

Comment thread .github/workflows/test-quarantine.md Resolved
Comment thread .github/workflows/test-quarantine.md Resolved
@wtgodbe
wtgodbe force-pushed the fix/test-quarantine-evidence-gates branch from 2f5dbce to 18a4f62 Compare September 23, 2026 23:00
@wtgodbe
wtgodbe requested a lite review from Copilot September 23, 2026 23:40

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.

Copilot review overview

🟡 Changes recommended

Unresolved critical and moderate issues remain in quarantine history classification.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 High severity

Open (1)
Resolved since last review (3)

@wtgodbe
wtgodbe force-pushed the fix/test-quarantine-evidence-gates branch from 18a4f62 to 4b4af50 Compare September 24, 2026 00:34
@wtgodbe
wtgodbe requested a lite review from Copilot September 24, 2026 00:35

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.

Copilot review overview

🔵 Needs a closer look

The workflow and evidence-gating changes require final human review.

Review effort: Lite
Findings: None

Resolved since last review (1)

@wtgodbe
wtgodbe merged commit b2629d6 into dotnet:main Sep 24, 2026
13 checks passed
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Oct 1, 2026
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