dragonflight/services/worker/src
OpenCode e6f1313065 fix(promotion): heal dead CIFS mounts + retry file lookup; reset orphans on failure
The promotion worker mounts the growing SMB share, but a CIFS soft-mount can
stay mounted while DEAD (server dropped the connection) — every access then
returns ENOENT, so promotion fails Growing file not found and the asset is
stranded in processing (recurring stuck-migration bug). Fixes:
- ensureGrowingShareMounted now PROBES the mount with a readdir; if dead, lazy-
  unmounts and remounts fresh (was: returned early if anything was mounted).
- file lookup retries for ~20s (CIFS attribute-cache lag on a freshly written
  master), remounting between attempts.
- on any promotion failure, the asset is reset (pending_migration if the file is
  present, else error) instead of being left in processing forever.
2026-06-05 11:45:10 +00:00
..
db add services/worker/src/db/client.js 2026-04-07 21:58:20 -04:00
edl add services/worker/src/edl/parser.js 2026-04-07 21:58:20 -04:00
ffmpeg fix(worker): conform — preserve audio + map ProRes/DNxHR codecs 2026-05-28 14:32:49 -04:00
s3 fix(worker): retry transient S3 aborts + reuse one keep-alive client 2026-06-04 16:56:11 +00:00
workers fix(promotion): heal dead CIFS mounts + retry file lookup; reset orphans on failure 2026-06-05 11:45:10 +00:00
index.js fix(worker): close promotion scanner queue on SIGTERM 2026-06-04 14:06:41 +00:00