Skip to content

v18.0.4

Choose a tag to compare

@jterrazz jterrazz released this 24 Oct 02:19
5abb897

A served process's ready answer now counts only from the command's own process group, a container name two containers carry is refused, each member of a monorepo keeps its own vitest module cache, and the Go CLI specimen is built once per run.

Fixes

  • A ready answer is the served command's own (15d8d2b5). A port drawn and reserved for a served process could still be taken by a process outside the framework between the draw and the child's listen, and any HTTP status it answered (a 404) read as the server being ready. Once the ready path answers, the port's listeners are read (lsof on macOS, /proc on Linux): the answer counts only while a listener sits in the child's process group and none the run can see is outside it; a foreign listener is refused at once, naming the port. A server that rightly listens outside the group (a container's forward, a daemon the command starts detached) must announce its port with a ready pattern instead of a path. A platform with neither source keeps the old reading.
  • result.container(name) refuses ambiguity (27fd1509, df0986ef). It keyed the run's containers by their name label and let the last one docker listed win, so a run leaving a baseline world and an upgraded one under one name read whichever came last. The name now reads one container or none; two carrying it throw a refusal naming each by id and docker name. containerIds and the dispose still list every one.
  • Each run keeps vitest's module cache under its own .artifacts (0fb447a3). Vitest 5 caches transformed modules at the workspace root's node_modules/.vitest-cache, so the members of a monorepo, each running its own vitest at once, raced on one folder (ENOTEMPTY, then "No test files found"). The preset now states fsModuleCachePath as .artifacts/vitest/modules, resolved against each run's root.
  • The Go CLI specimen is built once per run (044a3862). The cli runner modules run again before each file of every worker, so the Go specimen's go build -o ran in several workers at once to one output, which breaks Go's linker. The build moved to a global setup of the cli project.

Known gap: Stryker never mutates inside expr as T

Stryker 10 counts TSAsExpression as a type-only node (@stryker-mutator/instrumenter/dist/src/util/syntax-helpers.js:140), so nothing inside an expr as T is instrumented, and a zero-survivor verdict says nothing about it. That is why 18.0.2's gate judged none of its change: the changed code sat inside mergeConfig(...) as ..., which left 2 mutants, both compile errors. About 13 call sites in this package's src/ and lint/ have that shape. The fix belongs to the toolchain or to Stryker upstream and is not in this release.

Cold-gated before the tag against the estate's consumers (signews-mobile, which needs a simulator, excepted); none needed a change.