按中国工作日生成群报并支持节后多日汇总 - #42
Merged
Merged
Conversation
Merged
damingishere-coder
added a commit
that referenced
this pull request
Sep 27, 2026
正式服务验收发现:工作台已按中国日历正确休息,但 readiness 的 daily_result 仍只按时钟判断,假日下午被误报 OVERDUE。现在复用群级周期解析:休息日返回 REST_DAY,缺失日历返回 CALENDAR_UNAVAILABLE,仍保持进程就绪与任务结果分离。 验证:41 项可观测性/日历测试通过,覆盖休息日、普通工作日、混合规则和缺少年份;git diff --check 通过。本变更属于 #42 同次部署验收修正,不改变统计范围、实际发送或历史任务。
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.
原调度只按周一至周五判断,节假日仍会生成,调休周末则不会运行。新增中国工作日规则:休息日停跑,下一工作日合并前一个工作日至昨天的消息,统一控制生成、发送、启动恢复和工作台展示。
验证:后端全量 1057 passed,后续日历/UI 定向 39 passed;前端单元 49 passed,构建通过。E2E 原有用例 41 passed/1 skipped,新增三场景已通过(修正定位器后重跑)。Python compileall 与 git diff --check 通过。