Skip to content

fix(desktop): prevent bundled Memory restart service registration failure - #1

Closed
Memtensor-AI wants to merge 30 commits into
release/v1.1.2from
codex/memory-restart-v1-1-3
Closed

fix(desktop): prevent bundled Memory restart service registration failure#1
Memtensor-AI wants to merge 30 commits into
release/v1.1.2from
codex/memory-restart-v1-1-3

Conversation

@Memtensor-AI

Copy link
Copy Markdown
Owner

问题

1.1.2 签名包安装后,Desktop 离线启动仍调用 Memory installer 注册系统服务。Windows 以普通用户执行 schtasks /Create /F 时,旧任务的权限或所有权会导致拒绝访问;macOS 的 launchd KeepAlive 与重启和健康检查并发,造成旧进程重新拉起、端口竞争和 memory layer network error。

修复

  • 打包版 Desktop 安装 Memory 时跳过 OS service registration 和 installer health check。
  • Desktop 读取已安装 runtime 指针,并直接托管 bundled Memory 子进程。
  • 增加 SQLite 锁感知等待、协议兼容等待、优雅停止和旧版服务接管。
  • 保留普通 Memory CLI 的独立服务注册行为。
  • 增加实际启动 bundled runtime 的回归测试。

验证

  • Harness Full 全部必需证据通过。
  • lint、typecheck、Desktop/Memory/App Agent 测试通过。
  • memory-layer smoke 3/3 通过。

修复提交:080c4ce

hijzy and others added 30 commits September 2, 2026 14:21
fix(dsh): support old and new conversation APIs
…ding-replay-after-byok

fix(onboarding): prevent replay after switching to BYOK
…nboarding-byok-v1.1.2

fix(onboarding): backport BYOK completion persistence to v1.1.2
…us-controls-v1.1.2

fix(desktop): refine update status controls
…2-pr

fix(mac): exit fullscreen before tray hide (MEMMY-362)
fix(mac): package standalone memory runtime correctly
…me-packaging-v1.1.2

fix(windows): package standalone memory runtime offline
fix(memory): support opaque embedding aliases
fix(memory): guard summary model context
…-runtime-boundary-v1.1.2d

test(windows): track packaged runtime manifest helper
@Memtensor-AI

Copy link
Copy Markdown
Owner Author

Superseded by upstream main-repository PR MemTensor#359.

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.

3 participants