commit 4572213d70dd41e717892d9cbc4c35c58154afe4
parent 9ade87327956a2506ec0f21f5199ffbd975b1094
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Thu, 24 Sep 2026 12:45:50 -0400
operations: re-acquire figures come from the diarization kind, not the lane sum
Live on :3001 the new sentence read "78,146 videos still have media on
disk" — the lane-wide `reachable` folds attribution-text, whose input is
the transcript. The toggle fetches audio; diarization is the one kind
whose missing input is audio (679 reachable, 74,410 needing media at the
2026-09-24 rollout, the successor of the dated 836 / 76,270).
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Diffstat:
1 file changed, 18 insertions(+), 5 deletions(-)
diff --git a/editor/app/operations/[id]/page.tsx b/editor/app/operations/[id]/page.tsx
@@ -220,22 +220,35 @@ export default async function OperationPage({
// space is `getFreeBytes` on the transcripts root — the same statfs behind
// the jobs payload's `disk.freeBytes` — and it fails open to Infinity, which
// is "unknown" here, not "unlimited".
+ //
+ // ONE KIND, NOT THE LANE SUM. The toggle re-acquires AUDIO, and diarization is
+ // the operation whose missing input is audio (attribution-diarized's missing
+ // input is diarization.json, attribution-text's is the transcript — see the
+ // catalog's note on `missing-input`). The lane-wide `reachable` folds all
+ // three, so on this corpus it read "78,146 videos still have media on disk"
+ // — attribution-text's transcript count, not media at all. Absent the kind
+ // (diarization off), the form falls back to its dated sentence.
let laneSettings = null;
if (runnerKind === "backfill") {
const [laneSync, free] = await Promise.all([
widgetSyncInputs().then(buildWidgetSyncPayload),
getFreeBytes(getPaths().transcriptsDir),
]);
+ const audioKind = laneSync.backfill.kinds.find(
+ (k) => k.id === "diarization",
+ );
laneSettings = (
<LaneSettingsForm
key="backfill-lane"
initial={settings.backfill}
held={isGateHeld(settings, "backfill")}
- figures={{
- reachable: laneSync.backfill.reachable,
- needsMedia: laneSync.backfill.needsMedia,
- freeBytes: Number.isFinite(free) ? free : null,
- }}
+ figures={
+ audioKind && {
+ reachable: audioKind.reachable,
+ needsMedia: audioKind.needsMedia,
+ freeBytes: Number.isFinite(free) ? free : null,
+ }
+ }
/>
);
}