HS: sourceInfo — exempt suite from 200k step limit (+2 tests)
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled
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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user