Skip to content

memcache - chore: defense - stage npm releases from CI - #117

Merged
jaredwray merged 2 commits into
mainfrom
cursor/defense-release-stage-publish-2602
Aug 18, 2026
Merged

memcache - chore: defense - stage npm releases from CI#117
jaredwray merged 2 commits into
mainfrom
cursor/defense-release-stage-publish-2602

Conversation

@jaredwray

@jaredwray jaredwray commented Aug 18, 2026

Copy link
Copy Markdown
Owner

Summary

Switch the release workflow from live pnpm publish to pack + pnpm stage publish, so CI can only stage an artifact.

Status update

DEFENSE_IN_DEPTH.md: § 5 stage publish → (PR #117 pending); § 4 zizmor / persist-credentials / publish-job cache disable → PR #116 (merged)

Changes

  • release.yaml publish job: pnpm pack --pack-destination packed then pnpm stage publish ./packed/*.tgz --access public --provenance --no-git-checks
  • Keep the existing build → test → publish job graph (Aikido release gate is the next catalog item)
  • Note the live staging control in SECURITY.md

npmjs.com still needs the trusted publisher set to stage-only (manual). Drydock and 2FA promotion are also manual.

Verification

Reference

defense-in-depth-nodejs § 5

Open in Web Open in Cursor 

cursoragent and others added 2 commits August 18, 2026 17:12
Pack a tarball and run pnpm stage publish so CI can only stage; a
maintainer still has to promote. Reconcile zizmor items as merged in
PR #116.

Co-authored-by: Jared Wray <me@jaredwray.com>
Co-authored-by: Jared Wray <me@jaredwray.com>
@codecov

codecov Bot commented Aug 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (d74fefc) to head (65ca243).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #117   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            8         8           
  Lines         1399      1399           
  Branches       303       308    +5     
=========================================
  Hits          1399      1399           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jaredwray
jaredwray marked this pull request as ready for review August 18, 2026 17:15
@jaredwray
jaredwray merged commit 5cd58cf into main Aug 18, 2026
17 checks passed
@jaredwray
jaredwray deleted the cursor/defense-release-stage-publish-2602 branch August 18, 2026 17:21
@jaredwray jaredwray mentioned this pull request Aug 19, 2026
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants