Skip to content

在飞互斥迁入编排模块 (fix #326) - #355

Merged
Teeeeeeeerry merged 1 commit into
mainfrom
fix/326-orchestrator-inflight
Aug 31, 2026
Merged

在飞互斥迁入编排模块 (fix #326)#355
Teeeeeeeerry merged 1 commit into
mainfrom
fix/326-orchestrator-inflight

Conversation

@Teeeeeeeerry

Copy link
Copy Markdown
Owner

问题

整页翻译的在飞互斥(连点防抖、在飞还原)此前只有端到端用例能验证,模块层没有语义。

根因

互斥规则散落在内容脚本,未随开关入口(#325)迁入编排模块。

修复

在飞互斥迁入 togglePage 开关入口:在飞期间页面尚无译文时忽略新触发并返回忙碌状态(忙碌不是错误,不携带错误信息);已有译文时放行还原且递增纪元中止在飞批次。

验证

pnpm typecheck 通过;新增 3 个互斥单测(在飞二次触发仅一轮请求并返回忙碌、在飞已有译文放行还原且首轮中止、忙碌不当作错误),pnpm test 629 个用例全部通过;既有连点端到端回归用例(TC-E2E-53 等)通过;pnpm build 正常。

Closes #326

整页翻译的在飞互斥此前只有端到端用例能验证。迁入开关入口:
在飞期间页面尚无译文时忽略新触发并返回忙碌状态,已有译文则
放行还原并中止在飞批次;忙碌不是错误。

Co-Authored-By: zhexuancai-uts <261878103+zhexuancai-uts@users.noreply.github.com>
@Teeeeeeeerry
Teeeeeeeerry merged commit 98e6006 into main Aug 31, 2026
6 checks passed
@Teeeeeeeerry
Teeeeeeeerry deleted the fix/326-orchestrator-inflight branch August 31, 2026 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

307-2 在飞互斥迁入编排模块(父 #307)

1 participant