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

Incomplete tasks due service crash

未关闭
#472 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
kubernetes, python

调研方向

未指定文件或测试。首先跟踪服务如何处理事件,包括 pipeline-tarball 和 checkout-node 的工作,然后比较 Kubernetes 中可用的持久化存储选项。完成标准是:进行中的事件能够在服务重启后继续存在,能够重试,并在完成后被清除,且不会发生重复恢复。

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

描述

Often might happen that service crash due various reasons, for example pipeline-tarball might try to use more memory than available at node, then it will restart and we might have checkout node finished and stay in incomplete state.
We need a way to retry last job that was being executed, if it is possible.

Proposal: to do this we need mechanism that will take event, set this event as "current" of service, and on event completion - delete this state. In case service restarted, it will check if there was event that was being processed and if yes, it will retry to process it again.

Question is:
Where to store event? Persistent storage on kubernetes? some additional API endpoint?

Any other suggestions?

主要语言
Python
星标
14
派生
32
平均合并
10 小时 18 分钟
30 天内合并 PR
5

环境准备

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

从这里开始

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

kernelci/kernelci-project 的其他 Issue

查看 kernelci/kernelci-project 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

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