Skip to content

[plan] Add retry and error handling for GitHub search in Issue Monster workflow #7662

@github-actions

Description

@github-actions

Objective

Harden the Issue Monster workflow's GitHub search operations with proper retry logic and error handling to eliminate recurring search errors.

Context

Issue Monster emits GitHub search errors that contribute to workflow failures and audit noise. These errors likely stem from rate limits or transient API issues that could be handled gracefully.

Approach

  1. Locate the Issue Monster workflow file (.github/workflows/issue-monster.md or similar)
  2. Review GitHub search operations in the workflow logic
  3. Add retry logic for failed searches (exponential backoff recommended)
  4. Add error handling to gracefully handle rate limits and API errors
  5. Add logging to track search failures for monitoring
  6. Test with make recompile and validate with a workflow run

Files to Modify

  • .github/workflows/issue-monster.md (or equivalent)
  • Possibly related JavaScript/action files if search logic is externalized

Acceptance Criteria

  • GitHub search operations include retry logic (max 3 attempts)
  • Rate limit errors are caught and handled gracefully
  • Failed searches log meaningful error messages
  • Workflow continues processing other items on search failure
  • No unhandled GitHub search errors in workflow logs
  • Successful test run demonstrates improved reliability
    Related to [plan] Improve agent health and reduce firewall denials #7658

AI generated by Plan Command for discussion #7638

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions