kuscia icon indicating copy to clipboard operation
kuscia copied to clipboard

Diagnose Tool 针对失败的任务收集详细日志、CRD 信息输出到指定文件夹,提供任务异常排查

Open Candicepan opened this issue 7 months ago • 2 comments

此 ISSUE 为 隐语开源共建计划(SecretFlow Open Source Contribution Plan,简称 SF OSCP)Phase 5 任务 ISSUE,欢迎社区开发者参与共建~

This ISSUE is one of the tasks of the SecretFlow Open Source Contribution Plan (referred to as SF OSCP) Phase 5. Welcome to join us in building it together!

任务介绍

  • 任务名称:Diagnose Tool 针对失败的任务详细信息收集
  • 技术方向:Kuscia/CLI
  • 任务难度:进阶🌟🌟
  • 任务预估完成时间:4周
  • 任务 Reviewer:@gaoyonglong

详细要求

Diagnose Tool 针对失败的任务收集详细的日志、CRD 信息输出到指定文件夹,提供任务异常排查。

可以通过现有的 Kuscia Diagnose 功能,扩展命令,能够从 Kuscia 中排查出当前有哪些运行失败的 KusicaJob,并且根据 KusciaJob 的信息,收集对应失败的 KusciaTask 信息到指定的文件夹下的文件中。

  • 要求:
    • 通过判断 KusciaJob 中失败的 KusciaTask,将涉及到的 KusciaJob 和 KusciaTask 的 CRD 信息输出到指定文件中;
    • 筛选 Kuscia.log,k3s.log 等日志文件中筛选出和 KusciaJob 和 KusciaTask 相关的日志信息输出到指定文件中;
    • 要求输出文件中的内容能够格式分明,逻辑清晰,便于异常排查
  • 任务说明:

能力要求

  • 对 Kuscia 原理有一定了解
  • 熟悉 Golang

操作说明

Candicepan avatar May 22 '25 14:05 Candicepan

@rooobinye Please give it to me

RooobinYe avatar Jun 27 '25 09:06 RooobinYe

由于您未能在规定时间内完成任务,该任务已重新开放认领。如需继续完成,请重新认领;同时也欢迎其他开发者参与认领。\n\nAs the task was not completed within the specified time, it has been unassigned for claiming. If you wish to continue working on it, please reclaim the task. Other developers are also welcome to claim it.

github-actions[bot] avatar Jul 25 '25 12:07 github-actions[bot]