fix: server-authoritative review claim eligibility + dev movi loader (round12) #42

Merged
zhanghongming merged 1 commits from release/fanyu into dev 2026-10-12 19:22:02 +08:00
Collaborator

round12 热修回合:审核随机领取候选改为服务端权威 canClaim(与验收员同路径),修复「可领取3却提示无可领取」;空态提示区分无权限/无任务;修复倍速破缓存参数对 Vite dev 的阻断(构建产物行为不变)。已上线验证(digest 3428c955)。

round12 热修回合:审核随机领取候选改为服务端权威 canClaim(与验收员同路径),修复「可领取3却提示无可领取」;空态提示区分无权限/无任务;修复倍速破缓存参数对 Vite dev 的阻断(构建产物行为不变)。已上线验证(digest 3428c955)。
zhanghongming added 1 commit 2026-10-12 19:21:58 +08:00
The review workspace counted the available pool server-side but guessed
claim eligibility client-side. In the project-scoped workspace that guess
depends on listMembers data (review-only accounts skip the fan-out), so
absent or empty member data emptied the random-claim candidates while the
pool tab still showed claimable items — exactly the reported 可领取3但领取不了.

The pool listing now computes canClaim for quality reviewers exactly like
it already did for acceptance reviewers, and canClaimHumanItem resolves
batches through the request-scoped list-read cache (the listing's N+1
guard test stays green). The frontend honors server canClaim first, and
the empty-candidates notice now distinguishes no-permission from no-tasks.

Also fixes a dev-only regression from the rate-cap hotfix: the ?v=
cache-bust query on the vendored movi import defeats Vite's public-dir
resolver and hard-blocks every dev page with an error overlay. Dev now
injects a module script tag on the query-less path; built deployments
keep the cache-busted import URL.
zhanghongming merged commit 5b58c36f41 into dev 2026-10-12 19:22:02 +08:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

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