Batch PSD to JPEG: recoverable jobs, manifests, and bucketed presets so a midnight crash does not mean rerunning the entire library
E-commerce drops, live-ops art, and localization waves can mean thousands of PSDs overnight; if a worker dies without structured state, teams rerun everything from zero at 2 a.m. `batch-psd-jpg` is engineering-first: stable IDs, explicit state machines, retryable error classes, and output hashes in a manifest. Bright product shots and moody key art rarely share one quality factor, so bucket templates by genre and record the bucket in the manifest. When success, failure, and failure reasons are structured, ops and vendors can clear queues in parallel instead of trading screenshot dumps.
Como usar
- Pilot five files from each of three genres, confirm visible-layer logic and scaling, then shard production into parallel batches with manifest schema version, input root, output root, and parameter JSON pinned in git.
- Watch failure-rate spikes, trip circuit breakers on repeated error codes, and export failure manifests—retry by class (corrupt file, disk full, missing profile) instead of blind full reruns.
- Reconcile manifest rows to object-store keys, sample file-size distributions for anomalies, and archive manifests plus parameters with the release so audits three months later can reproduce the same pixels.