From a4543750cdf2efc693bc818ec65490f79356d606 Mon Sep 17 00:00:00 2001 From: Jeremie Fraeys Date: Tue, 17 Feb 2026 20:43:16 -0500 Subject: [PATCH] chore: remove unused runningCount method from worker The runningCount method was orphaned after removing metrics.go. All tests pass. --- internal/worker/worker.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/internal/worker/worker.go b/internal/worker/worker.go index dd5e957..c38ac79 100644 --- a/internal/worker/worker.go +++ b/internal/worker/worker.go @@ -123,14 +123,6 @@ func (w *Worker) GetID() string { return w.id } -// runningCount returns the number of currently running tasks -func (w *Worker) runningCount() int { - if w.runLoop == nil { - return 0 - } - return w.runLoop.RunningCount() -} - // SelectDependencyManifest re-exports the executor function for API helpers. // It detects the dependency manifest file in the given directory. func SelectDependencyManifest(filesPath string) (string, error) {