action #167482
closedcoordination #127031: [saga][epic] openQA for SUSE customers
coordination #165393: [epic] Improved code coverage in openQA
[sporadic] codecov checks missing from pull requests size:S
0%
Description
Observation¶
https://github.com/os-autoinst/openQA/pull/5944 was merged manually by @livdywan. Because it had been reviewed with all checks shown as passing for several hours.
Notably this shows 42 checks passed. What's missing is codecov for example codecov/patch or codecov/project.
This happens in about 1/20 PRs
Acceptance criteria¶
- AC1: os-autoinst+openQA PRs consistently receive codecov reports (probably at least 60 in total)
Suggestions:¶
- When checks are missing it probably prevents automatic merging. There is no indication of missing checks, though? Research if that can be made visible.
- It is visible in the Summary
- Find out what is causing codecov to be absent. These are started via circleCI jobs.
- When it happens again, try to quickly check the codecov webhook deliveries, even the successful responses
- Research or ask in codecov community if that is a known or recurring problem https://github.com/codecov/feedback/
Files
Updated by ybonatakis about 2 months ago
- Status changed from Workable to In Progress
Updated by openqa_review about 2 months ago
- Due date set to 2024-10-22
Setting due date based on mean cycle time of SUSE QE Tools
Updated by ybonatakis about 2 months ago
The reason can be seen here https://app.codecov.io/gh/os-autoinst/openQA/pull/5944?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=checks&utm_campaign=pr+comments&utm_term=os-autoinst
Missing Head Commit
Unable to compare commits because the head commit was not found
This leads to https://docs.codecov.com/docs/error-reference#section-missing-head-commit where it states
You will see an error stating No coverage uploaded for pull request head. when the pull request has:
- not yet uploaded coverage results to Codecov;
- or the uploaded reports are from failed CI builds.
It might also be that the head commit of the pull request is not found
the main difference between good and bad cases is that
in bad you see something like
Starting create commit process --- {"commit_sha": "b6c7ac4cc198b159179897ac622b46609ccd9c66", "parent_sha": null, "pr": "5944", "branch": "pull/5944", "slug": "os-autoinst/openQA", "token": "0******************", "service": "github", "enterprise_url": null}
while in the good one
Starting create commit process --- {"verbose": true, "auto_load_params_from": null, "codecov_yml_path": null, "enterprise_url": null, "version": "cli-0.7.5", "command": "create-commit", "parent_sha": null, "pull_request_number": "5996", "branch": "pull/5996", "commit_sha": "a9c833c2f8efdc8d40bd45d1df8a95d36eeed804", "fail_on_error": false, "git_service": "github", "slug": "os-autoinst/openQA"}
I cant understand where the difference comes from.
I didnt find anything else in the logs.
Updated by okurz about 2 months ago
As we didn't see the issue anymore I suggest you resolve the ticket.
Updated by ybonatakis about 2 months ago
The community blog is achieved, so I cant ask there. I filed an issue on codecov/codecov-action
https://github.com/codecov/codecov-action/issues/1606
Updated by ybonatakis about 2 months ago
- Status changed from In Progress to Feedback
Updated by ybonatakis about 2 months ago
- Status changed from Feedback to Blocked
Updated by tinita about 2 months ago
ybonatakis wrote in #note-10:
The community blog is achieved, so I cant ask there.
the link to the codecov community is in the ticket description:
https://github.com/codecov/feedback/
Updated by ybonatakis about 2 months ago
tinita wrote in #note-13:
ybonatakis wrote in #note-10:
The community blog is achieved, so I cant ask there.
the link to the codecov community is in the ticket description:
https://github.com/codecov/feedback/
So codecov/codecov-action is not the right place to report this?
Do you think I should add it to codecov/feedback/ as well?
Updated by ybonatakis about 2 months ago
Updated by livdywan about 2 months ago ยท Edited
- Status changed from Blocked to Resolved
ybonatakis wrote in #note-15:
The codecov config update was deployed. We assume this works. If for any reason we still see it, let's re-open it.
FYI https://github.com/codecov/codecov-action/issues/1606 is still open