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,39 @@
# Commit 分析报告
## 基本信息
| 属性 | 值 |
|------|-----|
| Commit Hash | `0662565dca6241e36ece52fbb3708e640fb37291` |
| 短 Hash | `0662565` |
| 作者 | lincube <lincube3@hotmail.com> |
| 时间 | 2025-05-03 23:22:07 (+0800) |
| 父 Commit | `12a2f6729b5de17a78f26f87250e0265fb103b73` |
## 提交信息
```
fead.为文件管理组件添加了跨平台的支持
```
## 提交类型分析
| 类型 | 说明 |
|------|------|
| 主要类型 | `feat` (拼写为 fead) - 新功能 |
| 影响范围 | 文件管理组件跨平台支持 |
## 变更概览
本次提交为文件管理组件添加了跨平台支持能力。这是确保组件在不同操作系统Windows、Linux、macOS上正常运行的重要改进。
## 关联提交
- 前序提交: `12a2f67` - fead.文件管理组件加入
- 后续提交: `5fa2031` - fead.消息盒子组件
## 备注
- 提交类型拼写为 `fead`,实际应为 `feat`
- 属于跨平台兼容性改进
- 体现了项目对多平台支持的重视