Refactor AI pipeline handling to support daily runs
continuous-integration/drone/push Build is passing

- Renamed and refactored the AI pipeline auto run functionality to a daily run, enhancing clarity and purpose.
- Introduced a new `AIPipelineDailyWorker` to manage the daily execution of the AI pipeline, replacing the previous auto run implementation.
- Updated configuration fields and logging messages to reflect the change from auto to daily run, ensuring consistent terminology throughout the codebase.
- Removed the obsolete `ai_pipeline_auto.go` file to streamline the worker structure.

This update improves the maintainability and readability of the AI pipeline management by clearly distinguishing between auto and daily run functionalities.
This commit is contained in:
Mazyar
2026-07-07 12:17:03 +03:30
parent 89faa08b1c
commit 1ad0206e61
5 changed files with 92 additions and 88 deletions
+2 -2
View File
@@ -18,8 +18,8 @@ const (
dailyJobRunsCollection = "daily_job_runs"
DailyJobStatusCompleted = "completed"
TEDScraperJobName = "ted_scraper"
AIPipelineAutoJobName = "ai_pipeline_auto"
TEDScraperJobName = "ted_scraper"
AIPipelineDailyJobName = "ai_pipeline_daily"
)
type dailyJobRun struct {