test: pin local tsx runner#828
Merged
Merged
Conversation
Contributor
PR Reviewer Guide 🔍(Review updated until commit 208a7ba)Here are some key observations to aid the review process:
|
appergb
commented
Jul 15, 2026
appergb
left a comment
Collaborator
Author
There was a problem hiding this comment.
Independent review — exact head 208a7ba
Strengths
- package.json:22,56 replaces npx tsx with the npm-script local binary and pins tsx as a direct exact devDependency at 4.23.1. The root package-lock entry matches exactly.
- package-lock.json:6214-6231 records the exact tarball, integrity, CLI bin, Node engine and dependency edge. The nested esbuild lock graph contains all 26 declared platform packages with no missing or mismatched versions, including macOS, Windows, Linux and Android architectures.
- Strict RED was independently reproduced on base d6ca07a: after clean npm ci, no local .bin/tsx existed; a new empty cache with offline mode and registry 127.0.0.1:9 made the old npx script attempt /tsx and fail with ENOTCACHED.
- Strict GREEN was independently reproduced on this exact head: clean npm ci using an isolated install cache created node_modules/.bin/tsx -> ../tsx/dist/cli.mjs; then a separate new empty runtime cache with offline mode and the same unreachable registry passed hotkeySideModifiers.test.ts. This proves the script resolves the locked local binary without registry fallback.
- Fresh npm registry metadata reports 4.23.1 as the current latest release with Node >=18.0.0; the installed CLI and test both ran successfully under Node 22.17.1.
- npm run prebuild, npm run build and npm audit --audit-level=high passed with zero vulnerabilities. The complete base and head dist trees were byte-identical, confirming no UI or runtime bundle change.
- All five exact-head checks are completed and successful: Windows, macOS, Linux, Android cargo check and PR-Agent.
Critical
None.
Important
None.
Minor
- package-lock.json:6675 necessarily nests esbuild 0.28.1 for current tsx beside Vite esbuild 0.25.12, because the dependency ranges do not overlap. This adds one dev-only compiler copy and the corresponding cross-platform lock entries, but clean install added only three packages on this host, audit is clean, and production output is identical. Informational only; no change requested.
Ready-to-merge verdict
COMMENTED — logical APPROVE. No blocking finding at the reviewed exact head. The change satisfies issue #805, makes the check reproducible after a clean install without runtime registry access, has a complete cross-platform lock graph, and does not alter product behavior. It is ready from a code-review perspective once normal Draft and repository review policy are satisfied.
appergb
marked this pull request as ready for review
July 15, 2026 05:44
Contributor
|
Persistent review updated to latest commit 208a7ba |
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.
User description
Summary
tsx4.23.1 as a direct exact devDependencynode_modules/.binTDD evidence
RED on current Beta after clean
npm ci: there was no localnode_modules/.bin/tsx; with a new empty npm cache and offline mode,npm run check:hotkey-side-modifiersfailed withENOTCACHEDbecausenpxattempted to resolve the registry package.GREEN after this change: a fresh
npm ciinstalled the locked binary and the same command passed with an empty cache,npm_config_offline=true, and an unreachable registry URL.Verification
npm ci: 0 vulnerabilitiesnpm run check:hotkey-side-modifiers: passednpm run build: passed, including the Android IPC prebuild boundarynpm audit --audit-level=high: 0 vulnerabilitiesgit diff --check: passedNo product or UI behavior change.
Closes #805
PR Type
Bug fix, Tests
Description
Pin tsx as exact devDependency (4.23.1)
Update test script to use local binary instead of npx
Diagram Walkthrough
File Walkthrough
package.json
Pin tsx and update test scriptopenless-all/app/package.json
tsxas a pinned devDependency (exact version 4.23.1)check:hotkey-side-modifiersscript to invoketsxdirectlyinstead of via
npx