[PR #3227] [MERGED] [client] Back up corrupted state files and present them in the debug bundle #21950

Open
opened 2026-08-05 05:09:09 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/3227
Author: @lixmal
Created: 1/22/2025
Status: Merged
Merged: 1/23/2025
Merged by: @lixmal

Base: mainHead: improve-state-v2


📝 Commits (3)

📊 Changes

2 files changed (+51 additions, -8 deletions)

View changed files

📝 client/internal/statemanager/manager.go (+17 -8)
📝 client/server/debug.go (+34 -0)

📄 Description

Describe your changes

Improves debugging for #2895

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

🔄 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/netbirdio/netbird/pull/3227 **Author:** [@lixmal](https://github.com/lixmal) **Created:** 1/22/2025 **Status:** ✅ Merged **Merged:** 1/23/2025 **Merged by:** [@lixmal](https://github.com/lixmal) **Base:** `main` ← **Head:** `improve-state-v2` --- ### 📝 Commits (3) - [`f18f0a2`](https://github.com/netbirdio/netbird/commit/f18f0a244188c1191a57c34ba52dead6e48877f9) Back up corrupted state files - [`b62f095`](https://github.com/netbirdio/netbird/commit/b62f095abdd11195a78b03170eb440650a266466) Fix typo - [`7468be3`](https://github.com/netbirdio/netbird/commit/7468be351e63b058d6c5f13c1ddd6c534b850642) Fix delete condition ### 📊 Changes **2 files changed** (+51 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `client/internal/statemanager/manager.go` (+17 -8) 📝 `client/server/debug.go` (+34 -0) </details> ### 📄 Description ## Describe your changes ## Issue ticket number and link Improves debugging for #2895 ### Checklist - [ ] Is it a bug fix - [ ] Is a typo/documentation fix - [x] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 05:09:09 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#21950