docs: Improve README structure and fix versioning sequence #24
Annotations
1 error and 4 notices
|
coverage
Critical error. This error possibly occurred because the permissions of the workflow are set incorrectly. You can see the correct setting of permissions here: https://github.com/py-cov-action/python-coverage-comment-action#basic-usage
Otherwise please look for open issues or open one in https://github.com/py-cov-action/python-coverage-comment-action/
Traceback (most recent call last):
File "/workdir/coverage_comment/github_client.py", line 207, in http
response.raise_for_status()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/httpx/_models.py", line 829, in raise_for_status
raise HTTPStatusError(message, request=request, response=self)
httpx.HTTPStatusError: Client error '406 Not Acceptable' for url 'https://api.github.com/repos/costiash/claude-code-docs/pulls/2'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/406
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/workdir/coverage_comment/main.py", line 46, in main
exit_code = action(
config=config,
...<2 lines>...
git=git,
)
File "/workdir/coverage_comment/main.py", line 101, in action
return process_pr(
config=config,
gh=gh,
repo_info=repo_info,
)
File "/workdir/coverage_comment/main.py", line 144, in process_pr
diff = github.get_pr_diff(
github=gh,
repository=config.GITHUB_REPOSITORY,
pr_number=config.GITHUB_PR_NUMBER,
)
File "/workdir/coverage_comment/github.py", line 295, in get_pr_diff
.get(headers={"Accept": "application/vnd.github.v3.diff"}, text=True)
~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workdir/coverage_comment/github_client.py", line 70, in __call__
return self.gh.http(
~~~~~~~~~~~~^
method=self.method,
^^^^^^^^^^^^^^^^^^^
...<4 lines>...
**kwargs,
^^^^^^^^^
)
^
File "/workdir/coverage_comment/github_client.py", line 214, in http
raise cls(str(contents)) from exc
coverage_comment.github_client.ApiError: {"message":"Sorry, the diff exceeded the maximum number of lines (20000)","errors":[{"resource":"PullRequest","field":"diff","code":"too_large"}],"documentation_url":"https://docs.github.com/rest/pulls/pulls#get-a-pull-request","status":"406"}
|
|
coverage
HTTP Request: GET https://api.github.com/repos/costiash/claude-code-docs/pulls/2 "HTTP/1.1 406 Not Acceptable"
|
|
coverage
Generating comment for PR
|
|
coverage
HTTP Request: GET https://api.github.com/repos/costiash/claude-code-docs "HTTP/1.1 200 OK"
|
|
coverage
Starting action
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
coverage-report-html
Expired
|
117 KB |
sha256:1ec94b67543b1253cd84893eed989658e7a944f67ea915e4c5cc329da67d057a
|
|