Repository navigation
chore: upgrade to Calcit 0.32.1 / 升级到 Calcit 0.32.1 - #88
Merged
Merged
Conversation
The production server already runs Calcit 0.32.x, which refuses to load the snapshot with E_LEGACY_TYPE_SYNTAX, so the websocket never comes up. - Pair the CLI, deps.cirru toolchain and @calcit/procs at 0.32.1. - Move every library to its 0.32.x release (Respo 0.17.1, respo-ui 0.9.0, ws-edn 0.0.51, recollect 0.1.0-alpha.5, cumulo-reel 0.1.0-alpha.3, ...). - Run `calcit edit format` to migrate type signatures to the compact quote syntax; no behaviour change. - ws-edn 0.0.51 js-casts the socket to BrowserWebSocketHost, which needs the onopen/onmessage/onclose/onerror fields; give the fake sockets in the credentials host test those null fields like a real WebSocket. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019bPduk2UQJUue5WCjg1M3d
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.
Requested by Jon · project thread
生产 server 已经是 Calcit 0.32.x,加载快照时报
E_LEGACY_TYPE_SYNTAX,server 起不来,前端 websocket 随即断开。本 PR 把项目整体升级到 0.32.1。改动
deps.cirru工具链和@calcit/procs成对升级到 0.32.1(.yarnrc.yml预批准版本、yarn.lock、README 同步)。calcit edit format把 106 处旧类型写法迁移为 quote 精简写法,行为不变。BrowserWebSocketHost,要求有onopen/onmessage/onclose/onerror字段;凭据宿主测试里的假 socket 补上这些 null 字段(与真实 WebSocket 一致)。验证(本地 calcit 0.32.1)
calcit fix --workflow strict --verify、edit format无改动、两个入口--check-only、两组--ns公开定义检查全部通过。yarn test-boundaries通过(79 项原生测试、63 项生成 JS 测试和各宿主合同)。部署后需要在服务器上用 calcit 0.32.1 重新
caps并重启 server。Generated by Claude Code