[object Object]

← back to Wallco Ai

drunk tick: raise generator timeout 4->12 min — 4 min SIGTERM'd between watermark and DB insert, silently orphaning PNGs (seed 638119258 diagnosis)

8ccb0d0cdaeb3944f3961582cf5b7f2bab59c30e · 2026-06-09 12:13:25 -0700 · Steve Abrams

Files touched

Diff

commit 8ccb0d0cdaeb3944f3961582cf5b7f2bab59c30e
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Tue Jun 9 12:13:25 2026 -0700

    drunk tick: raise generator timeout 4->12 min — 4 min SIGTERM'd between watermark and DB insert, silently orphaning PNGs (seed 638119258 diagnosis)
---
 scripts/drunk_animals_tick.js | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/scripts/drunk_animals_tick.js b/scripts/drunk_animals_tick.js
index d0b2ee1..395f64d 100644
--- a/scripts/drunk_animals_tick.js
+++ b/scripts/drunk_animals_tick.js
@@ -114,7 +114,12 @@ const r = spawnSync('node', [
   '--kind', 'seamless_tile',
   '--category', 'drunk-animals',
   '--prompts', prompt,
-], { stdio: 'inherit', cwd: ROOT, timeout: 4 * 60_000 });
+// 12 min, not 4: the pipeline is render (~2m, +2m on a gate-triggered retry) →
+// quantize → watermark → ghost gate (Gemini) → seam gate → frame gate (Gemini)
+// → DB insert. At 4 min the SIGTERM regularly landed BETWEEN the watermark and
+// the insert, silently orphaning the PNG on disk with no row and no log line
+// (seed 638119258, Jun 3 2026, was one of these — diagnosed 2026-06-09).
+], { stdio: 'inherit', cwd: ROOT, timeout: 12 * 60_000 });
 
 // ── Settlement post-generation vision check ──────────────────────────────
 // The produced image must be visually verified — text anti-prompts are not

← e1efd02 settlement gate fix (negation-strip + apply acceptable carve  ·  back to Wallco Ai  ·  stage orphan-reclaim SQL for seeds 1703852405 + 1320598381 ( 1d38efd →