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 | `2f0c178df248218b4bbf88594bdb41d340301b2b` |
| 短 Hash | `2f0c178` |
| 作者 | lincube <lincube3@hotmail.com> |
| 时间 | 2025-05-14 23:26:01 (+0800) |
| 父 Commit | `03e32ee6cb2ca8c8b31d48061d7a25b12191848e` |
## 提交信息
```
激进的更新
```
## 提交类型分析
| 类型 | 说明 |
|------|------|
| 主要类型 | `feat` - 新功能(推断) |
| 影响范围 | 未知 |
## 变更概览
本次提交是一次"激进的更新",从提交信息来看,这是一次较大的变更,可能涉及多个模块的重大改动。
## 关联提交
- 前序提交: `03e32ee` - feat.网速显示组件引入了一套更好的等距
- 后续提交: `1aaf6cd` - 试试
## 备注
- 提交信息较简略
- 可能是launcher分支的重要更新