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,37 @@
# Commit 分析报告
## 基本信息
| 属性 | 值 |
|------|-----|
| Commit Hash | `8e82efcc27d3f5aebb0f4cfa1c0a730370e4e7c3` |
| 短 Hash | `8e82efc` |
| 作者 | lincube <lincube3@hotmail.com> |
| 时间 | 2025-05-28 20:13:27 (+0800) |
| 父 Commit | `0f8e51fb684d06131b5e981909f8fbfb7b830eb4` |
## 提交信息
```
commit (merge): Merge main into Avalonia12: incorporate launcher privacy agreement, OOBE updates, and data location fixes while maintaining Avalonia 12 compatibility
```
## 提交类型分析
| 类型 | 说明 |
|------|------|
| 主要类型 | `merge` - 合并 |
| 影响范围 | main -> Avalonia12 |
## 变更概览
本次合并将 main 分支合并到 Avalonia12整合了启动器隐私协议、OOBE更新和数据位置修复同时保持 Avalonia 12 兼容性。
## 关联提交
- 前序提交: `0f8e51f` - Update icon glyphs
- 后续提交: `f8073c2` - fix.修复合并产生的问题
## 备注
- 分支合并