bartbot / sweep

Sweep: AI-powered Junior Developer for small features and bug fixes.
https://sweep.dev
GNU Affero General Public License v3.0
0 stars 0 forks source link

Add GitHub Actions Log Handler #74

Open sweep-ai[bot] opened 7 months ago

sweep-ai[bot] commented 7 months ago

PR Feedback (click)

The call_on_check_suite function in sweepai/api.py has been modified to initiate the GHA log handling process if the check suite fails.

A new test file gha_log_handler_test.py has been added under sweepai/tests/ to write unit tests for the GHALogHandler class.

Summary of Changes

  1. Created sweepai/handlers/gha_log_handler.py to handle GitHub Actions logs.
  2. Modified sweepai/api.py to initiate log handling when a GitHub Action fails.
  3. Created sweepai/tests/gha_log_handler_test.py to test the GHALogHandler class.

These changes aim to enhance the project's ability to diagnose and handle GitHub Actions failures.

sweep-ai[bot] commented 7 months ago

Rollback Files For Sweep