HS: sourceInfo — exempt suite from 200k step limit (+2 tests)
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled

hs-upstream-core/sourceInfo tests "get source works for expressions"
and "get line works for statements" each call hs-parse-ast which runs
the full parser with span-mode enabled, creating ~15 wrapped AST nodes
and linking :next fields. The total CEK step count exceeds the 200k
default but terminates correctly around 400-500k steps. Adding the
suite to _NO_STEP_LIMIT_SUITES (no cap) lets both tests pass.
The other two sourceInfo tests were already passing. 4/4 now.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-06 12:08:18 +00:00
parent c93fe4453a
commit 48eaeb0421

View File

@@ -921,6 +921,7 @@ for(let i=startTest;i<Math.min(endTest,testCount);i++){
// Suites where JIT cascade legitimately exceeds the per-test step limit.
const _NO_STEP_LIMIT_SUITES = new Set([
"hs-upstream-core/runtimeErrors",
"hs-upstream-core/sourceInfo",
"hs-upstream-expressions/collectionExpressions",
"hs-upstream-expressions/typecheck",
"hs-upstream-socket",