fix: seed-transpile-check treats invalid seeds as warnings not failures

Evolution can produce syntactically invalid seeds (e.g. missing
DYADIC.<= before EXEC.IF). These transpiler errors should not block
CI — only forge compilation failures of successfully transpiled seeds
are real regressions.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
johba 2026-03-22 21:36:05 +00:00
parent f4ebfaf87c
commit 83a91f324a

View file

@ -127,8 +127,7 @@ steps:
name=$(basename "$seed")
echo "--- Transpiling $name ---"
if ! npx tsx tools/push3-transpiler/src/index.ts "$seed" onchain/src/OptimizerV3Push3.sol; then
echo "FAIL: $name failed to transpile" >&2
failed=1
echo "WARN: $name failed to transpile (invalid program) — skipping" >&2
continue
fi
echo "--- Compiling $name ---"