🐛 Fix review visibility, diagnostics, and acceptance claiming #36

Merged
longtao.wu merged 1 commits from codex/fix-review-comments-20261007 into dev 2026-10-09 11:59:29 +08:00
Collaborator

What changed

  • Preserve independent workflow project visibility when a revoked public supplier grant is present, while keeping public-pool task access gated.
  • Count acceptance and delivery only after every persisted sibling production task in the source is complete.
  • Preserve raw object-storage upload diagnostics and add a stable stage-role error code so revoked tasks return to the pool.
  • Add a random-claim action for final acceptance reviewers in the acceptance task pool.

Validation

  • Targeted Go API and production statistics tests passed.
  • Frontend action-error, acceptance-pool, and task-pool tests passed.
  • TypeScript and Prettier checks passed.
  • Full Go baseline still has unrelated legacy 404/adversarial and local listener-permission failures.
## What changed - Preserve independent workflow project visibility when a revoked public supplier grant is present, while keeping public-pool task access gated. - Count acceptance and delivery only after every persisted sibling production task in the source is complete. - Preserve raw object-storage upload diagnostics and add a stable stage-role error code so revoked tasks return to the pool. - Add a random-claim action for final acceptance reviewers in the acceptance task pool. ## Validation - Targeted Go API and production statistics tests passed. - Frontend action-error, acceptance-pool, and task-pool tests passed. - TypeScript and Prettier checks passed. - Full Go baseline still has unrelated legacy 404/adversarial and local listener-permission failures.
zhanghongming added 1 commit 2026-10-08 15:47:06 +08:00
Owner

@zhanghongming 已完成本次审查,固定基线 bd253016 → 61197aed。

Standards

未发现新增的独立规范问题。原始诊断与展示文本已分开,项目导航恢复没有取消公共池任务的服务端授权检查。

Spec

前次四项问题已通过定向复验:独立工作流撤权后可见性、未出包兄弟任务的完成条件、上传原始诊断保留、阶段失权使用稳定 code 返回池。
[P2] 随机领取终审任务没有触发自动连续审查。 AnnotationOperations.tsx:3833-3839 领取后直接设置任务和 URL,没有像“继续处理”入口一样调用 reviewEntryIntent.mark。按照 review-problem-flow/spec.md 第 10 条,主动领取并进入可编辑审查后应自动开始连续审查。合成执行实际 handler 及 readiness effect:领取成功、租约/上下文就绪后 start 次数仍为 0;标记 intent 的对照为 1。建议在确认作用域仍有效、领取成功后标记该任务 intent,再导航,并保留现有就绪和暂停门禁。

验证:本 PR lint:web/build:web 通过;原四项修复的合成回归、API/生产统计定向测试、action-error/pool 9 项测试通过。与 #37 的临时组合版本定向 Go 及 23 项前端检查通过,全量前端 638 项中 14 项失败与基线失败集合一致,并非全部全绿。没有进行生产写入或浏览器业务验收。
按仓库所有者本次“评论并合并”的要求合并,以上 P2 保留为后续修复项。#37 同时修改随机领取 UI,须处理冲突并避免两个入口重复显示;本次合并不代表再次部署或业务验收完成。

@zhanghongming 已完成本次审查,固定基线 bd253016 → 61197aed。 ### Standards 未发现新增的独立规范问题。原始诊断与展示文本已分开,项目导航恢复没有取消公共池任务的服务端授权检查。 ### Spec 前次四项问题已通过定向复验:独立工作流撤权后可见性、未出包兄弟任务的完成条件、上传原始诊断保留、阶段失权使用稳定 code 返回池。 **[P2] 随机领取终审任务没有触发自动连续审查。** AnnotationOperations.tsx:3833-3839 领取后直接设置任务和 URL,没有像“继续处理”入口一样调用 reviewEntryIntent.mark。按照 review-problem-flow/spec.md 第 10 条,主动领取并进入可编辑审查后应自动开始连续审查。合成执行实际 handler 及 readiness effect:领取成功、租约/上下文就绪后 start 次数仍为 0;标记 intent 的对照为 1。建议在确认作用域仍有效、领取成功后标记该任务 intent,再导航,并保留现有就绪和暂停门禁。 验证:本 PR lint:web/build:web 通过;原四项修复的合成回归、API/生产统计定向测试、action-error/pool 9 项测试通过。与 #37 的临时组合版本定向 Go 及 23 项前端检查通过,全量前端 638 项中 14 项失败与基线失败集合一致,并非全部全绿。没有进行生产写入或浏览器业务验收。 按仓库所有者本次“评论并合并”的要求合并,以上 P2 保留为后续修复项。#37 同时修改随机领取 UI,须处理冲突并避免两个入口重复显示;本次合并不代表再次部署或业务验收完成。
longtao.wu merged commit 3ce70068e5 into dev 2026-10-09 11:59:29 +08:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: longtao.wu/droboticflow#36
No description provided.