Skip to content

fix: correct the build-script justification, which was factually wrong - #18

Merged
toastygm merged 1 commit into
mainfrom
bug/build-script-justification
Sep 1, 2026
Merged

fix: correct the build-script justification, which was factually wrong#18
toastygm merged 1 commit into
mainfrom
bug/build-script-justification

Conversation

@toastygm

@toastygm toastygm commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

fix: correct the build-script justification, which was factually wrong

#16 said the build-script input existed because "five of the six callers use
build:noci and sohl, whose build does not reinstall, passes build". The
second half is false. In all six repositories build is literally
npm ci && npm run build:noci, sohl included — so it does reinstall, and
sohl's release has been running a redundant npm ci on top of the install two
steps earlier.

Nothing varies on this axis at all: every caller can take the build:noci
default, sohl included. The input stays anyway, but on honest grounds — it is
the same named-script seam deploy-package-site.yml makes with build:site, so
a package whose script is named differently can call this without editing it.
An input every caller leaves alone is a seam; the one worth refusing is an
input that invites callers to differ where they currently agree, which is why
build:pack-release is still fixed.

The sohl caller example loses its build-script: build line accordingly. Left
in, it would have instructed the sixth adoption to carry the redundant install
across deliberately.

No behaviour change: the default was already build:noci and the only adopter
so far does not pass this input.

#16 said the `build-script` input existed because "five of the six callers use
`build:noci` and sohl, whose `build` does not reinstall, passes `build`". The
second half is false. In all six repositories `build` is literally
`npm ci && npm run build:noci`, sohl included — so it does reinstall, and
sohl's release has been running a redundant `npm ci` on top of the install two
steps earlier.

Nothing varies on this axis at all: every caller can take the `build:noci`
default, sohl included. The input stays anyway, but on honest grounds — it is
the same named-script seam deploy-package-site.yml makes with `build:site`, so
a package whose script is named differently can call this without editing it.
An input every caller leaves alone is a seam; the one worth refusing is an
input that invites callers to differ where they currently agree, which is why
`build:pack-release` is still fixed.

The sohl caller example loses its `build-script: build` line accordingly. Left
in, it would have instructed the sixth adoption to carry the redundant install
across deliberately.

No behaviour change: the default was already `build:noci` and the only adopter
so far does not pass this input.
@toastygm
toastygm merged commit 6f19543 into main Sep 1, 2026
1 check passed
@toastygm
toastygm deleted the bug/build-script-justification branch September 1, 2026 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant