[PR #6684] [CLOSED] Test per-Host fan-out for WireGuard and AmneziaWG share links #6408

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

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/6684
Author: @freeb5d
Created: 9/29/2026
Status: ❌ Closed

Base: main ← Head: fix/wireguard-hosts-links


📝 Commits (3)

  • 5cec650 Honour Hosts in WireGuard and AmneziaWG share links
  • 989feec Test AmneziaWG per-Host link fan-out
  • 2a6ae5f Merge upstream main into fix/wireguard-hosts-links

📊 Changes

2 files changed (+49 additions, -0 deletions)

View changed files

📝 internal/sub/service_amneziawg_test.go (+25 -0)
📝 internal/sub/service_wireguard_test.go (+24 -0)

📄 Description

Refs #6681

Upstream main now contains the fix (advertisedEndpoints in internal/sub), so I merged main and dropped my implementation. This PR is reduced to two regression tests that pin the behaviour reported in #6681: one raw link per Host for WireGuard and for AmneziaWG.

  • TestGenWireguardLinkHonoursExternalProxy
  • TestGenAmneziaWGLinkHonoursExternalProxy

Not run: no C compiler in my environment. Please rely on CI. Feel free to close this if the tests are redundant with existing coverage.


🔄 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/6684 **Author:** [@freeb5d](https://github.com/freeb5d) **Created:** 9/29/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/wireguard-hosts-links` --- ### 📝 Commits (3) - [`5cec650`](https://github.com/MHSanaei/3x-ui/commit/5cec650c61b701c185cc6825cce1904ca3f5db88) Honour Hosts in WireGuard and AmneziaWG share links - [`989feec`](https://github.com/MHSanaei/3x-ui/commit/989feec1da3489e40d141b9a7b7ca87cc8a0589a) Test AmneziaWG per-Host link fan-out - [`2a6ae5f`](https://github.com/MHSanaei/3x-ui/commit/2a6ae5f88843b2f2a9b62594fc5a0b982c6a8830) Merge upstream main into fix/wireguard-hosts-links ### 📊 Changes **2 files changed** (+49 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `internal/sub/service_amneziawg_test.go` (+25 -0) 📝 `internal/sub/service_wireguard_test.go` (+24 -0) </details> ### 📄 Description Refs #6681 Upstream main now contains the fix (`advertisedEndpoints` in `internal/sub`), so I merged main and dropped my implementation. This PR is reduced to two regression tests that pin the behaviour reported in #6681: one raw link per Host for WireGuard and for AmneziaWG. - `TestGenWireguardLinkHonoursExternalProxy` - `TestGenAmneziaWGLinkHonoursExternalProxy` Not run: no C compiler in my environment. Please rely on CI. Feel free to close this if the tests are redundant with existing coverage. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 04:08:32 +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#6408
No description provided.