You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Investigate retrieving CI status for uploads #1493
The UI already claims we do this (see parent issue) but this is actually representative of Codecov processing status. The CLI sends some amount of CI related info. We need to record what data we have and what data we can query for to better represent CI status in the UI. For GHA, we may even be able to use webhooks to get status updates.
Outputs:
Write up on what we currently receive from the CLI related to CI
Write up on what data we can get from the CI providers with the given data
Note that this will be difficult for non GH if private
What additional permissions/data if any would we need to accomplish this?
We have a mechanism that queries the git provider for all the commit statuses, and we filter those to know if the CI passed or not (some statuses that we deem important, most are ignored)
At least for GitHub we could also make better use of the webhook information we receive. This would help reduce the number of calls we make to the git provider.
Commit.ci_status is a better reflection of wether a CI passed / failed for a commit
Activity
giovanni-guidini commentedon May 2, 2024
TL;DR
Commit.ci_statusis a better reflection of wether a CI passed / failed for a commitThe Notify task has a mechanism to check if CI was sucessful or not: https://github.com/codecov/worker/blob/d4496ed0e950f772c5ad0e33e770bf251223d87e/tasks/notify.py#L578
This is used to see if we should wait longer for customers that have
codecov.notify.wait_for_ciYAML configured to true (default is true)