mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #5480] [MERGED] feat(xray): add tunnel health monitor #5894
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#5894
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/MHSanaei/3x-ui/pull/5480
Author: @m4tinbeigi-official
Created: 6/22/2026
Status: ✅ Merged
Merged: 6/24/2026
Merged by: @MHSanaei
Base:
main← Head:feat/tunnel-health-monitor📝 Commits (7)
61aa410feat(xray): add tunnel health monitor6a9a5abMerge branch 'main' into feat/tunnel-health-monitor87644d5Merge branch 'main' into feat/tunnel-health-monitorcd0eaefMerge branch 'main' into feat/tunnel-health-monitor98efa43Merge branch 'main' into feat/tunnel-health-monitor768ba1afix(tunnelmonitor): reuse netproxy client and init logger in testsc268b91fix(tunnelmonitor): observable recovery, signal headroom, and hardening📊 Changes
5 files changed (+773 additions, -1 deletions)
View changed files
📝
.env.example(+13 -0)📝
README.md(+7 -0)➕
internal/tunnelmonitor/monitor.go(+271 -0)➕
internal/tunnelmonitor/monitor_test.go(+454 -0)📝
main.go(+28 -1)📄 Description
Refs #3633
Summary
Configuration
The monitor is disabled by default. It can be enabled with:
Test
Notes
This is a safe MVP for tunnel recovery: it does not change Xray config, does not restart on a single transient failure, and rate-limits recovery through cooldown.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.