Skip to content

fix: 校正签到剩余积分并隔离失败,保留后续任务和最终错误状态 - #62

Merged
chiihero merged 3 commits into
chiihero:V4-chinafrom
GoldenSection0618:codex/check-in-state
Nov 2, 2026
Merged

chiihero merged 3 commits into
chiihero:V4-chinafrom
GoldenSection0618:codex/check-in-state

Conversation

@GoldenSection0618

@GoldenSection0618 GoldenSection0618 commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

按完整日期和国区时区识别当日签到状态,避免隐藏旧推广造成剩余积分误判并跳过重复签到请求;签到失败时保留错误并继续后续独立任务,按实际余额变化记录积分,将失败状态传递到账户统计、日志解析、单进程及集群汇总和退出码。

Refs #47, #49

@GoldenSection0618

Copy link
Copy Markdown
Contributor Author

本地 28 项单元测试、类型检查、ESLint 和全量格式检查均已通过,当前 CI 为 action_required,尚未启动检查作业,请维护者批准运行。

@GoldenSection0618 GoldenSection0618 changed the title fix: 根据当日签到记录校正剩余积分并跳过重复签到 fix: 校正签到剩余积分并隔离失败,保留后续任务和最终错误状态 Oct 24, 2026
@chiihero
chiihero merged commit 9787d46 into chiihero:V4-china Nov 2, 2026
chiihero added a commit that referenced this pull request Nov 2, 2026
- DailyCheckIn.doDailyCheckIn 显式返回布尔(无令牌/已完成→false,确认成功→true),
  保留 #62 的未确认抛错语义与 #60 的 markExecuted 计数
- index.ts runDailyCheckIn 包装:已尝试执行(含失败)计为干活保留间隔,
  失败状态仍传递至最终汇总
- 测试 mock 对齐生产契约(didExecute 包装 + 干活返回 true),
  workerGaps 签到用例适配「未确认即抛错」的合并语义
- 四套功能测试 180/180 通过;logParser 1/8 为合并前存量脱节
@GoldenSection0618
GoldenSection0618 deleted the codex/check-in-state branch November 5, 2026 15:17
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.

2 participants