Use full git history in test-quarantine workflow#65932
Merged
wtgodbe merged 1 commit intodotnet:mainfrom Mar 24, 2026
Merged
Conversation
The agent needs full git history to accurately determine when [QuarantinedTest] attributes were added/removed via git log -G. With fetch-depth: 1, the git log command returns no results, causing incorrect date calculations. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the test-quarantine agent workflow checkout behavior so the agent has full Git history available when using git log -G to determine when [QuarantinedTest] attributes were introduced/removed (avoiding incorrect “no results” date calculations caused by shallow clones).
Changes:
- Configure the workflow’s checkout to use full history (
fetch-depth: 0) in the source.mdworkflow definition. - Regenerate the compiled/locked workflow to apply the checkout change (and incorporate the updated gh-aw compiler output).
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .github/workflows/test-quarantine.md | Adds checkout.fetch-depth: 0 to ensure the agent run has full history available for git log -G. |
| .github/workflows/test-quarantine.lock.yml | Compiled workflow updates reflecting full-history checkout plus regenerated gh-aw output for this workflow. |
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.
The agent needs full git history to accurately determine when [QuarantinedTest] attributes were added/removed via git log -G. With fetch-depth: 1, the git log command returns no results, causing incorrect date calculations.