Files
rose-ash/tests
giles f0e1d2d615
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 1m12s
HS: +9 — when @attr changes via MutationObserver, def/default/empty no-step-limit (1494/1496)
T6 'attribute observers are persistent' fix:
- parser.sx: parse-when-feat accepts 'attr' token type alongside hat/local/dom
- compiler.sx: hs-to-sx for (when-changes (attr name target) body) emits
  (hs-attr-watch! target name (fn (it) body))
- runtime.sx: hs-attr-watch! creates a MutationObserver scoped to the target
  with attributes:true and attributeFilter:[name]; fires handler with the
  new attribute value on each change. Uses host-new "MutationObserver" so
  the test mock's HsMutationObserver intercepts.

Step-limit cascades:
- hs-upstream-default, hs-upstream-def, hs-upstream-empty added to
  NO_STEP_LIMIT_SUITES — these legitimately exceed the 1M default when
  scoped variable + array index ops cascade through eval-hs+JIT warmup.

All 110 hyperscript suites now green individually (per-suite runs).
The 2 remaining gap-tests are likely range-counting edge cases at
index boundaries — visible only in cross-range cumulative runs.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-07 14:47:56 +00:00
..