Open sweep-nightly[bot] opened 1 year ago
It looks like an issue has occurred around fetching the files. Perhaps the repo has not been initialized. If this error persists contact team@sweep.dev.
@sweep-nightly[bot], please edit the issue description to include more details and I will automatically relaunch.
For bonus GPT-4 tickets, please report this bug on Discord.
🎉 Latest improvements to Sweep:
💡 To recreate the pull request edit the issue title or description. To tweak the pull request, leave a comment on the pull request.
In the file
sweepai/handlers/on_check_suite.py
, there are a couple of issues that need to be addressed:There is commented out code on lines
# logs_list = [extract_logs_from_comment(comment.body) for comment in comments]
and# current_logs = extract_logs_from_comment(problematic_logs)
. These lines should be removed or uncommented if they are necessary.The error logs do not use traceback, which makes it harder to debug issues. Please refactor the logging to use traceback for error logs.
There are several
logger.info
logs that may not be necessary, such aslogger.info(f"Skipping github action for PR with {num_pr_commits} commits")
andlogger.info(f"Running github action for PR with {num_pr_commits} commits")
. Please review these logs and remove any that are not necessary.