Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linty fails when the number of annotations is too high #63

Open
Madeyro opened this issue Mar 1, 2023 · 0 comments
Open

Linty fails when the number of annotations is too high #63

Madeyro opened this issue Mar 1, 2023 · 0 comments

Comments

@Madeyro
Copy link

Madeyro commented Mar 1, 2023

We are seeing 86 errors from Lintly and this is causing Lintly to fail as in #31

Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.9.16/x64/bin/lintly", line 8, in <module>
    sys.exit(main())
  File "/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/lintly/cli.py", line 74, in main
    build.execute()
  File "/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/lintly/builds.py", line 82, in execute
    self.submit_to_pr(patch)
  File "/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/lintly/builds.py", line 151, in submit_to_pr
    self.submit_pr_review(patch, pr_review_action)
  File "/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/lintly/builds.py", line 163, in submit_pr_review
    self.git_client.create_pull_request_review(
  File "/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/lintly/backends/github.py", line 209, in create_pull_request_review
    client.post(url, data, headers={'Accept': GITHUB_API_PR_REVIEW_HEADER})
  File "/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/lintly/backends/github.py", line 81, in post
    return self._do_request('post', url, json.dumps(data), headers)
  File "/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/lintly/backends/github.py", line 113, in _do_request
    raise GitClientError(response.content, status_code=response.status_code)
lintly.backends.errors.GitClientError: b'{\n  "message": "Server Error"\n}\n'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant