Open sweep-ai[bot] opened 6 months ago
The latest updates on your projects. Learn more about Vercel for Git βοΈ
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
kpishelper | β Failed (Inspect) | May 11, 2024 11:38am |
This is an automated message generated by Sweep AI.
Sweep : add unit tests
β Failed to make changes:
The exception message is:422 {"message": "Invalid tree info", "documentation_url": "https://docs.github.com/rest/git/trees#create-a-tree"}
The stack trace is:Traceback (most recent call last): File "/app/sweepai/handlers/on_comment.py", line 397, in on_comment raise e File "/app/sweepai/handlers/on_comment.py", line 394, in on_comment commit_multi_file_changes(sweep_bot.repo, new_file_contents_to_commit, commit_message, branch_name) File "/app/sweepai/utils/github_utils.py", line 187, in commit_multi_file_changes new_tree = repo.create_git_tree(blobs_to_commit, base_tree=base_tree) File "/usr/local/lib/python3.10/site-packages/github/Repository.py", line 1343, in create_git_tree headers, data = self._requester.requestJsonAndCheck("POST", f"{self.url}/git/trees", input=post_parameters) File "/usr/local/lib/python3.10/site-packages/github/Requester.py", line 537, in requestJsonAndCheck return self.check(*self.requestJson(verb, url, parameters, headers, input, self.customConnection(url))) File "/usr/local/lib/python3.10/site-packages/github/Requester.py", line 598, in __check raise self.createException(status, responseHeaders, data) github.GithubException.GithubException: 422 {"message": "Invalid tree info", "documentation_url": "https://docs.github.com/rest/git/trees#create-a-tree"}
Please join our Discourse to report this issue.
This is an automated message generated by Sweep AI.
Description
Fixes #6.
π Latest improvements to Sweep:
π‘ To get Sweep to edit this pull request, you can:
This is an automated message generated by Sweep AI.