Prune weed/worker/types (#8988)

* chore(weed/worker/types): prune unused BaseWorker type

* chore(weed/worker/types): prune unused UnifiedBaseTask type
This commit is contained in:
Lars Lehtonen
2026-04-08 12:43:18 -07:00
committed by GitHub
parent 45ee2ab4b9
commit ab8c982cec
2 changed files with 0 additions and 20 deletions
-11
View File
@@ -118,14 +118,3 @@ type LoggerConfig struct {
type LoggerFactory interface {
CreateLogger(ctx context.Context, config LoggerConfig) (Logger, error)
}
// BaseTask provides common task functionality
type UnifiedBaseTask struct {
id string
taskType TaskType
progressCallback func(float64, string)
logger Logger
cancelled bool
currentStage string
workingDir string
}
-9
View File
@@ -21,12 +21,3 @@ type Worker interface {
// Configuration
Configure(config WorkerCreationConfig) error
}
// BaseWorker provides common worker functionality
type BaseWorker struct {
id string
capabilities []TaskType
maxConcurrent int
currentTasks map[string]Task
logger Logger
}