mirror of
https://github.com/amnezia-vpn/amnezia-box.git
synced 2026-10-13 21:33:02 +00:00
[PR #3] [MERGED] fix: harden AWG and prepare the fork for releases #2
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
amnezia-vpn/amnezia-box#2
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/amnezia-vpn/amnezia-box/pull/3
Author: @vkamn
Created: 8/24/2026
Status: ✅ Merged
Merged: 9/10/2026
Merged by: @FrogRocky
Base:
frog/awg-go-v0.2.19← Head:fix/awg-reconnection📝 Commits (10+)
fd56d07fix: fixed awg reconnectiond97ef8cfeat: add awg3.1 support9a5b9ddci: bootstrap Amnezia fork checks and workflow guards8b2741cMerge Amnezia CI bootstrap into AWG integration8278c7ffix: make AWG reconnection and shutdown reliable1310630ci: group AWG test names before binding in jq6244d78test: align integration module with the current fork605e640build: add Amnezia CLI and mobile entry pointsf8a179dci: verify supported builds and independent consumers0d3ccd8release: gate immutable source tags on exact CI evidence📊 Changes
41 files changed (+3558 additions, -253 deletions)
View changed files
➕
.github/workflows/amnezia-ci.yml(+275 -0)➕
.github/workflows/amnezia-release.yml(+180 -0)📝
.github/workflows/build.yml(+6 -5)📝
.github/workflows/docker.yml(+2 -0)📝
.github/workflows/lint.yml(+1 -0)📝
.github/workflows/linux.yml(+3 -0)📝
.github/workflows/stale.yml(+1 -0)➕
Makefile.amnezia(+52 -0)📝
README.md(+17 -1)📝
cmd/internal/build_libbox/main.go(+170 -54)➕
cmd/internal/build_libbox/main_integration_test.go(+232 -0)➕
cmd/internal/build_libbox/main_test.go(+90 -0)➕
cmd/internal/read_amnezia_version/main.go(+75 -0)➕
cmd/internal/read_amnezia_version/main_integration_test.go(+139 -0)➕
cmd/internal/read_amnezia_version/main_test.go(+33 -0)➕
docs/amnezia/build.md(+112 -0)➕
docs/amnezia/consumer.md(+91 -0)➕
docs/amnezia/maintenance.md(+85 -0)➕
docs/amnezia/release.md(+192 -0)📝
go.mod(+2 -2)...and 21 more files
📄 Description
AWG could retain a closed bind after reconnection or leave resources open during early/failed startup and shutdown. This change closes the owned socket/TUN/core resources consistently and updates AWG to
v3.1.20260828, including its under-load cookie behavior.It also makes this fork usable from the
dev/masterrelease lines while preserving the sing-box v1.12.12 baseline and upstream merge history:Makefile.amneziawith checkout-local version detection, AWG CLI/mobile profiles, and explicit mobile output without implicit sibling-client writes.github.com/sagernet/sing-boxas the module path.Validation: local AWG race tests and real-core configuration/handshake cases pass; all three CLI targets include the expected AWG dependency. Android packaging produced all four ABIs, and Apple packaging produced iOS/tvOS arm64 and macOS arm64/x86_64. Clean remote-replace and submodule consumers build and validate AWG configuration. Final hosted checks must pass before merging this PR and each subsequent PR in the stack.
No newer sing-box release or
dev-nextcommits are included. Application-level Android/iOS acceptance remains a consumer release check.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.