Wires the JobProcessor to its collaborators.
Injected dependencies for spawning, polling, notifying, and tracker access.
Stops the poller and spawns a child process for an import job.
The IImportJob to execute.
The IImportJobResult with exit code and duration.
Records a job result and finalizes the batch if all jobs are done.
The completed IImportJob.
The result from processJob (or an Error if it threw).
Procedure indicating the job was recorded, or failure if the batch is unknown.
Owns the per-job spawn + per-batch finalization flow.