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

Add a distinct "prepared" state for pull-labs jobs

未关闭
#3,124 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
冷清
技术栈
python
领域
ci-cd

调研方向

首先跟踪 send_kcidb 入口点、pull-labs worker 的轮询以及 pipeline 状态转换。确认 available、done 和拟议的 prepared 状态在这些路径中是如何解释的。Done 表示 pull-labs worker 轮询 prepared,available 仅用于可用的输出,并且 send_kcidb 不会提交未完成的 job、test 或 process 节点。

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

描述

Pull-labs jobs currently use state=available to mean "ready for an external lab to pick up". Elsewhere in the pipeline, available means "this node has produced a usable result/artifact".

This overload confused send_kcidb: it listens for available nodes and can submit pull-labs jobs to KCIDB before they are actually finished, producing dashboard records with status: NULL.

Short-term fix:

  • send_kcidb should only submit job, test, and process nodes after state=done.
    (46cb4a1 in pipeline)

Long-term fix:

  • Add a distinct state such as prepared for pull-labs jobs waiting to be picked up.
  • Make pull-labs workers poll state=prepared.
  • Keep available for nodes whose outputs/results are actually available.
主要语言
Python
星标
120
派生
108
平均合并
1 天 12 小时
30 天内合并 PR
21

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

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

kernelci/kernelci-core 的其他 Issue

查看 kernelci/kernelci-core 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

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