Skip to content

Release 4.32.0

Choose a tag to compare

@github-actions github-actions released this 04 Dec 23:25
3c0c5be

Added

  • An entry of supercov.accepted.json can carry its mutant's anchor (in
    mutants test --json's gate.failing), and then finds its mutant wherever
    lines added above its function moved its id. Such entries are listed in
    gate.movedAccepted.
  • A Rust project's .cargo/mutants.toml exclude_globs and examine_globs
    leave files out of its mutants as they leave them out of cargo-mutants':
    a test helper crate excluded there gets no mutants.

Changed

  • JavaScript test processes under Supercov do less work for each file they
    read and each module they resolve. The answers are the same. Measured with
    Speed: Rallly's Vitest run went from 1.12x to 1.09x the instructions of a
    plain run, and Bulletproof's from 1.14x to 1.11x.
  • A JavaScript run spends less time after its tests: publication summarises
    each file once, takes the source manifest from the run instead of reading
    the archive back, and reads sources back on every core. The answers are
    the same. Measured with Speed: Rallly's Vitest publication went from about
    320 ms to 205 ms, and Bulletproof's Vitest run from 1.19x to 1.18x the
    time of a plain run.
  • A Node process spends less time on each CommonJS module it loads: the
    search for container and VM builders no longer lists every index of an
    exported Buffer, typed array or long array to read its first 200 keys.
  • A Rust strong pass runs a test without a mutant the first time a mutant
    needs it, not every reached test before the first mutant. Mutants try their
    tests cheapest first by the measured run's times. Verdicts are reached the
    same way; which test kills a mutant can be another of its candidates.

Fixed

  • A pass split into shares no longer lists the accepted mutants of the other
    shares as killed or gone: an accepted mutant with no verdict in this pass
    is not judged.
  • A Playwright strong pass runs a test.describe.serial whole: each run is a
    fresh copy of the describe, with its own beforeAll, and one mutant
    through all of its tests. Before, each test ran on its own, on the page and
    state that earlier runs had left. On a web app's suite, a run of "create a
    new poll" met the guest's open poll that an earlier run had made, stalled on
    the app's limit dialog, and the mutant was counted as a kill: seven false
    kills among ten mutants of the app's Sentry setup.
  • minimize and a listing of every mutant (mutants --limit 0 --json) fit
    in memory on a large run: on Excalidraw's, the listing went from 8.2 GB to
    312 MB, and minimize rebuilds only the view it reads and no longer sorts
    every obligation at each step of its search. Answers are the same.
  • A Rust strong pass says no time left while it builds and runs its
    baselines, and measures its pace from when its mutants start: one said
    "about 228m left" four minutes before it ended.
  • A stale run's list of files changed since it leaves out Supercov's own
    .supercov store, which Git lists where the store came without its
    .gitignore, such as a downloaded CI artifact.