From 0538ebec45031e3e908fb5de6f6dc444d98049ef Mon Sep 17 00:00:00 2001 From: E M <5089238+emizzle@users.noreply.github.com> Date: Tue, 28 Apr 2026 22:15:17 +1000 Subject: [PATCH] add RUNID label to all containers to make log filtering easier --- Tests/DistTestCore/TestLifecycle.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tests/DistTestCore/TestLifecycle.cs b/Tests/DistTestCore/TestLifecycle.cs index 53d0f177..57c73529 100644 --- a/Tests/DistTestCore/TestLifecycle.cs +++ b/Tests/DistTestCore/TestLifecycle.cs @@ -99,6 +99,8 @@ namespace DistTestCore { recipe.PodLabels.Add("tests-type", TestsType); recipe.PodLabels.Add("deployid", deployId); + var runId = Environment.GetEnvironmentVariable("RUNID"); + if (!string.IsNullOrEmpty(runId)) recipe.PodLabels.Add("runid", runId); recipe.PodLabels.Add("testid", NameUtils.GetTestId()); recipe.PodLabels.Add("category", NameUtils.GetCategoryName()); recipe.PodLabels.Add("fixturename", NameUtils.GetRawFixtureName());