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,42 @@
# 提交分析报告
## 基本信息
| 属性 | 值 |
|------|-----|
| **提交哈希** | 6849a467d6451583c1d53a10671b64921ca00939 |
| **父提交** | e69bbf8b19e6bc17d390db6e111c79be4ec10fd8 |
| **作者** | lincube |
| **邮箱** | lincube3@hotmail.com |
| **提交时间** | 2025-05-06 03:42:32 (+08:00) |
| **提交信息** | fead.快捷方式组件。fix.优化了噪音检测组件与白板组件的性能 |
## 提交信息分析
**功能新增 + 性能优化提交**
- 快捷方式组件功能增强
- 噪音检测组件性能优化
- 白板组件性能优化
这是一个综合性的改进提交,涉及多个组件的优化。
## 变更概览
```bash
git show 6849a467d6451583c1d53a10671b64921ca00939
```
## 提交类型
- [ ] 版本发布 (Release)
- [x] 功能新增 (Feature)
- [x] Bug 修复 (Bug Fix)
- [ ] 文档更新 (Documentation)
- [x] 性能优化 (Performance)
- [ ] 其他 (Other)
## 涉及组件
- 快捷方式组件 (Shortcut Component)
- 噪音检测组件 (Noise Detection Component)
- 白板组件 (Whiteboard Component)