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 | `e9ff590d79cdc85f736f63f383f0a53774585f26` |
| 短 Hash | `e9ff590` |
| 作者 | lincube <lincube3@hotmail.com> |
| 时间 | 2025-05-15 12:05:44 (+0800) |
| 父 Commit | `1aaf6cd0e97ecfeb47640df74a5e673c31a5ff52` |
## 提交信息
```
fix.可爱的我一直在修CI
```
## 提交类型分析
| 类型 | 说明 |
|------|------|
| 主要类型 | `fix` - 修复问题 |
| 影响范围 | CI/CD 流程 |
## 变更概览
本次提交修复了 CI持续集成流程中的问题。从提交信息可以看出开发者正在持续修复CI相关的配置问题。
## 关联提交
- 前序提交: `1aaf6cd` - 试试
- 后续提交: `59c4824` - fix.启动器一定要能够启动
## 备注
- 属于CI/CD修复
- 开发者个人风格的提交信息