Skip to content

fix: kernel restart recovery and per-VM switch feedback (v1.4.066) - #972

Merged
dofastted merged 23 commits into
mainfrom
isolate/crag-v2-20261104
Nov 10, 2026
Merged

dofastted merged 23 commits into
mainfrom
isolate/crag-v2-20261104

Conversation

@dofastted

@dofastted dofastted commented Nov 10, 2026 •

Copy link
Copy Markdown
Owner

修复内容

  • 内核页安装、重装和更新执行暂停调度、排空请求、停止、替换、启动、健康确认的完整重启;恢复运行状态与调度并保留主动关闭调度的设置。
  • 持久化集群内核操作意图,在控制面重启或节点重连后有界恢复中断操作;确定性错误不自动重试。
  • VM 内核切换提供持续进度、成功/失败反馈,阻止重复提交,并刷新详情、列表及仪表盘;原已停机的 VM 保持停机。
  • 保留隔离分支中尚未进入 main 的原生 Claude 路径解析修正,使 CRAG 配置和面板终端跟随槽位当前内核。
  • 同步 main v1.4.065,版本更新为 v1.4.066。不更换 pinned payload,不包含本地 routing.json、CRAG 交付目录或线上凭据。

验证

  • 同步主线后后端相关测试 120/120 通过。
  • 前端相关测试 31/31 通过;前端全量测试 78 个文件、620/620 通过。
  • 本次后端文件 Biome 格式、server 语法检查、前端改动文件 Prettier 检查及 TypeScript/Vite 生产构建通过。
  • 未做真实浏览器点击、模型请求或生产部署。

已知主线 CI 状态

main@4cc6d01b 的 CI 42907785035 已失败:前端三个既有文件的格式检查失败,后端 10/354 测试文件失败。本 PR 完整 CI 42918730836 已完成并逐项对比:无新增失败,修复 slot-claude 失败后后端剩 9/354 个测试文件失败;前端仍是同一批三个既有格式问题。ci-prep(含 pinned payload)、ci-go、ARM64 检查通过。此次不混入不相关修复,不宣称 CI 全绿。

发布

合并后从准确的主线合并提交打 v1.4.066 标签,等待 release 四个任务完成,再核验公开 Release 附件和 amd64/arm64 镜像。发布不等于部署。

Operators can update every eligible slot or one slot, and switch a single slot from the ops tab. A missing v2 package is refused and does not replace the current kernel.
# Conflicts:
#	test/unit/wrap-cli-runtime.test.mjs
#	web/src/features/vm/engine-editor.tsx
# Conflicts:
#	CHANGELOG.md
#	src/lib/admin/panel-routes.mjs
#	test/unit/distill-detect.test.mjs
#	test/unit/panel-route-coverage.test.mjs
The reminder is not the slot environment. Forwarding it made the kernel reject the tool continuation with tool_result history mismatch.
MCP server instructions and the idle reminder show up after the tool_result. They were not parked with the tool call, so the kernel rejected the continuation.
The environment often sits before previous tool turns. Looking only at the previous user left the idle reminder in the fingerprint.
Native Claude Code keeps Environment in the system prompt, and later turns add MCP instructions and the idle reminder as message blocks. The gateway was deleting those blocks to satisfy the continuation fingerprint. PR #6 already reads caller cwd, git, platform, shell, and OS from system and every message, and does not fill facts the caller omitted.
# Conflicts:
#	src/lib/oauth/claude-auth-login.mjs
#	src/lib/transport/rust-kernel-supervisor.mjs
#	src/lib/vm/slot-shell.mjs
#	src/lib/vm/wrap-cli-runtime.mjs
#	test/unit/claude-auth-login.test.mjs
#	test/unit/official-cc-bootstrap.test.mjs
#	test/unit/slot-claude.test.mjs
#	test/unit/slot-model-gate.test.mjs
@cursor

cursor Bot commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: ab661f1b-ec0f-4f9b-8cc9-6a17b871aa93)

@dofastted
dofastted merged commit c18678c into main Nov 10, 2026
8 of 10 checks passed
@dofastted

Copy link
Copy Markdown
Owner Author

发布验收完成

  • PR 已合并到 main:c18678c5e9e1a6f4796f731253effceb49a07e4d,合并树与已验证候选 0dbcb438 完全一致。
  • v1.4.066 标签指向该合并提交,Release 已公开、非预发布且为 Latest:https://github.com/dofastted/vm2api/releases/tag/v1.4.066
  • release 运行 42920006347 的 linux-amd64、image-amd64、image-arm64、manifest 四任务均成功。
  • 11 个附件完整;9 个 amd64 附件的大小及 SHA256 与 deploy/payload.json 一致;2 个 ARM64 helper 下载后核验了大小、SHA256 与 AArch64 ELF。镜像原始清单确认 linux/amd64、linux/arm64。
  • 本地后端相关 120/120、前端全量 620/620、TypeScript/Vite 构建通过。PR 完整 CI 与 v1.4.065 主线逐项比较无新增失败,既有后端失败从 10 个测试文件减为 9 个;前端仍有 3 个既有文件的格式问题。不宣称全量 CI 全绿。
  • 未做生产部署、真实模型请求或浏览器点击。原有本地配置与 CRAG 未跟踪目录保持不动。

既有发布自动化风险

新标签还自动触发了仓库现存的 oneshot-* 历史任务:oneshot-create-release-226、oneshot-upload-226-assets 已执行,其固定目标是历史 v1.3.226;仍运行的 oneshot-cut-226(42920006316)已取消,避免继续重复写旧版本说明。本次没有修改这些工作流或历史标签;历史任务不属于 v1.4.066 的发布产物,后续需单独限制这些任务的标签触发。

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