Repository navigation
Fix test quarantine rename detection - #69804
Merged
wtgodbe merged 1 commit intoOct 13, 2026
Merged
Conversation
Co-authored-by: Copilot <[email protected]>
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The new false-lineage-jump handling lacks direct regression coverage.
1 open finding
What changed in this PR
Refines test-quarantine history analysis to avoid false rename ambiguity while preserving conservative rename detection.
Changes:
- Compares type, method, and overload declaration snapshots.
- Adds rename/rewrite regression fixtures and documentation.
- Regenerates the gh-aw workflow lock file.
| File | Description |
|---|---|
.github/workflows/test-quarantine.lock.yml |
Regenerates the workflow with gh-aw v0.91.10. |
.github/workflows/scripts/test-quarantine/collect_case_a_eligibility.py |
Implements snapshot-based rename detection. |
.github/workflows/scripts/test-quarantine/test_collect_case_a_eligibility.py |
Adds declaration and rename fixtures. |
.github/workflows/scripts/test-quarantine/README.md |
Documents revised identity handling. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
+1675
to
+1686
| lineage = [] | ||
| for identity in identities: | ||
| if lineage and identity["path"] != lineage[-1]["path"]: | ||
| old_path_still_exists = git_result( | ||
| root, | ||
| "cat-file", | ||
| "-e", | ||
| f"{lineage[-1]['commit']}:{identity['path']}", | ||
| ) | ||
| if old_path_still_exists.returncode == 0: | ||
| break | ||
| lineage.append(identity) |
wtgodbe
temporarily deployed
to
copilot-pat-pool
October 13, 2026 19:00 — with
GitHub Actions
Inactive
wtgodbe
temporarily deployed
to
copilot-pat-pool
October 13, 2026 19:01 — with
GitHub Actions
Inactive
wtgodbe
temporarily deployed
to
copilot-pat-pool
October 13, 2026 19:02 — with
GitHub Actions
Inactive
wtgodbe
temporarily deployed
to
copilot-pat-pool
October 13, 2026 19:05 — with
GitHub Actions
Inactive
wtgodbe
temporarily deployed
to
copilot-pat-pool
October 13, 2026 19:06 — with
GitHub Actions
Inactive
wtgodbe
temporarily deployed
to
copilot-pat-pool
October 13, 2026 19:07 — with
GitHub Actions
Inactive
Contributor
|
✅ No documentation PR was created. Confidence that documentation is needed: 2% No docs needed: the PR only changes repository CI/test-quarantine automation scripts and workflow lock file. Documentation surfaces considered
|
wtgodbe
temporarily deployed
to
copilot-pat-pool
October 13, 2026 19:07 — with
GitHub Actions
Inactive
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Fix test quarantine rename detection
Avoid false test quarantine rename ambiguity
Description
The test-quarantine collector previously treated any commit that re-added a target declaration while deleting another declaration in the file as a rename. Whole-file rewrites such as file-scoped namespace conversions and batch test-signature changes therefore permanently marked otherwise stable test identities as ambiguous.
This change compares historical declaration snapshots within the owning type, tracks overload signatures, and rejects false
git --followlineage jumps while preserving fail-closed behavior for genuine method, overload, type, and namespace renames. Regression fixtures cover declaration rewrites, mixed rename-and-overload changes, unrelated type edits, simultaneous type/method renames, and replaced overloads.Re-evaluating the October 13 workflow evidence with this change makes
TimeoutExceeded_ConnectionFlowControlUsedUpThenPings_NoGoAwayCase A eligible andConnectionLifetimeNotificationFeature_RequestClose_ConnectionEndsCase B eligible. It also classifiesRedirectEnhancedNonBlazorGetToInternalas a provable first quarantine rather than ambiguous.Validation:
python3 -B .github/workflows/scripts/test-quarantine/test_collect_case_a_eligibility.py— passed; the new declaration-rewrite fixture fails against the previous collector and passes with this change..github/workflows/workflow-tests.yml— passed.gh aw compile test-quarantine --no-emit --strictwith gh-aw v0.91.10 — passed..github/workflows/test-quarantine.lock.ymlregenerated with gh-aw v0.91.10.No associated issue.