From b57569c3e4117ddb03ff4797df3df24b2cef7577 Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Fri, 6 Nov 2026 02:21:49 +0100 Subject: [PATCH] :sparkles: Let PENPOT_GEN_HISTORIES set how long composable programs get Generated component programs have up to 40 chunks of operations. Runs that look for bugs needing longer histories can raise that bound with PENPOT_GEN_HISTORIES, read like PENPOT_GEN_NUM and PENPOT_GEN_SEED; the default is unchanged. Harness only; the benchmark is not run. AI-assisted-by: claude-opus-5-5 --- common/src/app/common/schema/test.cljc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/src/app/common/schema/test.cljc b/common/src/app/common/schema/test.cljc index bdfcd79d62..4947e36c1c 100644 --- a/common/src/app/common/schema/test.cljc +++ b/common/src/app/common/schema/test.cljc @@ -90,7 +90,9 @@ [bindings & body] `(tp/for-all ~bindings ~@body)) -(defn- environment-number +(defn environment-number + "The positive integer the environment variable `name` holds (any integer + for PENPOT_GEN_SEED), or nil when it is not set." [name] (when-let [value #?(:clj (System/getenv name) :cljs (some-> js/globalThis .-process .-env (aget name)))]