Merged in jmathison/v2-upload-batch (pull request #224)

Implement v2 upload batch cleanup

* Implement v2 upload batch cleanup

* Merge remote-tracking branch 'origin/main' into jmathison/v2-upload-batch

* Address upload batch review feedback

* Raise batch worker coverage

* Fix batch cleanup review issues


Approved-by: Jay Brown
This commit is contained in:
Jacob Mathison
2026-05-08 21:42:46 +00:00
parent 7b820b18c2
commit a080ca59d8
35 changed files with 2587 additions and 108 deletions
+2
View File
@@ -12,6 +12,7 @@ import (
"os"
doccleanrunner "queryorchestration/api/docCleanRunner"
"queryorchestration/internal/document/batch/foldercleanup"
"queryorchestration/internal/document/batch/outcome"
documentclean "queryorchestration/internal/document/clean"
"queryorchestration/internal/server/runner"
@@ -42,6 +43,7 @@ func main() {
return doccleanrunner.New(&doccleanrunner.Services{
Clean: clean,
Outcome: outcome.New(cfg.GetDBQueries()),
Cleanup: foldercleanup.New(cfg),
})
}
+2
View File
@@ -21,6 +21,7 @@ import (
"os"
docinitrunner "queryorchestration/api/docInitRunner"
"queryorchestration/internal/document/batch/foldercleanup"
"queryorchestration/internal/document/batch/outcome"
documentinit "queryorchestration/internal/document/init"
"queryorchestration/internal/server/runner"
@@ -52,6 +53,7 @@ func main() {
Document: docinit,
Queries: cfg.GetDBQueries(),
Outcome: outcome.New(cfg.GetDBQueries()),
Cleanup: foldercleanup.New(cfg),
})
}
+2
View File
@@ -17,6 +17,7 @@ import (
docsyncrunner "queryorchestration/api/docSyncRunner"
"queryorchestration/internal/client"
"queryorchestration/internal/document"
"queryorchestration/internal/document/batch/foldercleanup"
"queryorchestration/internal/document/batch/outcome"
documentsync "queryorchestration/internal/document/sync"
"queryorchestration/internal/server/runner"
@@ -50,6 +51,7 @@ func main() {
return docsyncrunner.New(&docsyncrunner.Services{
Document: docsync,
Outcome: outcome.New(cfg.GetDBQueries()),
Cleanup: foldercleanup.New(cfg),
})
}