Skip to content

配对 Touch Control 到正式 Calcit 0.34.2 - #46

Merged
tiye merged 1 commit into
mainfrom
migrate/touch0342-1093
Nov 3, 2026
Merged

tiye merged 1 commit into
mainfrom
migrate/touch0342-1093

Conversation

@tiye

@tiye tiye commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

使用者影响:0.0.36 候选配对正式 Calcit CLI / @calcit/procs 0.34.2、JS-FFI 0.2.9。消费者需协调完整模块图,重新生成 JS 并刷新;保留旧 0.0.35 tag 的 0.32.1 兼容线。本候选尚未发布,不以 main/hash 替代正式 tag。

官方 CLI 仅规范化旧类型语法。与规范化后的精确原提交 918caf3 逐定义对照,原代码、schema 和测试没有语义变化。ControlState/ControlDelta、PointerEventHost、完整三参数回调及 Unit 返回型保持。schemaDynamic/unresolved 扫描为零,不为了使用 union 再包装已有明确合同,也不把 List 长度伪装成静态证明。

正式 Caps strict/toolchain、immutable、全部 43 定义、完整 strict(diagnostics=[])、原 1 项 unit、deprecated-call=0、dynamic-method=0 与构建本地通过。按钮、Shift、坐标、计时、清理、目标缺失报错和 HUD 保持;不加 unsafe、nil 默认、门禁预算、测试框架或验证脚本。

此前 0.32.1 的按钮/双手柄/循环生命周期验收属于历史结果,本轮未重新完成浏览器或真实移动设备验收;不能将其当作新候选证明。原 PR 工作流只保留 7 天 dist/js-out artifact,不上传 COS、不生产部署;生成文件不提交仓库。本 PR 不合并、不发 tag/npm,正式发布前还需跟进精确 CI、comments 与真实消费者。

Summary by CodeRabbit

  • Documentation
    • Updated compatibility notes for candidate version 0.0.36, including validation results and the supported tool versions.
    • Clarified that browser and mobile checks have not been repeated for this candidate; documented DOM error behavior and other controls remain unchanged.
    • Noted that the candidate is not yet formally tagged or published.
  • Updates
    • Updated the project version to 0.0.36. Public state, event handling, code, schemas, and existing tests are unchanged.

已合并至 main(2b77608),精确 main CI https://github.com/Triadica/touch-control/actions/runs/41602654434 成功,原 Demo 前端 COS/rsync 部署成功。已发布正式 Git tag 0.0.36,不发布 npm。源码语义保持;本轮未做新的实际浏览器/移动触控验收。后续 Quatrefoil 的正式 tags Caps 图、完整 strict 与真实 Three 内存数据回归已使用 0.0.36 通过,这不替代其真实 WebGL 画面验收。

@coderabbitai

coderabbitai Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Walkthrough

The project and package versions move to 0.0.36, and Calcit and @calcit/procs move to 0.34.2. Five ControlState fields change from quoted to unquoted Bool types. The README updates compatibility notes, reported checks, and candidate release status.

Changes: Candidate version and compatibility

Layer / File(s) Summary
Update candidate version and compatibility notes
calcit.cirru, deps.cirru, package.json, README.md
The manifests set version 0.0.36 and Calcit dependencies to 0.34.2. ControlState uses unquoted Bool for five fields. The README updates compatibility and validation notes, including that browser and mobile acceptance was not repeated for this candidate.

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

Change: Other

Possibly related PRs

  • Triadica/touch-control#45: Sets the preceding 0.0.35 and Calcit 0.32.1 pairing that this PR updates.
  • Triadica/touch-control#44: Changes schema and function-hint declarations to quoted type forms; this PR normalizes the ControlState Bool annotations.
Merge Risk: Minimal · up to 0fb1b

No merge-blocking issue is identified in this compatibility update. Browser and mobile acceptance remain explicitly pending before formal release.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly describes the main change: pairing Touch Control with Calcit 0.34.2. It is concise and directly related to the dependency and toolchain updates.
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.
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 0 files. (4 skipped: 4 unsupported.)

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

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.
Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 18f2baf3-218c-4ba6-a1da-b7aa72c8e2f6
Commits

Reviewing files that changed from the base of the PR and between 918caf3 and 0fb1bdb.

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 2b77608 into main Nov 3, 2026
2 checks passed
@tiye
tiye deleted the migrate/touch0342-1093 branch November 3, 2026 08:21
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