fix(frontend): 处理 WorkflowRun 乐观锁与跨资源冲突对账 - #356
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
|
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
@xyh202131 修改下你的 PR Body,这样才会在PR合并时自动关闭 issue。 |
|
/review |
There was a problem hiding this comment.
Reviewed the fixed PR diff across the WorkflowRun API/controller, Quick Start recovery flow, and Workflow Editor session/view orchestration. The optimistic-lock reconciliation paths are generally coherent, but the editor still leaves one asset-upload path active after a conflict.
Verification: targeted frontend tests could not run because the checkout has no usable Vitest installation (vitest: Permission denied, and the package module is absent).
改动内容
version,并把后端业务409映射为明确的乐观锁冲突错误对齐依据
配合后端 PR #345 的 WorkflowRun 乐观锁契约,前端以后端返回的版本号为准。
验证
npm run lint -- --deny-warningsnpm run typechecknpm run test:coverage:51 个测试文件,561 项通过,4 项跳过npm run buildoxfmt --checkCloses #205