Add evergreen agentic workflow for automated PR health maintenance#62
Merged
Conversation
Agent-Logs-Url: https://github.com/githubnext/tsessebe/sessions/ddd42cec-905f-4078-8abe-b2c5dad7be71 Co-authored-by: mrjf <180956+mrjf@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add evergreen workflow to check for merge conflicts and failing tests
Add evergreen agentic workflow for automated PR health maintenance
Apr 7, 2026
Contributor
|
@copilot fix CI |
…een-workflow Co-authored-by: mrjf <180956+mrjf@users.noreply.github.com>
Contributor
Author
Fixed in |
Contributor
|
@copilot you need to compile this agentic workflow |
Agent-Logs-Url: https://github.com/githubnext/tsessebe/sessions/73d53916-82af-4d1d-9da7-d3750adede6c Co-authored-by: mrjf <180956+mrjf@users.noreply.github.com>
Contributor
Author
Compiled in Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
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.
New agentic workflow that runs every 5 minutes to detect and fix merge conflicts and CI failures across open PRs.
Design
mergeablestate) and failing CI (check-runs + commit status APIs), selects the first unhealthy PRrepo-memory(branchmemory/evergreen) aspr-{number}.mdfiles containing HEAD SHA + attempt count. Counter resets when SHA changes; caps at 5 attempts per repo statepush-to-pull-request-branchsafe outputSafe outputs
Manual dispatch
Supports
workflow_dispatchwith optionalpr_numberinput to target a specific PR, bypassing the scheduling/selection logic.