Skip to content

升级 Docs Workflow 到 Calcit 0.42.1 并收窄弹窗状态 - #111

Merged
tiye merged 1 commit into
mainfrom
migrate/docs-workflow-calcit-0421
Nov 12, 2026
Merged

tiye merged 1 commit into
mainfrom
migrate/docs-workflow-calcit-0421

Conversation

@tiye

@tiye tiye commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

用户影响

文档导航、历史记录和快速搜索弹窗沿用原行为。开发与 CI 请使用配对的 Calcit CLI 和 @calcit/procs 0.42.1。

改动与风险

  • 弹窗状态操作的载荷由任意值收窄为 Map。Alerts 的组件状态可包含不同类型的字段,因此 Map 内保留原合同;具名导航事件维持独立。
  • 同步工具链与依赖锁,补齐状态和 I/O 效果标注。现有 CI 继续构建前端和 mdBook。

验证

不可变安装、全定义检查、完整 strict、零弃用调用和零动态方法门禁、两项 Calcit 测试、前端构建及 Node 导航回归通过。Node 回归覆盖实际导航回调和快捷键打开、关闭搜索弹窗。

Summary by CodeRabbit

  • Chores
    • Updated the required Calcit tooling version to 0.42.1. The README and project configuration now specify the same version.
  • Documentation
    • Updated the documented candidate setup version to match the project configuration. Other candidate setup details remain unchanged.

@coderabbitai

coderabbitai Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The project updates its Calcit and @calcit/procs version pins to 0.42.1. Schema declarations add :io and :state features to functions and change the Op :states payload type to a map.

Changes

Calcit version and schema updates

Layer / File(s) Summary
Update Calcit version pins
deps.cirru, package.json, README.md
The required Calcit version and @calcit/procs dependency change to 0.42.1. The README candidate-version note also changes to 0.42.1.
Update schema declarations
calcit.cirru
Function schemas add :io and :state features where specified. The Op :states payload changes from Dynamic to (Map Dynamic Dynamic).

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

Change: Other

Possibly related PRs

Suggested reviewers: claude

Merge Risk: Minimal · up to d10f7

This update moves the docs workflow to Calcit 0.42.1 and narrows the popup state payload type. No actionable merge-blocking risk was found, and the reported build and navigation checks are consistent with the change.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title is in Chinese and says the PR upgrades Docs Workflow to Calcit 0.42.1 and narrows popup state. The raw summary confirms the version bump in README.md, calcit.cirru, deps.cirru, and package.j…
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.
Full details: Title check

Explanation

The title is in Chinese and says the PR upgrades Docs Workflow to Calcit 0.42.1 and narrows popup state. The raw summary confirms the version bump in README.md, calcit.cirru, deps.cirru, and package.json. It also confirms the Op enum change from Dynamic to (Map Dynamic Dynamic) for :states, which matches the narrowed popup state payload in the objectives. The title names the two main changes, so it is clearly related to the changeset.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • 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

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 32ea0704-d4d9-4325-a696-b5576943338d
Commits

Reviewing files that changed from the base of the PR and between 59c504f and d10f76a.

Files ignored due to path filters: 1

  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
Files selected for processing: 4

  • README.md
  • calcit.cirru
  • deps.cirru
  • package.json

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

@tiye
tiye merged commit c94f969 into main Nov 12, 2026
1 check passed
@tiye
tiye deleted the migrate/docs-workflow-calcit-0421 branch November 12, 2026 13:30
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.

1 participant