Open harperreed opened 1 month ago
Traceback (most recent call last):
File "/app/sweepai/handlers/on_ticket.py", line 164, in on_ticket
await fix_ci_failures(pull_request, tracking_id=tracking_id)
File "/app/sweepai/handlers/fix_ci.py", line 389, in fix_ci_failures
current_results = await fix_ci_failures_once(pull_request, tracking_id=f"{tracking_id}-ci-{i}", force=force)
File "/app/sweepai/handlers/fix_ci.py", line 286, in fix_ci_failures_once
logs_list = get_ci_failure_logs(error_runs, pull_request)
File "/app/sweepai/handlers/fix_ci.py", line 182, in get_ci_failure_logs
raw_logs = unzip_and_extract_logs(raw_binary_logs)
File "/app/sweepai/handlers/fix_ci.py", line 137, in unzip_and_extract_logs
zip_file = zipfile.ZipFile(io.BytesIO(blob))
File "/usr/local/lib/python3.10/zipfile.py", line 1272, in __init__
self._RealGetContents()
File "/usr/local/lib/python3.10/zipfile.py", line 1339, in _RealGetContents
raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file
File is not a zip file
Sweep has encountered a runtime error unrelated to your request. Please let us know via this link or at support@sweep.dev directly.
:book: For more information on how to use Sweep, please read our documentation.
Investigate and resolve CI/CD failure for PR #28
Description:
Review the CI/CD pipeline results for PR #28, identify the failing steps, and make necessary corrections to ensure all checks pass.
Tasks:
lint
,test
, orrace_test
Potential areas to check:
golangci-lint
rules in.github/workflows/go-tests.yaml
*_test.go
files are passinggo mod tidy
doesn't make any changes, indicating all dependencies are properly managedAdditional considerations:
OPENAI_API_KEY
) are required for the new changes