You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The registry test suite now exercises its repository-owned CI helpers. The tests verify exact Node and package-manager pins, frozen installs, and a signed release-token request scoped to this repository.
Low Risk
Test-only additions with no production or workflow behavior changes.
Overview
Adds Vitest integration coverage for two repo-owned CI helpers that replaced external Wheelhouse workflows.
mint-release-token tests spawn the script with a mocked fetch, assert it returns a token after calling the installation and access-token endpoints with a valid RS256 JWT, and that the token request is scoped to the current repo with contents: write. A second case asserts invalid GITHUB_REPOSITORY values fail before any network call.
with-toolchain tests (non-Windows) run the bash wrapper against a fake runner cache and command log, confirming it uses the pinned Node from .node-version, installs exact npm and pnpm versions, runs pnpm install --frozen-lockfile, then executes the passed command. Another case rejects packageManager entries that do not pin a full pnpm semver.
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
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.
The registry test suite now exercises its repository-owned CI helpers. The tests verify exact Node and package-manager pins, frozen installs, and a signed release-token request scoped to this repository.
Follows the Wheelhouse removal.