Add IPC backoff/retries and safer disposal

Introduce exponential backoff, jitter and retry logic across IPC components to improve robustness and avoid tight retry loops; make disposal idempotent and add connection guards. Key changes:
- LauncherCoordinatorIpcServer / LauncherIpcServer: add backoff constants, ComputeBackoff(), consecutive error tracking and delayed retries with jitter.
- LanMountainDesktopIpcClient / LauncherIpcClient: add connect retry loops, timeouts, delayed retries, improved error logging, and use ArrayPool for buffered async writes; ensure proper cleanup on failures.
- PublicIpcHostService: add disposed flag, guard OnPeerConnected and Dispose, and clear connected peers on dispose.
- Add many auto-generated commit analysis docs under docs/auto_commit_md and new scripts for analyzing/generating commit docs.
These changes aim to make IPC connection handling more resilient and resource-safe.
This commit is contained in:
lincube
2026-05-07 21:39:21 +08:00
parent 84caca02bf
commit d8f75e86be
159 changed files with 8809 additions and 31 deletions

View File

@@ -0,0 +1,38 @@
# Commit 分析报告
## 基本信息
| 属性 | 值 |
|------|-----|
| Commit Hash | `e24f010064c6de96e76033491f2a7cce15707c43` |
| 短 Hash | `e24f010` |
| 作者 | lincube <lincube3@hotmail.com> |
| 时间 | 2025-05-18 17:10:02 (+0800) |
| 父 Commit | `4b897831de0ab0989987ef23773080cea0931927` |
## 提交信息
```
feat.依旧在测试存量更新这一块看看velopack
```
## 提交类型分析
| 类型 | 说明 |
|------|------|
| 主要类型 | `feat` - 新功能 |
| 影响范围 | 增量更新、Velopack |
## 变更概览
本次提交继续测试增量更新功能,并调研 Velopack 更新框架。这是对应用自动更新机制的技术探索。
## 关联提交
- 前序提交: `4b89783` - changed.优化了更新体验
- 后续提交: `e8d2575` - feat.依旧试增量更新这一块
## 备注
- 属于更新机制技术调研
- 探索 Velopack 框架