feat: CI failure auto-diagnosis for evolution PRs (Closes #577)#600
Closed
Da-Mikey wants to merge 1 commit into
Closed
feat: CI failure auto-diagnosis for evolution PRs (Closes #577)#600Da-Mikey wants to merge 1 commit into
Da-Mikey wants to merge 1 commit into
Conversation
Polls open PRs on the Da-Mikey fork, fetches failing CI logs, extracts error classes, and either auto-fixes trivial failures (lint, unused imports) or creates focused child issues for complex failures. Runs on a 30-minute cron schedule. Co-Authored-By: Hermes Evolution <evolution@hermes.ai>
4 tasks
Owner
|
Integration review: blocked from merge. The implementation uses "gh pr view --json recentCheckRuns", but the installed gh CLI (and the version available in the cron environment) does not expose a "recentCheckRuns" JSON field, so the script cannot retrieve CI status and will silently do nothing. This is a category error: the mechanism cannot deliver the issue's goal (auto-diagnose failing CI) as written. Rework brief:
Re-open a PR once the script can reliably detect a failed CI run for a real open PR. |
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.
Automated evolution PR for issue #577. Adds evolution_ci_diagnosis.py — polls open PRs on the Da-Mikey fork, fetches failing CI logs, extracts error classes, and either auto-fixes trivial failures (lint, unused imports, trailing whitespace) or creates focused child issues for complex failures. Runs on a 30-minute cron schedule.