Files
LanMountainDesktop/docs/auto_commit_md/20250519_62e7d96.md
lincube d8f75e86be 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.
2026-05-07 21:39:21 +08:00

39 lines
898 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Commit 分析报告
## 基本信息
| 属性 | 值 |
|------|-----|
| Commit Hash | `62e7d96fe73e36e8e4d52e3b7c7001b13e5e09a0` |
| 短 Hash | `62e7d96` |
| 作者 | lincube <lincube3@hotmail.com> |
| 时间 | 2025-05-19 20:55:08 (+0800) |
| 父 Commit | `c5ef418bd9e7ca8fdeefe804c1090f962fe5c855` |
## 提交信息
```
fix: compare signing keys by SPKI instead of PEM text
```
## 提交类型分析
| 类型 | 说明 |
|------|------|
| 主要类型 | `fix` - 修复问题 |
| 影响范围 | 签名密钥比较 |
## 变更概览
本次提交改进了签名密钥的比较方式,使用 SPKISubject Public Key Info而非 PEM 文本进行比较。这是更可靠的密钥比较方法。
## 关联提交
- 前序提交: `c5ef418` - fix: rotate launcher public key
- 后续提交: `fb21bcd` - refactor update backend
## 备注
- 密钥比较逻辑改进
- 使用 SPKI 标准格式