Repository navigation
feat(release): build, verify and stage native CLI release candidates - #1746
Conversation
PR SummaryLow Risk Overview Native tests ( Release workflow tests stop hard-coding a single prerelease line: they read Minor import ordering in the snapshot refresh script satisfies lint. Reviewed by Cursor Bugbot for commit d122c9b. Configure here. |
18695da to
3d6c4c9
Compare
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
7d38fab to
4371f98
Compare
4371f98 to
888ac94
Compare
|
All alerts resolved. Learn more about Socket for GitHub. This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. Ignoring alerts on:
|
888ac94 to
8f70092
Compare
|
Socket (@SocketSecurity) ignore npm/sentry@0.49.0 |
3af5766 to
0adde75
Compare
8d61094 to
57c56ed
Compare
f3f406a to
a43eda1
Compare
Joseph Werle (jwerle)
left a comment
There was a problem hiding this comment.
missing a lot of context but generally LGTM - I'd expect win32 CI for windows paths to be here
6c2582e to
67f1d55
Compare
67f1d55 to
e6aeb74
Compare
Release packages
socket,@socketsecurity/cli,@socketsecurity/cli-with-sentrylatestsocketlauncher plus five@socketsecurity/socket-cli-<platform>-<arch>packagesrc-2.1.0The launcher pins each optional dependency to its own version and verifies the installed package before starting the executable. The five supported targets are macOS arm64, glibc Linux arm64 and x64, and Windows arm64 and x64.
Building and staging
pnpm packfor its executable-shebang check.pnpm build:sea, runpnpm test:seaon each host, then use pnpm to install the launcher and host tarballs offline and check help and version. Production macOS packages require Developer ID signing.NPM_FIRST_STAGE_TOKENin the protected publish environment. Approve the platform stages before the RC launcher. The approval helper checks the stage’s immutable dist-tag and the finalizer waits for the full package set to be public.Verification
Built all four top-level tarballs locally, installed and exercised all three stable variants, and ran 96 macOS native terminal tests. A loopback registry recorded the actual dist-tags sent by the pinned pnpm for the stable variants, RC launcher, and macOS package. The rehearsals leave production npm, release tags, and signing credentials untouched.
Hosted dry runs for commit
8f7009243exercise the three-package stable transfer and six-package native transfer. Stable dry run · Native RC dry run