Skip to content

支持 Firecracker 开发环境与单盘持久化 - #1587

Merged
yokowu merged 1 commit into
mainfrom
feat-firecracker-environments
Dec 1, 2026
Merged

yokowu merged 1 commit into
mainfrom
feat-firecracker-environments

Conversation

@yokowu

@yokowu yokowu commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

为 Engine 增加 Firecracker 驱动,保留 gVisor。配套安装器:MonkeyCodePro #229。

  • 单盘持久化、按宿主配置容量、存储保护与计费;环境保护迁移为 000065_environment_protection。曾执行旧测试版迁移的数据库须先核对迁移历史。
  • 支持 nodev 数据盘;独立设备挂载、按模板并发去重、避免缓存命中重复拉层和首次发布重复扫描。
  • guest 就绪与 runtime 版本检测分离,首次下载使用独立超时;VM 内 runtime 使用 root,宿主 jailer 仍降权;登录失败透传已知原因和退出码,不输出令牌。

验证:Engine 全量测试、相关竞态测试和 Linux 双架构编译通过。AMD64 测试宿主 v26120105 使用未预装 runtime 的新镜像完成首次启动、设备授权和 runtime 服务启动,后台确认 running。首次冷建耗时约 5 分钟,其中模板准备约 4 分 19 秒。此前 AMD64 已验证两次冷启动的数据保留及网络中断恢复;不将 ARM64 容器冒烟计为 KVM 首装验收。

@yokowu
yokowu force-pushed the feat-firecracker-environments branch 2 times, most recently from 280b86a to 3ef7fea Compare November 30, 2026 03:30
@yokowu
yokowu force-pushed the feat-firecracker-environments branch from 32d1999 to 75b9021 Compare December 1, 2026 11:46
@yokowu
yokowu merged commit 390b2fc into main Dec 1, 2026
2 checks passed
@yokowu
yokowu deleted the feat-firecracker-environments branch December 1, 2026 11:52
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