feat(workflow-run): implement resumable generation orchestration - #86
Open
xyh202131 wants to merge 4 commits into
Open
feat(workflow-run): implement resumable generation orchestration#86xyh202131 wants to merge 4 commits into
xyh202131 wants to merge 4 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
No issues found in this review.
Verified:
npm test -- --run src/entities/workflow-run/store.test.tsnpm run typecheck
Note: dependency installation completed with a Node engine warning because this sandbox uses Node 20 while react-router@8.3.0 declares Node >=22.22.0.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
目的
实现可恢复的 WorkflowRun Entity 和前端用例编排,让角色生成、动作首帧选择与完整动画生成共用一套真实运行状态。
包含
purpose判别的WorkflowRun / WorkflowRevision / WorkflowStep模型model / store / service内部职责分层和 Entity 公开入口add_actionRunactionId写回 Character,避免重试重复追加边界
frontend/src/entities/index.ts和frontend/src/entities/workflow-run/CharacterCandidateConfirmationApis要求后端原子完成“保存选中图 + 返回正式 ID + 清理其余 3 张”;当前不提供假成功降级验证
npm run typecheck:通过npm run lint:通过npm test:23 项通过npm run build:通过git diff --check:通过本 PR 仅供审核,不执行合并。替代已关闭且未合并的 #85。