[PR #2856] [MERGED] send endpoint and derp only updates. #2898

Closed
opened 2025-12-29 04:19:33 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/2856
Author: @kradalby
Created: 11/1/2025
Status: Merged
Merged: 11/13/2025
Merged by: @kradalby

Base: mainHead: kradalby/2846-endp-addrs


📝 Commits (7)

  • 2232d3f types: add order-independent endpoint comparison
  • dcf3219 types/change: add NodeEndpoint and NodeDERP change types
  • 7b93539 state: detect and return specific change types
  • 93909f8 mapper: handle NodeEndpoint and NodeDERP changes
  • 4e67e65 state: add test for endpoint storage and propagation
  • 4109178 mapper: add generation metrics
  • 64729bb changelog: add entry for endpoint updates

📊 Changes

8 files changed (+277 additions, -21 deletions)

View changed files

📝 CHANGELOG.md (+4 -0)
📝 hscontrol/mapper/batcher.go (+56 -2)
📝 hscontrol/mapper/batcher_test.go (+13 -2)
hscontrol/state/endpoint_test.go (+113 -0)
📝 hscontrol/state/state.go (+32 -6)
📝 hscontrol/types/change/change.go (+24 -6)
📝 hscontrol/types/change/change_string.go (+5 -3)
📝 hscontrol/types/node.go (+30 -2)

📄 Description

No description provided


🔄 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/juanfont/headscale/pull/2856 **Author:** [@kradalby](https://github.com/kradalby) **Created:** 11/1/2025 **Status:** ✅ Merged **Merged:** 11/13/2025 **Merged by:** [@kradalby](https://github.com/kradalby) **Base:** `main` ← **Head:** `kradalby/2846-endp-addrs` --- ### 📝 Commits (7) - [`2232d3f`](https://github.com/juanfont/headscale/commit/2232d3fda9250d282210d782d443b4b1406318d9) types: add order-independent endpoint comparison - [`dcf3219`](https://github.com/juanfont/headscale/commit/dcf3219bca56c1df22af8c4fbf0e99c2198c31e5) types/change: add NodeEndpoint and NodeDERP change types - [`7b93539`](https://github.com/juanfont/headscale/commit/7b93539c12e8a67bcac0f09008756adb0ba8a1ca) state: detect and return specific change types - [`93909f8`](https://github.com/juanfont/headscale/commit/93909f808ff85e821db202e447c56c760cc45f2f) mapper: handle NodeEndpoint and NodeDERP changes - [`4e67e65`](https://github.com/juanfont/headscale/commit/4e67e65bb494212c5c447c1beccf5548f69e1107) state: add test for endpoint storage and propagation - [`4109178`](https://github.com/juanfont/headscale/commit/4109178d11876ec78b474a912925c0913efbe07e) mapper: add generation metrics - [`64729bb`](https://github.com/juanfont/headscale/commit/64729bb5190311eb30c6a8ab1f90988b6c8b3319) changelog: add entry for endpoint updates ### 📊 Changes **8 files changed** (+277 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+4 -0) 📝 `hscontrol/mapper/batcher.go` (+56 -2) 📝 `hscontrol/mapper/batcher_test.go` (+13 -2) ➕ `hscontrol/state/endpoint_test.go` (+113 -0) 📝 `hscontrol/state/state.go` (+32 -6) 📝 `hscontrol/types/change/change.go` (+24 -6) 📝 `hscontrol/types/change/change_string.go` (+5 -3) 📝 `hscontrol/types/node.go` (+30 -2) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 04:19:33 +01:00
adam closed this issue 2025-12-29 04:19:33 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#2898