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,35 @@
# 提交分析报告
## 基本信息
| 属性 | 值 |
|------|-----|
| **提交哈希** | 35976c3f3df0320014bf3ec6c2d32b13cd6b0213 |
| **父提交** | 88bd92e40adfafb30c495724073683f5c1781812 |
| **作者** | lincube |
| **邮箱** | lincube3@hotmail.com |
| **提交时间** | 2025-05-02 00:57:47 (+08:00) |
| **提交信息** | fead.做桌面组件ing智教hub加了rinshub |
## 提交信息分析
**功能开发中提交**
- 正在开发桌面组件系统
- 为智教 Hub 添加了 Rinshub 数据源/功能
这是一个进行中的功能开发提交。
## 变更概览
```bash
git show 35976c3f3df0320014bf3ec6c2d32b13cd6b0213
```
## 提交类型
- [ ] 版本发布 (Release)
- [x] 功能新增 (Feature)
- [ ] Bug 修复 (Bug Fix)
- [ ] 文档更新 (Documentation)
- [ ] 代码重构 (Refactoring)
- [ ] 其他 (Other)