chore: gate npm installs by 3-day minimum release age - #58
Merged
karlkeppner1 merged 3 commits intoJun 3, 2026
Conversation
This was referenced Aug 6, 2026
karlkeppner1
added a commit
that referenced
this pull request
Aug 7, 2026
The chains/realio-testnet build is currently broken: #8 RUN npm i -g npm@latest npm error code EBADENGINE npm error Required: {"node":"^22.22.2 || ^24.15.0 || >=26.0.0"} npm error Actual: {"npm":"10.9.2","node":"v23.11.1"} npm@latest resolved to 12.0.2, which dropped node 23 support. The image is node:23-alpine, and .npmrc sets engine-strict=true, so this is a hard error rather than a warning. Nothing in the repo changed to cause it -- the registry moved under an unpinned install. 11.19.0 is the newest npm whose engines (^20.17.0 || >=22.9.0) still cover node 23, and it is >= 11.10.0, so the min-release-age=3 cooldown from #58 continues to apply. That was the entire reason this upgrade step exists. This is the same unpinned-global-install class of bug that #60 addressed in the workflow; this Dockerfile line was missed. Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
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.
Mirrors #57 onto the
chains/realio-testnetbranch.Changes
.npmrcwith supply-chain hardening:min-release-age=3,audit-level=critical,engine-strict=true,registry=https://registry.npmjs.org/.Dockerfile(node:23): copy.npmrcbeforenpm ciandRUN npm i -g npm@latestso npm ≥ 11.10.0 honorsmin-release-age.Dockerfile-bitbucket(node:14, legacy): copy.npmrcbeforenpm ci(npm too old formin-release-age; other keys apply).