fix: prevent duplicate Test Improver monthly activity issues#681
Open
sergio-sisternes-epam wants to merge 2 commits intomicrosoft:mainfrom
Open
fix: prevent duplicate Test Improver monthly activity issues#681sergio-sisternes-epam wants to merge 2 commits intomicrosoft:mainfrom
sergio-sisternes-epam wants to merge 2 commits intomicrosoft:mainfrom
Conversation
…ft#658, microsoft#673, microsoft#679) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Daily Test Improver agentic workflow instructions to reliably reuse (and only create when necessary) the monthly activity tracking issue, preventing duplicate monthly issues across repeated runs.
Changes:
- Replaces the vague Task 7 guidance with explicit, step-by-step issue discovery/update/create logic.
- Adds a concrete
gh search issuesinvocation and enumerates the decision cases for current-month vs previous-month vs no issue found.
… multiple duplicates Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.
Description
Fix the Daily Test Improver agentic workflow to prevent it from creating duplicate monthly activity issues. The workflow's Task 7 was creating a new issue on every run instead of finding and updating the existing one, resulting in three identical issues for April 2026.
Fixes #658, #673, #679
Root cause
The original Task 7 instruction was a single vague sentence: "Search for an open issue... If it's for the current month, update it." The AI agent wasn't reliably following this, creating new issues each run instead.
Changes
.github/workflows/daily-test-improver.md— Replaced the single-line Task 7 step 1 with explicit, step-by-step instructions that:gh search issuescommand to find existing issuesDuplicate cleanup
Type of change
Testing
N/A — this is an agentic workflow instruction change, not code. The fix will be validated on the next scheduled workflow run.