commit ee2f8413b1cfab0df7447876a89bdb79a1ca842e
parent b2ee954c5dc4ea7dd947d0257f6ccc679e681d07
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Wed, 11 Nov 2026 06:19:20 -0500
jobs: import-local-media gets its own entry and comment, after attach-media
The contributed kind sat inside attach-media's comment block, splitting it
from its entry. Same metadata; one comment in the file's shape.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat:
1 file changed, 16 insertions(+), 12 deletions(-)
diff --git a/common/jobs/jobKinds.ts b/common/jobs/jobKinds.ts
@@ -1512,18 +1512,6 @@ const JOB_KINDS: Record<string, JobKindMeta> = {
// On the channel's own queue (`channel:<slug>`): nothing is fetched, so no
// platform queue is owed a turn. Not replayable: the archive it names is a
// path on some drive, and a retry is a re-run.
- // External files have their own read-only resolver/health checks. This job
- // writes corpus text only, so a disconnected MANAGED-media drive is irrelevant.
- // The controller additionally refuses every relocation marker. Fresh preview
- // tokens are required for retry, so no replayable JobSpec is stored.
- "import-local-media": {
- kind: "import-local-media",
- label: "Import external media library",
- drainable: true,
- replayable: false,
- queueKeyStrategy: "custom",
- needsText: true,
- },
"attach-media": {
kind: "attach-media",
label: "Attach local media",
@@ -1532,6 +1520,22 @@ const JOB_KINDS: Record<string, JobKindMeta> = {
queueKeyStrategy: "custom",
needsMedia: true,
},
+ // A LOCAL MEDIA LIBRARY'S RECORDS (controller/localMediaImport.ts): the
+ // metadata, transcript and `external-media.json` of recordings that stay in
+ // the channel's `localMedia.directory`. Text: it writes corpus text only and
+ // never opens a managed big file, so a disconnected managed-media drive does
+ // not hold it (the library has its own read-only resolver and stall check,
+ // and the controller refuses every relocation marker). Drainable between
+ // recordings. An INGEST kind: it writes whole new records. On the channel's
+ // own queue. Not replayable: a retry needs a fresh preview's tokens.
+ "import-local-media": {
+ kind: "import-local-media",
+ label: "Import external media library",
+ drainable: true,
+ replayable: false,
+ queueKeyStrategy: "custom",
+ needsText: true,
+ },
// PLAYABLE COPIES AND THEIR TORRENTS (release 21 D3,
// controller/preparePlayable.ts): each saved container remuxed losslessly
// into a browser's container, and one torrent per copy. Media: it reads the