Worker thread function to process a single job. Args: job: JobInfo object to process
(self, job: JobInfo)
| 281 | return error_blocks |
| 282 | |
| 283 | def process_job_worker(self, job: JobInfo) -> None: |
| 284 | """Worker thread function to process a single job. |
| 285 | |
| 286 | Args: |
| 287 | job: JobInfo object to process |
| 288 | """ |
| 289 | # Fetch and filter logs |
| 290 | error_blocks = self.fetch_and_filter_job_logs(job) |
| 291 | |
| 292 | # Put results in queue (even if empty, to track completion) |
| 293 | for block in error_blocks: |
| 294 | self.output_queue.put(block) |
| 295 | |
| 296 | # Signal completion |
| 297 | with self.jobs_lock: |
| 298 | self.jobs_completed += 1 |
| 299 | |
| 300 | def stream_output(self, total_jobs: int) -> None: |
| 301 | """Stream output from the queue to stdout. |
nothing calls this directly
no test coverage detected