Files
hsmc/.config/nextest.toml
T
swaits 4d7baf7236 fix!: up-transitions no longer exit and re-enter the target ancestor
A transition whose target is already active (an ancestor of the
innermost active state) now unwinds only the subtree strictly below
the target. The target's entry/exit actions do not fire and its
default() does not re-descend — you cannot re-enter a state you never
left. The old behavior could loop infinitely when a child transitioned
to its own parent.

Self-transitions (target == innermost) and lateral transitions are
unchanged. See spec §2.6 and tests §T2.8 / T2.8b / T2.8c.

Also in this release:

* Full workspace justfile (check, test, coverage, mutants, pre-release)
* Unit tests covering all __private internals; `cargo mutants` now exits
  clean (38 caught, 178 unviable, 0 missed, 0 timeouts).
* .config/nextest.toml with slow-timeout/terminate-after so hung tests
  fail fast rather than wedging cargo-mutants runs.

BREAKING CHANGE: transition-to-ancestor semantics. Machines that relied
on the old re-entry behavior of up-transitions will observe different
exit/entry action sequences.
2026-04-22 18:22:04 -06:00

9 lines
422 B
TOML

# Kill any single test that runs longer than 15s. The machine tests use
# `run()` loops that rely on the timer subsystem progressing — when a
# mutation breaks timer semantics a test can spin forever. Without a
# terminate-after budget the whole `cargo mutants` run is scored TIMEOUT
# instead of CAUGHT even when unit tests have already flagged the bug.
[profile.default.slow-timeout]
period = "5s"
terminate-after = 3