WIP: AI Validator

This commit is contained in:
2025-12-15 20:05:26 +01:00
parent 096ff5573e
commit f10dfe629e
16 changed files with 1686 additions and 9 deletions

View File

@@ -110,6 +110,19 @@ public class JobWorkerService : BackgroundService
processor.Process(layer);
}
else if (job.JobType == JobType.Validate)
{
var validator = pluginManager.GetValidator(job.PluginName);
if (validator == null)
{
throw new Exception($"Validator '{job.PluginName}' not found");
}
_logger.LogInformation("JobWorker: Executing validation for {LayerName} using {PluginName}",
job.LayerName, job.PluginName);
validator.Validate(layer);
}
// Job completed successfully
job.Status = JobStatus.Completed;