Description
The jobService needs to be refactored to improve maintainability and testability. The current structure makes it difficult to write reliable unit tests and isolate dependencies. This issue aims to review the existing implementation and create a plan for incremental refactoring.
Motivation
- The current jobService is tightly coupled, making it hard to test in isolation.
- Lack of clear separation of concerns increases technical debt and complexity.
- Refactoring will allow us to introduce better dependency management, making the service more modular and easier to extend.
- Doing this incrementally ensures that changes can be released without waiting for a full rewrite.
Implementation details
- Review the current implementation and document problem areas.
- Define a plan and create issues to tackle in small, incremental PRs.
Description
The jobService needs to be refactored to improve maintainability and testability. The current structure makes it difficult to write reliable unit tests and isolate dependencies. This issue aims to review the existing implementation and create a plan for incremental refactoring.
Motivation
Implementation details