[PR #4205] [MERGED] fix(xray): clear outbound test state on delete to prevent result bleed #5624

Closed
opened 2026-10-31 20:48:14 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/4205
Author: @iAliF
Created: 5/10/2026
Status: ✅ Merged
Merged: 5/10/2026
Merged by: @MHSanaei

Base: main ← Head: fix/outbound-ping-result-bleed


📝 Commits (1)

  • 9c70c34 fix(xray): clear outbound test state on delete to prevent result bleed

📊 Changes

2 files changed (+12 additions, -2 deletions)

View changed files

📝 frontend/src/pages/xray/OutboundsTab.vue (+2 -2)
📝 frontend/src/pages/xray/XrayPage.vue (+10 -0)

📄 Description

What is the pull request?

Ping results were stored by array index, so deleting an outbound left a stale result that immediately appeared on the next one. Fix moves delete handling to XrayPage so outboundTestStates is shifted alongside the array.

Which part of the application is affected by the change?

  • Frontend
  • Backend

Type of Changes

  • Bug fix
  • New feature
  • Refactoring
  • Other

🔄 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/4205 **Author:** [@iAliF](https://github.com/iAliF) **Created:** 5/10/2026 **Status:** ✅ Merged **Merged:** 5/10/2026 **Merged by:** [@MHSanaei](https://github.com/MHSanaei) **Base:** `main` ← **Head:** `fix/outbound-ping-result-bleed` --- ### 📝 Commits (1) - [`9c70c34`](https://github.com/MHSanaei/3x-ui/commit/9c70c34cda618683c5145f44b4468f32aa2285f5) fix(xray): clear outbound test state on delete to prevent result bleed ### 📊 Changes **2 files changed** (+12 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/pages/xray/OutboundsTab.vue` (+2 -2) 📝 `frontend/src/pages/xray/XrayPage.vue` (+10 -0) </details> ### 📄 Description ## What is the pull request? Ping results were stored by array index, so deleting an outbound left a stale result that immediately appeared on the next one. Fix moves delete handling to XrayPage so outboundTestStates is shifted alongside the array. ## Which part of the application is affected by the change? - [X] Frontend - [ ] Backend ## Type of Changes - [X] Bug fix - [ ] New feature - [ ] Refactoring - [ ] Other --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 20:48:14 +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#5624
No description provided.