[PR #2820] [MERGED] [management] remove network map diff calculations #20568

Closed
opened 2026-08-05 05:07:25 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/2820
Author: @pascal-fischer
Created: 10/31/2024
Status: Merged
Merged: 10/31/2024
Merged by: @pascal-fischer

Base: mainHead: fix/remove-network-map-diff


📝 Commits (4)

📊 Changes

15 files changed (+82 additions, -917 deletions)

View changed files

📝 go.mod (+0 -3)
📝 go.sum (+0 -6)
management/server/differs/netip.go (+0 -82)
📝 management/server/dns_test.go (+47 -26)
📝 management/server/group_test.go (+3 -25)
📝 management/server/nameserver_test.go (+0 -30)
📝 management/server/network.go (+2 -2)
📝 management/server/peer/peer.go (+9 -9)
📝 management/server/policy.go (+3 -1)
📝 management/server/policy_test.go (+12 -50)
📝 management/server/posture_checks_test.go (+3 -62)
📝 management/server/route_test.go (+0 -20)
📝 management/server/telemetry/updatechannel_metrics.go (+0 -12)
📝 management/server/updatechannel.go (+3 -107)
📝 management/server/updatechannel_test.go (+0 -482)

📄 Description

Describe your changes

This removes the check if a network map is different from the last send map or not as we will move to an event driven network map calculation.

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/2820 **Author:** [@pascal-fischer](https://github.com/pascal-fischer) **Created:** 10/31/2024 **Status:** ✅ Merged **Merged:** 10/31/2024 **Merged by:** [@pascal-fischer](https://github.com/pascal-fischer) **Base:** `main` ← **Head:** `fix/remove-network-map-diff` --- ### 📝 Commits (4) - [`3153cbb`](https://github.com/netbirdio/netbird/commit/3153cbbac463e6d301b602ea5a972ac2d5cdde4c) remove diff logic - [`d734b18`](https://github.com/netbirdio/netbird/commit/d734b183729743a6297bb49f54fd273a19cd842f) fix tests - [`3324651`](https://github.com/netbirdio/netbird/commit/33246519551589db514a33d4b5af65001f220966) go mod tidy - [`fabea33`](https://github.com/netbirdio/netbird/commit/fabea33931bcaf0d72ea33b77e99afca4fd62bee) remove trailing quotes ### 📊 Changes **15 files changed** (+82 additions, -917 deletions) <details> <summary>View changed files</summary> 📝 `go.mod` (+0 -3) 📝 `go.sum` (+0 -6) ➖ `management/server/differs/netip.go` (+0 -82) 📝 `management/server/dns_test.go` (+47 -26) 📝 `management/server/group_test.go` (+3 -25) 📝 `management/server/nameserver_test.go` (+0 -30) 📝 `management/server/network.go` (+2 -2) 📝 `management/server/peer/peer.go` (+9 -9) 📝 `management/server/policy.go` (+3 -1) 📝 `management/server/policy_test.go` (+12 -50) 📝 `management/server/posture_checks_test.go` (+3 -62) 📝 `management/server/route_test.go` (+0 -20) 📝 `management/server/telemetry/updatechannel_metrics.go` (+0 -12) 📝 `management/server/updatechannel.go` (+3 -107) 📝 `management/server/updatechannel_test.go` (+0 -482) </details> ### 📄 Description ## Describe your changes This removes the check if a network map is different from the last send map or not as we will move to an event driven network map calculation. ## Issue ticket number and link ### 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 --- <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:07:25 -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#20568