(self, cache_dir: Path, inference_service: DistributedInferenceService)
| 157 | except Exception as e: |
| 158 | logger.exception(f"Task {task_id} processing failed: {str(e)}") |
| 159 | original_et = getattr(e, "original_error_type", "") or "" |
| 160 | task_manager.fail_task(task_id, str(e), error_type=original_et or None) |
| 161 | finally: |
| 162 | if lock_acquired: |
| 163 | task_manager.release_processing_lock(task_id) |
| 164 | |
| 165 | def initialize_services(self, cache_dir: Path, inference_service: DistributedInferenceService): |
no test coverage detected