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 | `1e9ead8bee94d189b3e084542fa9f00582ab4a0c` |
| 短 Hash | `1e9ead8` |
| 作者 | lincube <lincube3@hotmail.com> |
| 时间 | 2025-05-13 03:05:28 (+0800) |
| 父 Commit | `5f7b3a1e7d15877547d5f0878b32f8bbdbce606b` |
## 提交信息
```
feat.SDK加入了FA的引用。
```
## 提交类型分析
| 类型 | 说明 |
|------|------|
| 主要类型 | `feat` - 新功能 |
| 影响范围 | 插件 SDK |
## 变更概览
本次提交在插件 SDK 中加入了 FAFluent Avalonia 或 Font Awesome的引用。这为插件开发者提供了更多的UI组件或图标资源选择。
## 关联提交
- 前序提交: `5f7b3a1` - removed.移除了不附带.NET 10的轻量版安装包
- 后续提交: `9c529f2` - feat.SDK更新
## 备注
- 属于SDK依赖更新
- 扩展插件开发能力