Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

oven grabber: don't let isFrozen short-circuit the dud check

All-black captures are both "frozen" (frames identical to each other)
and "uniform-color" (no per-frame variance), so the previous logic
that skipped isUniformColorContent when isFrozen=true silently let
the broken bake fall through to the still-encoder. Always run the
uniform check; the isFrozen branch is reserved for legitimate frozen
art (identical-but-not-uniform frames).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

+5 -5
+5 -5
oven/grabber.mjs
··· 2427 2427 } 2428 2428 2429 2429 isFrozen = await areFramesIdentical(capturedFrames); 2430 - // Frozen content (every frame identical) is legitimate; only 2431 - // uniform-color frames indicate a black-canvas / not-rendered dud. 2432 - uniformCheck = isFrozen 2433 - ? { isUniform: false } 2434 - : await isUniformColorContent(capturedFrames); 2430 + // Always run the uniform-color check — an all-black capture 2431 + // is both "frozen" (frames identical) and "uniform-color", 2432 + // and we need to catch it as a dud rather than treating it 2433 + // as legitimate frozen art. 2434 + uniformCheck = await isUniformColorContent(capturedFrames); 2435 2435 2436 2436 if (!uniformCheck.isUniform) break; 2437 2437 if (attempt < MAX_DUD_RETRIES) {