feat: worker plugin system — domain ports, pipeline executor, built-in plugins

- PluginExecutor + PluginRegistry ports in domain
- ExecutePipelineCommand orchestrates job→pipeline→plugin steps
- ProcessNextJobCommand polls + executes next queued job
- InMemoryPluginRegistry, NoOp/MetadataExtractor/SidecarSync plugins
- Worker main rewritten with poll loop, factories module for DI
- Deleted template job/runner/jobs remnants
This commit is contained in:
2026-05-31 11:35:05 +02:00
parent 6c88ac344c
commit dacfc3d453
22 changed files with 587 additions and 90 deletions

View File

@@ -8,10 +8,11 @@ name = "k_photos-worker"
path = "src/main.rs"
[dependencies]
domain = { workspace = true }
domain = { workspace = true }
application = { workspace = true }
adapters-postgres = { path = "../adapters/postgres" }
adapters-storage = { workspace = true }
tokio = { workspace = true }
anyhow = { workspace = true }