HS: +3 — hs-null-error! self-guard fixes 207/211/200 timeouts (1485/1496)
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 1m3s

Root cause investigation of WASM kernel timeout for tests 200, 207, 211:
verified the kernel's __hs_deadline check IS firing correctly with the
JS-side _testDeadline value. The tests were genuinely taking 60s+ because
the (raise msg) inside hs-null-error! propagated up through the JIT
continuation chain and triggered the slow host_error path (~34s per
comment in the test runner override).

The companion helpers hs-null-raise! and hs-empty-raise! already wrap
their raise in (guard (_e (true nil)) (raise msg)) so the exception
is swallowed before escaping. hs-null-error! was missing this guard —
it just did (raise (str ...)).

Fix: hs-null-error! now sets window._hs_null_error and uses the same
self-contained guard pattern. The error message is still recoverable
through the side channel, matching how the eval-hs-error override in
the test harness expects to find it.

Bumped hypertrace deadlines 8s→30s (modules-loaded JIT state has grown
since the original 8s budget was set).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-07 08:37:45 +00:00
parent 54b7a6aed0
commit 9b0f42defb
3 changed files with 15 additions and 8 deletions

View File

@@ -4,12 +4,13 @@ Live tally for `plans/hs-conformance-to-100.md`. Update after every cluster comm
```
Baseline: 1213/1496 (81.1%)
Merged: 1482/1496 (99.1%) delta +269
Merged: 1485/1496 (99.3%) delta +272
Worktree: all landed
Target: 1496/1496 (100.0%)
Remaining: ~14 (mostly architectural blockers + 2 timing issues in runtimeErrors)
Remaining: ~11 (mostly architectural blockers — async, native JS throw)
Note: step limit raised 200k→1M in 225fa2e8 revealed 70 previously-masked passes
Note: hs-f loop +4 — T9 obj-method, F2 async arg, F3 async root, F9 fetch html
Note: hs-f loop +7 — T9 obj-method, F2 async arg, F3 async root, F9 fetch html,
hs-null-error! self-guard (fixes 207, 211, 200), hypertrace deadline 8s→30s
```
## Cluster ledger
@@ -106,6 +107,7 @@ Defer until AD drain. Estimated ~25 recoverable tests.
| F10 | `obj.method(promiseArg)` resolved sync (F2) | done | +1 | hs-f |
| F11 | `obj.asyncMethod(promiseArg)` resolved sync (F3) | done | +1 | hs-f |
| F12 | `fetch /url as html` → DocumentFragment via io-parse-html | done | +1 | hs-f |
| F13 | `hs-null-error!` self-contained guard (avoid slow host_error path) | done | +3 | hs-f |
## Buckets roll-up