Skip to content

fix: 升级 ok-script 至 2.0.22 并适配截图时间戳签名 - #656

Merged
LevelDownRefine merged 3 commits into
AliceJump:masterfrom
LevelDownRefine:codex/ok-script-2.0.22
Nov 2, 2026
Merged

LevelDownRefine merged 3 commits into
AliceJump:masterfrom
LevelDownRefine:codex/ok-script-2.0.22

Conversation

@LevelDownRefine

@LevelDownRefine LevelDownRefine commented Nov 2, 2026 •

Copy link
Copy Markdown
Collaborator

升级 ok-script 从 2.0.17 到 2.0.22,同步锁文件和生成的发布依赖清单。截图时间戳补丁增加可选的 now 参数,兼容上游调用并保留现有时间戳格式。

Summary by CodeRabbit

  • 功能调整
    • 截图时间格式化支持使用指定时间;未指定时仍使用当前时间,格式保持不变。
  • 更新
    • 更新了相关工具版本。

@coderabbitai

coderabbitai Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between 7c79993 and 98fd00b.

Files selected for processing: 2
  • .github/workflows/build.yml
  • .github/workflows/pr-test.yml
Linked repositories identified

CodeRabbit considers these linked repositories for cross-repo context during reviews:

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 2 remain after this review.

Walkthrough

项目将 ok-script 从 2.0.17 更新到 2.0.22,并同步更新 CI 工作流中的版本。截图时间格式化函数新增可选的 now 参数;未传入时仍使用当前时间,格式保持不变。

Changes: ok-script 更新

Layer / File(s) Summary
依赖更新与时间格式化适配
pyproject.toml, requirements.txt, src/core/BaseEfTask.py, .github/workflows/build.yml, .github/workflows/pr-test.yml
依赖清单和 CI 工作流将 ok-script 更新到 2.0.22。截图时间格式化函数可接收可选的 now 参数;未传入时使用当前时间,格式保持为 %Y%m%d_%H%M%S。

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Bug fix

Possibly related PRs

  • AliceJump/ok-end-field#634:该 PR 将 ok-script 升级到 2.0.17;本 PR 继续升级同一依赖,并适配时间格式化函数的参数。
  • AliceJump/ok-end-field#650:该 PR 涉及 requirements.txt 与固定依赖版本的一致性;本 PR 更新了相关依赖声明。
  • AliceJump/ok-end-field#639:该 PR 涉及针对旧版 ok-script 的叠加层回移补丁;本 PR 将该依赖更新到 2.0.22。

Suggested labels: fix

Suggested reviewers: alicejump

Merge Risk: Minimal · up to 98fd0

The reviewed changes show no actionable merge-blocking risk and appear ready to merge.

Pre-merge checks: Passed 6
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed 标题准确概括了主要变更:将 ok-script 升级到 2.0.22,并适配截图时间戳函数签名。
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Pr 范围一致性 Passed 实际 diff 仅包含已声明范围:pyproject.toml、requirements.txt、uv.lock 及两个工作流将 ok-script 从 2.0.17 升级到 2.0.22;src/core/BaseEfTask.py:40 仅为 get_current_time_formatted 增加可选 now 参数,并保留 %Y%m%d_%H%M%S…
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 1 files. (2 skipped: 2 unsupported.)

Full details: Pr 范围一致性

Explanation

实际 diff 仅包含已声明范围:pyproject.toml、requirements.txt、uv.lock 及两个工作流将 ok-script 从 2.0.17 升级到 2.0.22;src/core/BaseEfTask.py:40 仅为 get_current_time_formatted 增加可选 now 参数,并保留 %Y%m%d_%H%M%S 格式。PR 标题和描述均明确说明了依赖升级及截图时间戳适配。未发现未披露的核心判定、调度、状态、持久化或公开契约变化。

Finishing Touches
Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@LevelDownRefine LevelDownRefine changed the title fix: 升级 ok-script 至 2.0.22 并适配截图接口 fix: 升级 ok-script 至 2.0.22 并适配截图时间戳签名 Nov 2, 2026
@LevelDownRefine
LevelDownRefine marked this pull request as ready for review November 2, 2026 15:01
@coderabbitai coderabbitai Bot added the fix 缺陷修复 label Nov 2, 2026

@coderabbitai coderabbitai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Fix comments: Fix CodeRabbit comments on this PR

Comment thread pyproject.toml Resolved
@sonarqubecloud

sonarqubecloud Bot commented Nov 2, 2026

Copy link
Copy Markdown

@LevelDownRefine
LevelDownRefine merged commit 7ccc720 into AliceJump:master Nov 2, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix 缺陷修复

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant