Skip to content

Refactor and API changing - #16

Merged
nofyso merged 6 commits into
mainfrom
dev
Jul 7, 2026
Merged

Refactor and API changing#16
nofyso merged 6 commits into
mainfrom
dev

Conversation

@nofyso

@nofyso nofyso commented Jul 7, 2026

Copy link
Copy Markdown
Member

本次更新重构了cuscuta:

  • 修改了redis侧的数据结构,将三列表改为单hash
  • 拆分了臃肿的 worker.rs
  • 添加了些许错误处理
  • 修复了错误的mock构建文件
  • 修改了entry的API
    • 删除了progress字段
    • 添加了total_jobs, finished_jobs, pending_jobs, queueing_jobs四个字段,代表任务分片的完成情况
  • 优化了部分代码,消除了部分的lint警告
  • 微调了cuscutactl的部分查询逻辑,以适应新的redis结构

nofyso added 6 commits June 21, 2026 19:56
一次很大的重构,修改了Redis侧的数据结构,从3个List
改为一个Hash,同时修改了API定义,以及部分`cuscutactl`
的输出内容
拆分了`worker.rs`,防止其过于臃肿
略微完善了错误处理
@nofyso nofyso added the enhancement New feature or request label Jul 7, 2026
@nofyso
nofyso merged commit f284d50 into main Jul 7, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant