PR Feedback

This commit is contained in:
Francesco Renzi
2026-03-18 09:36:00 +00:00
committed by GitHub
parent d15ab3d8fa
commit a86ed1ec8f
3 changed files with 0 additions and 5 deletions

View File

@@ -17,11 +17,8 @@ namespace GitHub.Runner.Worker.Dap
[ServiceLocator(Default = typeof(DapDebugger))]
public interface IDapDebugger : IRunnerService
{
bool IsActive { get; }
Task StartAsync(CancellationToken cancellationToken);
Task WaitUntilReadyAsync(CancellationToken cancellationToken);
Task StopAsync();
void CancelSession();
Task OnStepStartingAsync(IStep step, IExecutionContext jobContext, CancellationToken cancellationToken);
void OnStepCompleted(IStep step);
Task OnJobCompletedAsync();

View File

@@ -550,7 +550,6 @@ namespace GitHub.Runner.Common.Tests.Worker
_stepsRunner.Initialize(hc);
var mockDapDebugger = new Mock<IDapDebugger>();
mockDapDebugger.Setup(x => x.IsActive).Returns(false);
hc.SetSingleton(mockDapDebugger.Object);
await _stepsRunner.RunAsync(_jobEc);

View File

@@ -64,7 +64,6 @@ namespace GitHub.Runner.Common.Tests.Worker
_stepsRunner.Initialize(hc);
var mockDapDebugger = new Mock<IDapDebugger>();
mockDapDebugger.Setup(x => x.IsActive).Returns(false);
hc.SetSingleton(mockDapDebugger.Object);
return hc;