mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-20 23:54:26 +08:00
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:
38
docs/auto_commit_md/20250519_858612f.md
Normal file
38
docs/auto_commit_md/20250519_858612f.md
Normal file
@@ -0,0 +1,38 @@
|
||||
# Commit 分析报告
|
||||
|
||||
## 基本信息
|
||||
|
||||
| 属性 | 值 |
|
||||
|------|-----|
|
||||
| Commit Hash | `858612fa8e44034edf22cd689bcb282df7bd1bfe` |
|
||||
| 短 Hash | `858612f` |
|
||||
| 作者 | lincube <lincube3@hotmail.com> |
|
||||
| 时间 | 2025-05-19 19:35:56 (+0800) |
|
||||
| 父 Commit | `f6a6f97e0b34149d4f442bcbb497aeb77285b6a7` |
|
||||
|
||||
## 提交信息
|
||||
|
||||
```
|
||||
fix: make optional s3 upload step workflow-parse safe
|
||||
```
|
||||
|
||||
## 提交类型分析
|
||||
|
||||
| 类型 | 说明 |
|
||||
|------|------|
|
||||
| 主要类型 | `fix` - 修复问题 |
|
||||
| 影响范围 | S3 上传步骤 |
|
||||
|
||||
## 变更概览
|
||||
|
||||
本次提交修复了 S3 上传步骤的工作流解析安全问题,使可选的 S3 上传步骤在工作流解析时更加安全。
|
||||
|
||||
## 关联提交
|
||||
|
||||
- 前序提交: `f6a6f97` - chore: migrate release pipeline
|
||||
- 后续提交: `833c693` - fix: make delta pack generation robust
|
||||
|
||||
## 备注
|
||||
|
||||
- 属于CI/CD安全修复
|
||||
- 工作流解析优化
|
||||
Reference in New Issue
Block a user