Skip to content

root - chore: defense - install with a frozen lockfile - #465

Merged
jaredwray merged 3 commits into
mainfrom
cursor/defense-frozen-lockfile-9ffa
Aug 16, 2026
Merged

root - chore: defense - install with a frozen lockfile#465
jaredwray merged 3 commits into
mainfrom
cursor/defense-frozen-lockfile-9ffa

Conversation

@jaredwray

@jaredwray jaredwray commented Aug 16, 2026

Copy link
Copy Markdown
Owner

Summary

Make every CI install use pnpm install --frozen-lockfile so lockfile drift fails the job.

Status update

DEFENSE_IN_DEPTH.md: Lockfile committed; CI installs with pnpm install --frozen-lockfile → (PR #465 pending)
DEFENSE_IN_DEPTH.md: § 1 Security docs → PR #464 (reconciled)

Changes

  • Add --frozen-lockfile to tests, code-coverage, release, deploy-site, and build-binaries workflows
  • Note frozen-lockfile in SECURITY.md now that § 3 is complete
  • Rebase onto main after root - chore: defense - scaffold security docs #464 merged and mark § 1 checkboxes done

Verification

  • pnpm install --frozen-lockfile
  • pnpm test (831 tests, 100% coverage)

Reference

defense-in-depth-nodejs § 3

Open in Web Open in Cursor 

Base automatically changed from cursor/defense-security-docs-9ffa to main August 16, 2026 17:09
cursoragent and others added 3 commits August 16, 2026 17:10
CI package installs now use pnpm install --frozen-lockfile so a lockfile
drift fails the job instead of silently resolving.

Co-authored-by: Jared Wray <me@jaredwray.com>
Co-authored-by: Jared Wray <me@jaredwray.com>
Reconcile § 1 checkboxes against merged PR #464.

Co-authored-by: Jared Wray <me@jaredwray.com>
@cursor
cursor Bot force-pushed the cursor/defense-frozen-lockfile-9ffa branch from ad2bf40 to fffc0c7 Compare August 16, 2026 17:11
@jaredwray
jaredwray marked this pull request as ready for review August 16, 2026 17:11
@codecov

codecov Bot commented Aug 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (29d7a34) to head (fffc0c7).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #465   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           18        18           
  Lines         2760      2760           
  Branches       845       836    -9     
=========================================
  Hits          2760      2760           

☔ 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 merged commit a3a4d68 into main Aug 16, 2026
12 checks passed
@jaredwray
jaredwray deleted the cursor/defense-frozen-lockfile-9ffa branch August 16, 2026 17:43
cursor Bot pushed a commit that referenced this pull request Aug 16, 2026
Reconcile the § 3 frozen-lockfile checkbox against merged PR #465.

Co-authored-by: Jared Wray <me@jaredwray.com>
jaredwray added a commit that referenced this pull request Aug 16, 2026
* root - chore: defense - set contents: read workflow permissions

Default every workflow to read-only contents, grant write only on jobs
that upload release assets or publish with OIDC, and stop injecting the
GH_TOKEN PAT into CI.

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

* root - chore: defense - record permissions PR number

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

* root - chore: defense - mark frozen lockfile as merged

Reconcile the § 3 frozen-lockfile checkbox against merged PR #465.

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

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
@jaredwray jaredwray mentioned this pull request Aug 17, 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