Skip to content

fix: 隧道稳定性——假死强制重连/重试预算重置/stderr 实时读取 - #1

Merged
modusensus merged 1 commit into
mainfrom
fix/ponte-stability
Aug 24, 2026
Merged

fix: 隧道稳定性——假死强制重连/重试预算重置/stderr 实时读取#1
modusensus merged 1 commit into
mainfrom
fix/ponte-stability

Conversation

@modusensus

Copy link
Copy Markdown
Owner
  • daemon: 连续 3 次健康检查失败且 SSH 进程仍存活(假死)时强制 stop() 触发重连,不再留隧道永久断线
  • retry: 会话稳定运行 >= stable_after(60s) 后重置重试预算,长跑隧道不因前期抖动永久放弃
  • health: 检查失败指数退避(60s→…→300s 封顶),避免高频新开 SSH 触发服务器 MaxStartups
  • core: stderr 独立线程实时读取并记录断线原因,不再等进程退出才可见;新增 last_session_duration 供 retry 层判定稳定会话
  • 版本 bump 0.2.0 → 0.2.1,109 测试全绿

- daemon: 连续 3 次健康检查失败且 SSH 进程仍存活(假死)时强制 stop() 触发重连,不再留隧道永久断线
- retry: 会话稳定运行 >= stable_after(60s) 后重置重试预算,长跑隧道不因前期抖动永久放弃
- health: 检查失败指数退避(60s→…→300s 封顶),避免高频新开 SSH 触发服务器 MaxStartups
- core: stderr 独立线程实时读取并记录断线原因,不再等进程退出才可见;新增 last_session_duration 供 retry 层判定稳定会话
- 版本 bump 0.2.0 → 0.2.1,109 测试全绿
@codecov-commenter

Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment

Thanks for integrating Codecov - We've got you covered ☂️

@modusensus
modusensus merged commit 8d584f6 into main Aug 24, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants