mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 19:11:53 +07:00
[PR #6083] [MERGED] Bug-label issue sweep: 16 fixes #6076
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#6076
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/6083
Author: @MHSanaei
Created: 7/23/2026
Status: ✅ Merged
Merged: 7/23/2026
Merged by: @MHSanaei
Base:
main← Head:fix/bug-triage-sweep📝 Commits (10+)
366e3f0fix(xray): block private-range egress in default freedom finalRules (#6037)d0c6fcafix(sub): version-gate unencrypted-outbound drops in outbound subscriptions (#6033)a00257cfix(xray): resolve geodata assets before building outbound configs (#5928)3a60c0cfix(api): use a real i18n key in the client get handler (#5911)161fdfbfix(sub): carry host record Host header and path into Clash/JSON output (#5944)19f19cdfix(metrics): accept Unicode outbound tags in the observatory (#5972)03a33d2fix(database): default sqlite to WAL to stop background-job lock storms (#6057, #6068)44b68b2fix(database): strip finalmask.tcp from REALITY inbounds on upgrade (#6038)2a6312efix(xray): stop deleting hand-written direct routing rules on save (#6056)8c73c22fix(clients): resolve email lookups through client_inbounds after a move (#6059)📊 Changes
34 files changed (+1172 additions, -85 deletions)
View changed files
📝
frontend/src/lib/xray/inbound-form-adapter.ts(+8 -0)📝
frontend/src/pages/inbounds/form/useSecurityActions.ts(+2 -1)📝
frontend/src/pages/xray/outbounds/OutboundsTab.tsx(+12 -3)📝
frontend/src/test/inbound-form-adapter.test.ts(+16 -0)📝
internal/database/db.go(+193 -5)➕
internal/database/freedom_finalrules_migration_test.go(+87 -0)➕
internal/database/journal_mode_test.go(+82 -0)📝
internal/database/model/model.go(+1 -0)➕
internal/database/reality_finalmask_migration_test.go(+93 -0)📝
internal/sub/host_sub.go(+14 -0)📝
internal/sub/host_sub_test.go(+33 -0)📝
internal/web/controller/client.go(+4 -4)📝
internal/web/controller/server.go(+2 -1)📝
internal/web/controller/xray_setting.go(+6 -3)📝
internal/web/service/config.json(+1 -0)📝
internal/web/service/inbound.go(+48 -29)➕
internal/web/service/inbound_client_move_test.go(+60 -0)📝
internal/web/service/inbound_clients.go(+30 -0)➕
internal/web/service/inbound_fallback_runtime_test.go(+78 -0)📝
internal/web/service/inbound_node.go(+8 -1)...and 14 more files
📄 Description
Bug-label issue sweep: 16 fixes
Triage of all 35 open
bug-labeled issues. This branch carries the code fixes; the invalid / already-fixed / not-fixable-panel-side issues are closed separately with evidence-bearing comments (not part of this diff).Fixes (16 commits)
finalRules(+FreedomFinalRulesPrivateEgressBlockmigration) — closes an SSRF path to loopback services viaAsIsdomain resolutiongeoip:privatefinalRules don't fail with a missinggeoip.datgethandler (kills themessage "get" not foundlog spam)database is lockedstorms;Checkpoint()truncates the WAL so backups stay single-file;XUI_DB_JOURNAL_MODE=DELETEopt-outfinalmask.tcpfrom REALITY inbounds on upgrade so the core doesn't crash at bootruleTag: xui-dns-allow) and only strip tagged rules, so hand-written direct rules survive a saveclient_inboundsafter a client moves between inbounds (fixes Telegram bot link/QR)settings.fallbacksinto the node runtime payload and reconcile on it, so fallbacks replicate to nodesStartLimit*so an unreachable DB stops the unit instead of loopingxver >= 1streamSettings.sockoptthrough its schema on load so TProxy (and other sockopt fields) display for stored inboundsNotes
//comments in Go/TS, migrations/seeders ininternal/database/db.gomake gendiff clean, reused i18n keys (no new locale keys needed).Verification
gofmt,go vet,go build, fullgo test ./... -shuffle=on, and frontendlint+typecheck+test(886 tests) all pass;make gendiff clean.golangci-lintwas not available in the dev environment — CI will run it.Deliberately excluded
upstream-c-writeonly-node-token) — not duplicated here.main— dropped from this branch.Not in this diff (closed separately as won't-fix, with rationale)
#5983 (XHTTP
extrablob is intentional for xray-core clients), #6007 (WireGuard endpoint is configurable via Share Address Strategy), #5988 (subId uniqueness is a deliberate aggregation constraint).🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.