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 | `d62226ffa03cdf3e751f166792f8f59359ab8f9e` |
| 短 Hash | `d62226f` |
| 作者 | lincube <lincube3@hotmail.com> |
| 时间 | 2025-05-10 05:15:13 (+0800) |
| 父 Commit | `91ab52ce8b75e0a9721beb7d245da52ec9ac9278` |
## 提交信息
```
fix. 试验性的修复了轻量版的Dotnet问题
```
## 提交类型分析
| 类型 | 说明 |
|------|------|
| 主要类型 | `fix` - 修复问题 |
| 影响范围 | 轻量版 .NET 问题 |
## 变更概览
本次提交试验性地修复了轻量版安装包的 .NET 相关问题。这是对无 .NET 10 依赖版本的兼容性修复。
## 关联提交
- 前序提交: `91ab52c` - change.插件sdk更新
- 后续提交: `692ca3d` - Update CHANGELOG.md
## 备注
- 属于实验性修复
- 针对轻量版特定问题