[PR #6358] [MERGED] fix(outbound): test VLESS vnext endpoints #6231

Closed
opened 2026-11-02 04:07:17 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/6358
Author: @sanmaxdev
Created: 8/29/2026
Status: ✅ Merged
Merged: 9/2/2026
Merged by: @MHSanaei

Base: main ← Head: fix/vless-vnext-tcp-probe


📝 Commits (1)

  • edda9e6 fix(outbound): test VLESS vnext endpoints

📊 Changes

2 files changed (+64 additions, -1 deletions)

View changed files

📝 internal/web/service/outbound/outbound.go (+10 -1)
➕ internal/web/service/outbound/outbound_endpoints_test.go (+54 -0)

📄 Description

Summary

  • Read VLESS TCP probe endpoints from the vnext form.
  • Keep the existing flat address and port form as a fallback.
  • Add regression coverage for both forms and invalid vnext entries.

Why

VLESS outbounds stored in the vnext form currently produce no TCP probe endpoints even though the panel accepts that form.

Closes #6312

Type of change

  • Bug fix
  • New feature
  • Refactoring (no behavior change)
  • Documentation
  • Tests only
  • Build / CI / tooling
  • Other

Areas affected

  • Frontend (UI / panel pages)
  • Backend (API endpoints, login, settings)
  • Xray config generation
  • Subscription (share links / Clash / JSON)
  • Statistics / traffic counters
  • Database / migrations
  • Install / upgrade script
  • Docker image
  • Multi-node (sub-nodes)

How was this tested?

  • go test ./internal/web/service/outbound -run '^TestExtractOutboundEndpointsVLESS$' -count=1
  • make gen-check lint format-check typecheck msw-worker-check test-go build build-storybook
  • npm test -- --maxWorkers=1 --fileParallelism=false

Breaking changes

None.

Checklist

  • I tested the change locally and confirmed the described behavior.
  • I added or updated tests for the new behavior.
  • go build ./... and the test suite pass locally.
  • My commits follow the project's existing message style.
  • I have no unrelated changes mixed into this PR.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/MHSanaei/3x-ui/pull/6358 **Author:** [@sanmaxdev](https://github.com/sanmaxdev) **Created:** 8/29/2026 **Status:** ✅ Merged **Merged:** 9/2/2026 **Merged by:** [@MHSanaei](https://github.com/MHSanaei) **Base:** `main` ← **Head:** `fix/vless-vnext-tcp-probe` --- ### 📝 Commits (1) - [`edda9e6`](https://github.com/MHSanaei/3x-ui/commit/edda9e6162870e829e51bc34c4fc4fe23f6bf4f3) fix(outbound): test VLESS vnext endpoints ### 📊 Changes **2 files changed** (+64 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `internal/web/service/outbound/outbound.go` (+10 -1) ➕ `internal/web/service/outbound/outbound_endpoints_test.go` (+54 -0) </details> ### 📄 Description ## Summary - Read VLESS TCP probe endpoints from the `vnext` form. - Keep the existing flat `address` and `port` form as a fallback. - Add regression coverage for both forms and invalid `vnext` entries. ## Why VLESS outbounds stored in the `vnext` form currently produce no TCP probe endpoints even though the panel accepts that form. Closes #6312 ## Type of change - [x] Bug fix - [ ] New feature - [ ] Refactoring (no behavior change) - [ ] Documentation - [ ] Tests only - [ ] Build / CI / tooling - [ ] Other ## Areas affected - [ ] Frontend (UI / panel pages) - [x] Backend (API endpoints, login, settings) - [ ] Xray config generation - [ ] Subscription (share links / Clash / JSON) - [ ] Statistics / traffic counters - [ ] Database / migrations - [ ] Install / upgrade script - [ ] Docker image - [ ] Multi-node (sub-nodes) ## How was this tested? - `go test ./internal/web/service/outbound -run '^TestExtractOutboundEndpointsVLESS$' -count=1` - `make gen-check lint format-check typecheck msw-worker-check test-go build build-storybook` - `npm test -- --maxWorkers=1 --fileParallelism=false` ## Breaking changes None. ## Checklist - [x] I tested the change locally and confirmed the described behavior. - [x] I added or updated tests for the new behavior. - [x] `go build ./...` and the test suite pass locally. - [x] My commits follow the project's existing message style. - [x] I have no unrelated changes mixed into this PR. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 04:07:17 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#6231
No description provided.