Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

CI: BReg tutorial job's retained-example recovery step runs zero tests

已关闭 适合新手
#1,405 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
76/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
github-actions, rust
领域
ci-cd

调研方向

定位包含 Base Registry Engine tutorial from source job 的 workflow,并检查 Verify retained example recovery after process exit step。运行 rg native_create_and_apply 和所引用的 cargo test 命令,以确定是否存在替代测试。完成的标准是该 step 指向一个真实测试或被移除,并且导致零测试的过滤器会使 job 失败,而不是通过。

由索引模型根据 Issue 内容生成。

描述

agent-ready area:breg bug criticality:p3 triage:needs-implementation

The Verify retained example recovery after process exit step in the Base Registry Engine tutorial from source job runs:

cargo test --locked -p registry-bregctl --lib \
  dev::examples::tests::native_create_and_apply_recover_after_process_exit_without_duplicate_revisions \
  -- --ignored --exact

That test no longer exists anywhere in the tree (rg native_create_and_apply finds only the workflow). With --exact the filter matches nothing, so the step reports 0 passed; ... 415 filtered out and succeeds. This is true on main (for example run 36021883150, job 107709175818) as well as on PR branches.

The step therefore gives no assurance and costs one extra registry-bregctl lib test compile per run (about 13 s).

To decide: either point the step at the test that now covers "native create and apply recover after process exit without duplicate revisions", if one was renamed or moved, or delete the step. Either way, a step that names a single test should fail when the filter matches zero tests, for example by checking the running N tests count.

主要语言
Rust
星标
2
派生
0
平均合并
7 小时 22 分钟
30 天内合并 PR
213

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

registrystack/registry-stack 的其他 Issue

查看 registrystack/registry-stack 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。