Repository navigation
Publish pyright-typeserver to npm - #11713
Rich Chiodo (rchiodo) merged 1 commit into
Conversation
Co-authored-by: Copilot App <[email protected]>
|
🔒 Automated review in progress — Bill Schnurr (@bschnurr) is auto-reviewing this PR. |
| node -e "const actual=require('./node_modules/pyright/package.json').version; const expected=process.env.RELEASE_TAG; if(expected && actual!==expected){console.error('Expected package version '+expected+', got '+actual); process.exit(1)}" | ||
| yarn add --dev $(Pipeline.Workspace)/$(ARTIFACT_NAME_PACKAGE)/$(PACKAGE_NAME) $(Pipeline.Workspace)/$(ARTIFACT_NAME_PACKAGE)/$(TYPESERVER_PACKAGE_NAME) | ||
| node -e "const pyright=require('./node_modules/pyright/package.json').version; const typeserver=require('./node_modules/pyright-typeserver/package.json').version; const expected=process.env.RELEASE_TAG; if(pyright!==typeserver){console.error('Package versions do not match: pyright '+pyright+', pyright-typeserver '+typeserver); process.exit(1)} if(expected && pyright!==expected){console.error('Expected package version '+expected+', got '+pyright); process.exit(1)}" | ||
| test -x node_modules/.bin/pyright-typeserver |
There was a problem hiding this comment.
Warning · Non-blocking recommendation
test -x verifies only that the generated shim has its executable bit; it can still pass when the shim references a missing or unloadable bundle. Add a bounded smoke test that invokes the installed pyright-typeserver executable and verifies it starts successfully.
|
Result: Verification detailsVerification: Isolated verification observed failures that were not classified as caused by this PR: Source executable-mode assertion. The relevant tests could not be fully run in the isolated environment; this review is not fully verified. Summary: Static release wiring passed: package versions align at 1.1.413, the launcher exists, and all seven artifact references are present. The PR adds pipeline validation for aligned versions and the installed executable. Archive creation and installation could not run because the image lacks pnpm, npm, and Corepack. Confidence is therefore limited to configuration-level verification. Test runs: 1 passed, 1 failed, 4 not run
|
Summary
pyright-typeserveralongsidepyrightin the npm release artifactpyright-typeserverexecutablenpmOnly,npmValidateOnly, andregistryValidationOnlybehaviorResolves #11712