mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #6684] [CLOSED] Test per-Host fan-out for WireGuard and AmneziaWG share links #6408
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#6408
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/6684
Author: @freeb5d
Created: 9/29/2026
Status: ❌ Closed
Base:
main← Head:fix/wireguard-hosts-links📝 Commits (3)
5cec650Honour Hosts in WireGuard and AmneziaWG share links989feecTest AmneziaWG per-Host link fan-out2a6ae5fMerge 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 (
advertisedEndpointsininternal/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.TestGenWireguardLinkHonoursExternalProxyTestGenAmneziaWGLinkHonoursExternalProxyNot 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.