Conversation
helsome
approved these changes
Sep 14, 2026
helsome
left a comment
Owner
There was a problem hiding this comment.
修复方向与 #96 的两个真实重复路径一致:执行前先占用 occurrence、内存 guard 阻止重叠 tick、持久 claim 让 host 重建后仍可去重;失败 occurrence 明确选择“当天不自动重试”,也避免了偶然的一分钟 retry storm。新增测试覆盖了重启恢复、执行跨 tick、失败不重试和跨 repository instance 的持久 claim,focused tests + typecheck 报告足够验证这个修复。
代码本身批准。当前分支基于较早的 4eca2d1,而 main 已前进到新的提交;这是持久化/调度路径,我不建议直接用旧基线合并。请只 rebase 最新 main,并重跑现有两组 focused tests + typecheck/basic CI 即可,不需要扩大 scope。action_required 是首次贡献者 Actions 授权,不作为质量失败。
Open
11 tasks
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.
改动说明
修复计划自动化规则在同一计划日期可能重复执行的问题。
ruleId + scheduled occurrence,应用重启后仍可识别已处理任务。关联 Issue
Closes #96
测试报告(正式审核前必填)
环境
实际执行命令与结果
已知失败 / Baseline(如有)
无。
UI 截图(仅可见 UI 变化时必填)
Before(适用时)
不适用(无可见 UI 变化)。
After(适用时)
不适用(无可见 UI 变化)。
Scope / 后续
本 PR 仅处理计划自动化的同日去重、重启恢复与并发执行保护;不修改自动化规则配置、手动执行行为或 UI。