Create a new codecov module for scorecard
Maintainer thường phản hồi trong vòng 1 ngày
@christoph-jerolimov đang làm issue này rồi.
Từ ngày 19/6/2026.
- #3477 của @fullsend-ai-coder — đã đóng, không merge
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Scorecard is a backstage plugin and supports multiple metric, grouped as modules in folder workspaces/scorecard/plugins.
There are already modules that support GitHub, OpenSSF, SonarQube. Add a new module for codecov that provide the following metrics:
- Code coverage (Current percentage value for the default branch)
- Code coverage - Trend for the last 7 days
- Code coverage - Tracked files
- Code coverage - Tracked lines of code
- Code coverage - Covered lines of code
- Code coverage - Partial covered lines of code
- Code coverage - Missed lines of code
The metrics providers should introduce multiple new Backstage entity annotations:
codecov.io/account(string, optional)codecov.io/service(string, optional)codecov.io/owner(string, optional)codecov.io/repo(string, required to enable the codecov metrics)
All metrics providers should filter for entities with annotation codecov.io/repo.
To get the coverage from codecov.io, the backend module needs to know for which entities and codecov services it needs to communicate.
For this the backend should support multiple codecov accounts like this:
codecov:
defaultAccount: default
accounts:
- name: default
authToken: example
The authToken needs to picked up from this accounts array by the name. The account name can be specified in the annotation codecov.io/account. The default account name can be changed in the configuration. This configuration parameter should be optional. If its not specified then the default account name should use "default".
The only necessary API to get all information for all metrics is documented on https://docs.codecov.com/reference/repos_retrieve
https://api.codecov.io/api/v2/{service}/{owner_username}/repos/{repo_name}/
The authToken needs to be provided as header, but its optional and should not use it when no token is specified.
Authorization: bearer {{ ACCESS TOKEN }}
The call includes a service name, an owner username and a repo name.
serviceshould prefer the annotationcodecov.io/service, when its not defined it should automatically usegithubifgithub.com/slugannotation is defined. It should fail otherwise. Other cases might be added in the future.- owner username should prefer the annotation
codecov.io/owner. When its not defined it should try to extract an owner fromcodecov.io/repowhen it's include a slash (/). It should fail if owner is defined and repo doesn't include a slash. - repo name should prefer the annotation
codecov.io/repo. When its not defined it should try to extract an owner fromcodecov.io/repowhen it's include a slash (/).
Here is a working example API call:
curl --header 'accept: application/json' 'https://api.codecov.io/api/v2/github/redhat-developer/repos/rhdh-plugins'
This generated an out like this:
{
"name": "rhdh-plugins",
"private": false,
"updatestamp": "2026-06-19T10:29:51.283089Z",
"author": {
"service": "github",
"username": "redhat-developer",
"name": "redhat-developer"
},
"language": "typescript",
"branch": "main",
"active": true,
"activated": true,
"totals": {
"files": 2252,
"lines": 85789,
"hits": 45982,
"misses": 38246,
"partials": 1561,
"coverage": 53.59,
"branches": 24121,
"methods": 13480,
"sessions": 23,
"complexity": 0.0,
"complexity_total": 0.0,
"complexity_ratio": 0,
"diff": 0
}
}
When possible the API call response should be reused between all seven metric providers.
It is not neccessary to use a codecov dependency for this, a simple fetch call should work.
Add a type definition for the codecov response
Add tests and integrate the new module into the existing Backstage app. Add an example entity for rhdh-plugins with the annotation codecov.io/repo: redhat-developer/rhdh-plugins.
- Ngôn ngữ chính
- TypeScript
- Star
- 51
- Fork
- 121
- Merge trung bình
- 1 ngày 14 giờ
- Pull request đã merge (30 ngày)
- 286
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của redhat-developer/rhdh-plugins
-
feature fullsend ready-for-triage Review effort 1/5 triaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
redhat-developer/rhdh-plugins#4799 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add entity provider implementation conventions to ai-integrations AGENTS.mdCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mởdocumentation ready-for-triage ready-to-code Review effort 1/5 workspace/ai-integrations
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
redhat-developer/rhdh-plugins#4781 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add public export surface review guidance to scorecard AGENTS.mdCó thể đã có người làm @fullsend-ai-coder đã nhận 44 ngày trước. Đang mởdocumentation ready-for-triage ready-to-code Review effort 1/5 workspace/scorecard
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
redhat-developer/rhdh-plugins#4777 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add collector parameter contract assertion convention to scorecard AGENTS.mdCó thể đã có người làm @fullsend-ai-coder đã nhận 45 ngày trước. Đang mởdocumentation ready-for-triage ready-to-code workspace/scorecard
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
redhat-developer/rhdh-plugins#4734 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add DORA collector pipeline and time-window boundary guidance to scorecard AGENTS.mdCó thể đã có người làm @fullsend-ai-coder đã nhận 45 ngày trước. Đang mởdocumentation ready-for-triage ready-to-code workspace/scorecard
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
redhat-developer/rhdh-plugins#4733 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của redhat-developer/rhdh-plugins
Issue tương tự
-
area:desktop area:ui bug platform:macos
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
anthropics/claude-code#106183 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
feature:App-Tour feature:Chat ready Web
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
digitalfabrik/integreat-app#4523 · 2 reaction ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Required Lexical field accepts two empty paragraphsCó thể đã có người làm @lazerg đã nhận hôm nay. Đang mởBug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
payloadcms/payload#19222 ·
Maintainer thường phản hồi trong vòng 1 ngày