From 4b97e637f56731d0e22b88fc6a1ab10c027a03ef Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 9 Feb 2026 02:33:53 +0000 Subject: [PATCH] Address code review feedback: remove unused import and use named constants Co-authored-by: TingluoHuang <1750815+TingluoHuang@users.noreply.github.com> --- src/Test/L0/Listener/RunnerL0.cs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Test/L0/Listener/RunnerL0.cs b/src/Test/L0/Listener/RunnerL0.cs index b0b1b59e6..ed90b7d1f 100644 --- a/src/Test/L0/Listener/RunnerL0.cs +++ b/src/Test/L0/Listener/RunnerL0.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using System.IO; -using System.Runtime.InteropServices; using System.Threading; using System.Threading.Tasks; using GitHub.DistributedTask.WebApi; @@ -1111,10 +1110,13 @@ namespace GitHub.Runner.Common.Tests.Listener Directory.CreateDirectory(parentPath); File.WriteAllText(workPath, "blocking file content"); + const int testPoolId = 12345; + const int testAgentId = 67890; + var runnerConfig = new RunnerSettings { - PoolId = 12345, - AgentId = 67890 + PoolId = testPoolId, + AgentId = testAgentId }; _configurationManager.Setup(m => m.LoadSettings()).Returns(runnerConfig);