mirror of
https://github.com/penpot/penpot.git
synced 2026-11-21 01:22:01 +00:00
✨ 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
This commit is contained in:
parent
dfa7e63147
commit
b57569c3e4
@ -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)))]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user