MCPcopy Create free account
hub / github.com/FastLED/FastLED / process_job_worker

Method process_job_worker

ci/tools/gh/workflow_scanner.py:283–298  ·  view source on GitHub ↗

Worker thread function to process a single job. Args: job: JobInfo object to process

(self, job: JobInfo)

Source from the content-addressed store, hash-verified

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.

Callers

nothing calls this directly

Calls 2

putMethod · 0.45

Tested by

no test coverage detected