3x-ui/frontend/src
MHSanaei 797b08cd07
fix(balancers): create burst observer for random/roundRobin with fallbackTag
xray-core's Random/RoundRobinStrategy calls RequireFeatures(Observatory) whenever a fallbackTag is set, so a balancer that declares a fallback but has no observatory aborts startup with 'core: not all dependencies are resolved'. syncObservatories never created an observer for these strategies, crashing the core on any load balancer that used a fallback (the default 'random' strategy with a fallbackTag, exactly issue #5605).

Treat random/roundRobin balancers that set a fallbackTag as requiring the burst observer. Also make the burst observer strictly requirement-driven (mirroring the leastPing/observatory path) so clearing the last fallbackTag drops it again instead of leaving a dead observer that forces needless restarts and probing.

Closes #5605
2026-06-27 11:46:19 +02:00
..
api feat(nodes): add Dev channel option to node panel updates 2026-06-25 00:29:03 +02:00
components feat(memory): add memory threshold alerts (#5366) 2026-06-21 17:45:33 +02:00
entries Migrate frontend models/api/utils to TypeScript and modernize AntD theming (#4563) 2026-05-25 14:34:53 +02:00
generated feat(reality): add live REALITY target scanner with IP/CIDR discovery 2026-06-26 22:18:47 +02:00
hooks fix(hosts): show proper page title instead of falling back to 3X-UI 2026-06-25 23:43:14 +02:00
i18n refactor: focused service files, leaf subpackages, and an internal/ layout (#5167) 2026-06-10 15:19:22 +02:00
layouts feat(sidebar): add documentation link button 2026-06-26 18:55:32 +02:00
lib feat(panel): surface dev-build version in UI, bot, and CLI 2026-06-25 02:36:41 +02:00
models feat(reality): add live REALITY target scanner with IP/CIDR discovery 2026-06-26 22:18:47 +02:00
pages fix(balancers): create burst observer for random/roundRobin with fallbackTag 2026-06-27 11:46:19 +02:00
schemas feat(clients): add bulk enable/disable and move selection actions into More menu 2026-06-25 19:21:42 +02:00
styles feat(hosts): managed Hosts for per-host subscription link overrides (#5409) 2026-06-17 12:06:55 +02:00
test fix(balancers): create burst observer for random/roundRobin with fallbackTag 2026-06-27 11:46:19 +02:00
utils fix(clients): use new email after rename and de-duplicate save toast 2026-06-24 17:10:17 +02:00
env.d.ts feat(postgres): in-panel backup/restore and consistent CLI backend 2026-05-31 17:53:34 +02:00
main.tsx Migrate frontend models/api/utils to TypeScript and modernize AntD theming (#4563) 2026-05-25 14:34:53 +02:00
queryClient.ts feat(frontend): TanStack Query + React Router migration & in-panel API docs (#4541) 2026-05-24 21:34:52 +02:00
routes.tsx feat(sidebar): move Routing/Outbounds to top-level items with clean URLs 2026-06-22 22:20:26 +02:00