Repository navigation
chore(release): release notes wording, Windows-capable install gate, shared workflows 2026-11-29 - #144
Merged
Conversation
…ws too npm and pnpm are .cmd files on Windows, which Node starts only through cmd.exe, so the gate's bare spawns failed there before it packed anything. They now go through toolCommand from @cosyte/script-utils, and on Windows each bin runs under node directly. The gate's test runs on Windows again.
…385954cad The release now tags the version commit only after the pre-publish gates pass, so a refused gate leaves no tag behind.
… the inherited one uses On Windows the registry case reached the public registry: the override the test set did not replace the inherited setting there.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Three changes, one commit each, and a fourth commit that finishes item 2.
RELEASING.md: the paragraph on theclibin alias no longer says who would decide to revisit it. It now says the alias is a decision about the commands every user gets, not a packaging tidy-up.scripts/release-install-gate.mjs: the gate startedpnpm packandnpm installby bare name with no shell. On Windows both are.cmdfiles, which Node starts only throughcmd.exe, so the gate failed before it packed anything. Both now go throughtoolCommandfrom@cosyte/script-utils/attw(already a devDependency), which leaves the call unchanged off Windows and builds a quotedcmd.exeline on Windows. On Windows each bin now runs asnode <target>: the extensionless.binentry there is a shell script Windows cannot start, and a.cmdshim'snodechild would outlive the kill that ends a server's window.test/release-install-gate.test.tsis no longer left out on Windows invitest.config.ts. A follow-up commit makes the test's environment override drop an inherited variable of the same name in another case: on Windows the registry case otherwise reached the public registry (npmE404) instead of the closed local port it names..github/workflows/*.yml: all nineuses: cosyte/.github/...lines move fromworkflows-2026-11-28-ee3e8abed802toworkflows-2026-11-29-8c4385954cad, pinned by the full commit SHA with the reference name in a comment.Why
Proof
ci / verify (22|24|26, windows-latest)failed with 9 tests intest/release-install-gate.test.tsreportinggate-errorwhere a verdict was expected. With the fix, the first run on this pull request left one Windows failure, the registry case (install-failedwheregate-registry-unreachablewas expected; a probe printed npmE404), fixed by the fourth commit. On the head commit all three Windows legs pass and showtest/release-install-gate.test.ts (28 tests)passing.pnpm exec vitest run test/release-install-gate.test.ts28 passed;node scripts/release-install-gate.mjsagainst this tree passed (both bins ran from the installed.binlinks);pnpm test46 files, 830 tests passed;pnpm lint,pnpm typecheck,pnpm format:check,pnpm phi-scan,pnpm check:no-emdash,pnpm check:no-internal-refs,pnpm check:readme,pnpm check:claude-card,pnpm check:processall exit 0.cosyte-internal-refsrun withRELEASING.md,AGENTS.mdandCLAUDE.mdadded to its surface paths reports no hits.release.ymlchanged among the workflows, and only inside its release job's steps (the tag step moves after the gates); no input, job, or job name changed, so every job that ran before still runs.grepfinds no remaining reference to the old SHA.Choices
toolCommandrather than a local copy of its quoting rules.noderather than through its.cmdshim, for the kill reason above.