dragonflight/services/worker/src
Zac Gaetano 2cd20a0e72 fix(growing): don't promote a growing file while its recorder is still recording
The promotion worker promoted on mtime-idle (>=8s), but CIFS attribute caching
makes an actively-growing MXF look idle, so it grabbed the live file ~15s into
recording, uploaded it, flipped the asset live->ready, and unlinked it ("a
worker is stealing the file"). Gate promotion on the recorder's live status:
the growing asset's display_name is the recorder's current_session_id, so skip
promotion while a recorder with that session is status='recording'. Only
promote once recording has stopped.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-31 22:26:07 -04: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(player): stitch S3 ranges around RustFS empty-body bug (#143) 2026-05-27 02:38:42 +00:00
workers fix(growing): don't promote a growing file while its recorder is still recording 2026-05-31 22:26:07 -04:00
index.js feat(worker): playout-stage job — S3 → /media + EBU R128 loudnorm 2026-05-30 14:02:25 +00:00