修复: gen_stream判重+重试分类+状态机最短路径+既有测试修复
This commit is contained in:
+2
-2
@@ -147,11 +147,11 @@ export interface PromotionResult {
|
||||
// ============================================================
|
||||
|
||||
// TaskRecord.status union 类型 — 值集对齐后端 TaskStatus serde (df-types/src/types.rs:131)
|
||||
// snake_case: todo | in_progress | in_review | testing | done | blocked | cancelled
|
||||
// snake_case: todo | in_progress | in_review | testing | done | blocked | cancelled | deferred
|
||||
// 注:constants/project.ts 的 mapLegacyStatus 兜底老 DB 旧态(completed/review_ready/merged/abandoned),
|
||||
// 仅在 taskStatusLabel/taskStatusClass 辅助函数内映射,record.status 本身经后端 is_valid 拦截无旧态。
|
||||
export type TaskStatus =
|
||||
| 'todo' | 'in_progress' | 'in_review' | 'testing' | 'done' | 'blocked' | 'cancelled'
|
||||
| 'todo' | 'in_progress' | 'in_review' | 'testing' | 'done' | 'blocked' | 'cancelled' | 'deferred'
|
||||
|
||||
export interface TaskRecord {
|
||||
id: TaskId
|
||||
|
||||
Reference in New Issue
Block a user