[PR #317] [CLOSED] Pass caller context by metadata to daemon #12468

Closed
opened 2026-08-05 02:05:58 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/317
Author: @shatoboar
Created: 5/20/2022
Status: Closed

Base: mainHead: client_caller_type


📝 Commits (5)

  • 252f92c pass caller context by metadata to daemon
  • c349fc8 fix(system.GetInfo) check if context is nil
  • 4a49953 fix(system.GetInfo) changed all nil contexts to context.TODO()
  • f4ce8c9 Add user-agent to cmd and UI when calling daemon
  • 24f786d Rename command line UA to cli

📊 Changes

17 files changed (+241 additions, -165 deletions)

View changed files

📝 client/cmd/login.go (+8 -3)
📝 client/cmd/root.go (+3 -1)
📝 client/internal/connect.go (+2 -1)
📝 client/internal/engine_test.go (+1 -0)
📝 client/internal/login.go (+8 -8)
📝 client/server/server.go (+32 -6)
📝 client/system/info.go (+10 -0)
📝 client/system/info_linux.go (+1 -0)
📝 client/system/info_test.go (+2 -1)
📝 client/ui/client_ui.go (+6 -5)
📝 management/client/client.go (+1 -1)
📝 management/client/client_test.go (+6 -5)
📝 management/client/grpc.go (+19 -7)
📝 management/client/mock.go (+3 -3)
📝 management/proto/management.pb.go (+131 -121)
📝 management/proto/management.proto (+2 -1)
📝 management/proto/management_grpc.pb.go (+6 -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/netbirdio/netbird/pull/317 **Author:** [@shatoboar](https://github.com/shatoboar) **Created:** 5/20/2022 **Status:** ❌ Closed **Base:** `main` ← **Head:** `client_caller_type` --- ### 📝 Commits (5) - [`252f92c`](https://github.com/netbirdio/netbird/commit/252f92c02995f936d6aee7cc3438d1defbaf6613) pass caller context by metadata to daemon - [`c349fc8`](https://github.com/netbirdio/netbird/commit/c349fc8a4ef5673d0cf0154ec06f5a05facb59ec) fix(system.GetInfo) check if context is nil - [`4a49953`](https://github.com/netbirdio/netbird/commit/4a499530eea41770cb791817ea7a614310cbf81f) fix(system.GetInfo) changed all nil contexts to context.TODO() - [`f4ce8c9`](https://github.com/netbirdio/netbird/commit/f4ce8c9c4e375af715206e72b444fd70c2174913) Add user-agent to cmd and UI when calling daemon - [`24f786d`](https://github.com/netbirdio/netbird/commit/24f786d5da2a04d4a8cf17fbc863353221efd62b) Rename command line UA to cli ### 📊 Changes **17 files changed** (+241 additions, -165 deletions) <details> <summary>View changed files</summary> 📝 `client/cmd/login.go` (+8 -3) 📝 `client/cmd/root.go` (+3 -1) 📝 `client/internal/connect.go` (+2 -1) 📝 `client/internal/engine_test.go` (+1 -0) 📝 `client/internal/login.go` (+8 -8) 📝 `client/server/server.go` (+32 -6) 📝 `client/system/info.go` (+10 -0) 📝 `client/system/info_linux.go` (+1 -0) 📝 `client/system/info_test.go` (+2 -1) 📝 `client/ui/client_ui.go` (+6 -5) 📝 `management/client/client.go` (+1 -1) 📝 `management/client/client_test.go` (+6 -5) 📝 `management/client/grpc.go` (+19 -7) 📝 `management/client/mock.go` (+3 -3) 📝 `management/proto/management.pb.go` (+131 -121) 📝 `management/proto/management.proto` (+2 -1) 📝 `management/proto/management_grpc.pb.go` (+6 -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>
saavagebueno added the pull-request label 2026-08-05 02:05:58 -04:00
saavagebueno changed title from [PR #317] [CLOSED] Pass caller context by metadata to daemon to [PR #317] Pass caller context by metadata to daemon 2026-08-05 02:08:22 -04:00
saavagebueno changed title from [PR #317] Pass caller context by metadata to daemon to [PR #317] [CLOSED] Pass caller context by metadata to daemon 2026-08-05 03:06:07 -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#12468