pydata / pydata-sphinx-theme

A clean, three-column Sphinx theme with Bootstrap for the PyData community
https://pydata-sphinx-theme.readthedocs.io
BSD 3-Clause "New" or "Revised" License
561 stars 304 forks source link

make codecov work better #1741

Closed drammock closed 3 months ago

drammock commented 3 months ago

source of this idea is a codecov employee:

https://github.com/codecov/codecov-action/issues/1274#issuecomment-1934646632

drammock commented 3 months ago

OK, well the verbose helped, at least: we have useful information in the log now!

info - 2024-03-14 14:58:12,067 -- Process Commit creating complete
debug - 2024-03-14 14:58:12,067 -- Commit creating result --- {"result": "RequestResult(error=RequestError(code='HTTP Error 429', params={}, description='{\"detail\":\"Tokenless has reached GitHub rate limit. Please upload using a token: https://docs.codecov.com/docs/adding-the-codecov-token. Expected available in 705 seconds.\"}'), warnings=[], status_code=429, text='{\"detail\":\"Tokenless has reached GitHub rate limit. Please upload using a token: https://docs.codecov.com/docs/adding-the-codecov-token. Expected available in 705 seconds.\"}')"}
error - 2024-03-14 14:58:12,068 -- Commit creating failed: {"detail":"Tokenless has reached GitHub rate limit. Please upload using a token: https://docs.codecov.com/docs/adding-the-codecov-token. Expected available in 705 seconds."}
Error: Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1

The token is not getting through somehow.

drammock commented 3 months ago

thanks for the teamwork on this one @gabalafou