From 391e94ebed76904ad992efef3484fa4e8a9d7ec8 Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Fri, 4 Apr 2025 07:13:56 +0000 Subject: [PATCH] fix(relay): set a Firezone ID to enable feature-flags (#8657) Our feature-flags are currently coupled to our Firezone ID. Without a Firezone ID, we cannot evaluate feature flags. In order to be able to use the feature flags to enable / disable the eBPF TURN router, we see a random UUID as the Firezone ID upon startup of the relay. Not setting this causes the eBPF router to currently be instantly disabled as soon as we start up because the default of the feature flag is false and we don't reevaluate it later due to the missing ID. --- rust/relay/server/src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/rust/relay/server/src/main.rs b/rust/relay/server/src/main.rs index 18a670cc6..55eaf17e5 100644 --- a/rust/relay/server/src/main.rs +++ b/rust/relay/server/src/main.rs @@ -117,6 +117,7 @@ fn main() { VERSION.unwrap_or("unknown"), RELAY_DSN, ); + Telemetry::set_firezone_id(uuid::Uuid::new_v4().to_string()); } let runtime = tokio::runtime::Builder::new_current_thread()