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 @@
# 提交分析报告
## 基本信息
| 属性 | 值 |
|------|-----|
| **提交哈希** | 2272d35c16ae1d7e77e398d8020124655e0cd553 |
| **父提交** | d054257db2dad55f4e6861b65c5fd4c2c05305b6 |
| **作者** | lincube |
| **邮箱** | lincube3@hotmail.com |
| **提交时间** | 2025-04-30 08:10:55 (+08:00) |
| **提交信息** | Revert "0.8.0.41" |
## 提交信息分析
这是一个 **Revert** 提交,回退了之前的 "0.8.0.41" 版本提交。通常这意味着:
- 0.8.0.41 版本存在问题
- 需要撤销该版本的变更
- 恢复到之前的稳定状态
## 变更概览
```bash
git show 2272d35c16ae1d7e77e398d8020124655e0cd553
```
## 提交类型
- [ ] 版本发布 (Release)
- [ ] 功能新增 (Feature)
- [x] Bug 修复 (Bug Fix)
- [ ] 文档更新 (Documentation)
- [ ] 代码重构 (Refactoring)
- [x] 回退 (Revert)
- [ ] 其他 (Other)
## 相关提交
- 被回退的提交: [d054257](file:///d:/github/LanMountainDesktop/docs/auto_commit_md/20250429_d054257.md)