ci: the PR coverage upload has not run since the generating workflow was renamed
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
阅读 .github/workflows/upload_coverage_pr.yaml 和 .github/workflows/generate_coverage_pr.yaml。更新 workflow_run 的名称及其注释,使其与生成器 workflow 的 name: 字段一致,然后检查上传 job 是否按 issue 中所述处理当前的 coverage artifacts。上传 workflow 能因重命名后的生成器而触发,并上传其 artifacts,即为完成。
由索引模型根据 Issue 内容生成。
描述
The pull-request coverage upload workflow has not run since 2026-09-22, because its trigger names a workflow that no longer exists under that name.
What the tree says (at develop faf291a82)
.github/workflows/upload_coverage_pr.yaml:10triggers onworkflow_runof"Generate Coverage Report (PR)"..github/workflows/generate_coverage_pr.yaml:1is namedGenerate Coverage Reports (PR)(plural).
A workflow_run trigger matches the other workflow by its name:, so the upload workflow is never started.
When it changed
198c0ba57 ("ci(coverage): rename PR coverage workflow"), merged with #2293 on 2026-09-22 (bbcb34ffa), renamed the generating workflow and updated the #2222 spec, but not the trigger in upload_coverage_pr.yaml.
What the run records say
Upload Coverage Report (PR): 1198 runs in total; the newest is from 2026-09-22T11:22:33Z, about an hour before that merge.Generate Coverage Reports (PR): still runs on every pull request that touches code (the newest today, 2026-11-26).
So for about two months pull requests have produced coverage artifacts that nothing uploads, and no check reports the gap, because a workflow that is never triggered leaves no failed run.
Smallest fix
Change the trigger at .github/workflows/upload_coverage_pr.yaml:10 to "Generate Coverage Reports (PR)", and the comment above it to match.
To keep it from recurring
A lint step that resolves every workflow_run.workflows entry to an existing name: under .github/workflows/ would fail on this kind of rename. This is the entry implement-workflow-workflow-run-name-unchecked in the friction register on #2003.
One thing worth checking when the trigger is fixed: the upload job runs in the coverage environment with write permissions, and its steps have not run against the current shape of the generating workflow's artifacts since the package-coverage change in #2293.
- 主要语言
- Rust
- 星标
- 532
- 派生
- 56
- 平均合并
- 11 小时 20 分钟
- 30 天内合并 PR
- 282
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
torrust/torrust-tracker 的其他 Issue
-
Bug
难度 2/5 1-3 小时 新手友好度 78/100
torrust/torrust-tracker#3080 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
torrust/torrust-tracker#3058 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
torrust/torrust-tracker#2978 ·
维护者通常 1 天内回复
-
Bug
难度 2/5 1-3 小时 新手友好度 73/100
torrust/torrust-tracker#2332 ·
维护者通常 1 天内回复
-
task
难度 5/5 一周以上 新手友好度 35/100
torrust/torrust-tracker#3073 ·
维护者通常 1 天内回复
查看 torrust/torrust-tracker 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 90/100
维护者通常 1 天内回复
-
marketing
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
difficulty: easy docs help wanted tooling
难度 2/5 1-3 小时 新手友好度 83/100
-
bug help wanted ui
难度 2/5 1-3 小时 新手友好度 85/100
userFRM/egui-charts#4386 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
eliasstravik/herdr-projects#1605 · 1 条评论 ·