Skip to content

Tags: tonioloewald/haltija

Tags

v1.12.4

Toggle v1.12.4's commit message
1.12.4

v1.12.3

Toggle v1.12.3's commit message
1.12.3

v1.12.2

Toggle v1.12.2's commit message
1.12.2

v1.12.1

Toggle v1.12.1's commit message
1.12.1

v1.12.0

Toggle v1.12.0's commit message
1.12.0 — trustworthy by default

v1.12.0-rc.5

Toggle v1.12.0-rc.5's commit message
1.12.0-rc.5

v1.12.0-rc.4

Toggle v1.12.0-rc.4's commit message
1.12.0-rc.4

v1.12.0-rc.2

Toggle v1.12.0-rc.2's commit message
1.12.0-rc.2

v1.12.0-rc.1

Toggle v1.12.0-rc.1's commit message
1.12.0-rc.1 — trustworthy by default + layout-faithful schematics

v1.11.3

Toggle v1.11.3's commit message
test: distribution-parity lane — the two hj artifacts must be one CLI

haltija ships the same CLI twice (bin/hj.mjs in the npm package; dist/hj.js as a lone bundled file
in ~/.local/bin) reporting the same version, so nothing signalled when they diverged. In 1.11.0 they
did: the bundle read hints from a sibling hints.json that isn't installed beside it, so the npm CLI
appended a hint to stdout and the bundle didn't — and an adopter's `JSON.parse($`hj windows`)`
worked on a maintainer's machine while being inert on every npm install (#14). They verified
behaviourally, against a real repro, and still shipped a no-op, because the binary they verified
against is not the one users get.

The lane runs BOTH artifacts and diffs what a consumer can observe: version, command list, stdout
bytes, exit codes, and the teachable hint on an error. Same lesson as the adopter-context lane —
test the artifact people receive, not the one that's convenient — applied to packaging.

MUTATION-TESTED, because a regression test that has never failed is unproven: reintroducing the
bundle-without-hints bug fails 1 assertion, and putting advisory text back on stdout fails 3 (and 2
more in the adopter-context lane on the npm side). Both mutations reverted; build verified clean.

616 unit + 93 e2e pass.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>