[PR #5198] [management] Add management support for client network map serial on sync #25228

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

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/5198
Author: @bcmmbaga
Created: 1/27/2026
Status: 🔄 Open

Base: feat/network-map-serialHead: sync-client-netmap-serial


📝 Commits (1)

  • 72513d7 Skip network map calculation when client serial matches current

📊 Changes

11 files changed (+52 additions, -27 deletions)

View changed files

📝 management/internals/controllers/network_map/controller/controller.go (+13 -10)
📝 management/internals/controllers/network_map/interface.go (+1 -1)
📝 management/internals/controllers/network_map/interface_mock.go (+4 -4)
📝 management/internals/shared/grpc/conversion.go (+14 -0)
📝 management/internals/shared/grpc/server.go (+7 -2)
📝 management/server/account.go (+2 -2)
📝 management/server/account/manager.go (+1 -1)
📝 management/server/account_test.go (+1 -1)
📝 management/server/mock_server/account_mock.go (+3 -3)
📝 management/server/peer.go (+3 -3)
📝 management/server/types/peer.go (+3 -0)

📄 Description

Describe your changes

Stack

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)

By submitting this pull request, you confirm that you have read and agree to the terms of the Contributor License Agreement.

Documentation

Select exactly one:

  • I added/updated documentation for this change
  • Documentation is not needed for this change (explain why)

Docs PR URL (required if "docs added" is checked)

Paste the PR link from https://github.com/netbirdio/docs here:

https://github.com/netbirdio/docs/pull/__


🔄 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/5198 **Author:** [@bcmmbaga](https://github.com/bcmmbaga) **Created:** 1/27/2026 **Status:** 🔄 Open **Base:** `feat/network-map-serial` ← **Head:** `sync-client-netmap-serial` --- ### 📝 Commits (1) - [`72513d7`](https://github.com/netbirdio/netbird/commit/72513d75222c64e957541cf0dc99176e362b3d83) Skip network map calculation when client serial matches current ### 📊 Changes **11 files changed** (+52 additions, -27 deletions) <details> <summary>View changed files</summary> 📝 `management/internals/controllers/network_map/controller/controller.go` (+13 -10) 📝 `management/internals/controllers/network_map/interface.go` (+1 -1) 📝 `management/internals/controllers/network_map/interface_mock.go` (+4 -4) 📝 `management/internals/shared/grpc/conversion.go` (+14 -0) 📝 `management/internals/shared/grpc/server.go` (+7 -2) 📝 `management/server/account.go` (+2 -2) 📝 `management/server/account/manager.go` (+1 -1) 📝 `management/server/account_test.go` (+1 -1) 📝 `management/server/mock_server/account_mock.go` (+3 -3) 📝 `management/server/peer.go` (+3 -3) 📝 `management/server/types/peer.go` (+3 -0) </details> ### 📄 Description ## Describe your changes ## Issue ticket number and link ## Stack <!-- branch-stack --> ### Checklist - [ ] Is it a bug fix - [ ] Is a typo/documentation fix - [x] Is a feature enhancement - [x] It is a refactor - [ ] Created tests that fail without the change (if possible) > By submitting this pull request, you confirm that you have read and agree to the terms of the [Contributor License Agreement](https://github.com/netbirdio/netbird/blob/main/CONTRIBUTOR_LICENSE_AGREEMENT.md). ## Documentation Select exactly one: - [ ] I added/updated documentation for this change - [x] Documentation is **not needed** for this change (explain why) ### Docs PR URL (required if "docs added" is checked) Paste the PR link from https://github.com/netbirdio/docs here: https://github.com/netbirdio/docs/pull/__ --- <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 07:05:43 -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#25228