Skip to content

ecto - chore: upgrade pnpm - #419

Merged
jaredwray merged 1 commit into
mainfrom
chore/monorepo-tooling
Sep 26, 2026
Merged

jaredwray merged 1 commit into
mainfrom
chore/monorepo-tooling

Conversation

@jaredwray

Copy link
Copy Markdown
Owner

Please check if the PR fulfills these requirements

  • Followed the Contributing and Code of Conduct guidelines.
  • Tests for the changes have been added (for bug fixes/features) with 100% code coverage.
    • Package-manager pin only. Existing suite passes at 100% coverage (239 tests).

What kind of change does this PR introduce?

Dependency maintenance — the dev phase (package manager tooling).

Summary

Pin packageManager to pnpm@12.5.1 with the integrity hash from corepack use. pnpm is not a devDependency, so the target is the newest stable release published at least 7 days ago (12.6.0 and 11.27.1 are younger than that gate). The field previously named pnpm@11.22.0 with no hash.

Changes

  • packageManager pnpm@11.22.0 → pnpm@12.5.1+sha512.…
  • Lockfile records the pnpm package-manager dependency
  • DEFENSE_IN_DEPTH.md verified pin updated to match

Artifact diffs

Verification

  • corepack use pnpm@12.5.1 wrote the hash
  • pnpm install --frozen-lockfile clean on 12.5.1
  • pnpm build passes (tsdown 0.23.0) on Node 22.22.2
  • pnpm test passes — 239 tests, 100% coverage
Open in Web Open in Cursor 

Pin packageManager to pnpm 12.5.1 with the corepack integrity hash.

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

chatgpt-codex-connector Bot commented Sep 26, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-26T08:19:01.338418Z bef01ed PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@codecov

codecov Bot commented Sep 26, 2026

Copy link
Copy Markdown

Codecov Report

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

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #419   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            9         9           
  Lines          406       406           
  Branches        94        94           
=========================================
  Hits           406       406           

☔ 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: bef01ed4c0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread pnpm-lock.yaml
'@pnpm/exe.win32-arm64': 12.5.1
'@pnpm/exe.win32-x64': 12.5.1

---

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Restore a single YAML document in the lockfile

The added --- starts a second YAML document instead of merging the pnpm entries into the existing lockfile. pnpm's lockfile reader expects exactly one document and reports a broken lockfile (expected a single document in the stream, but found more), so the pnpm install --frozen-lockfile step in tests.yml, code-coverage.yml, release.yaml, and the cloud setup script cannot install dependencies.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The second --- at pnpm-lock.yaml:158 is what pnpm 12.5.1 writes when it records packageManagerDependencies. Restoring the pre-change lockfile and running pnpm install produces the same two-document file, and pnpm install --frozen-lockfile succeeds with pnpm 12.5.1 (locally, and in CI on this PR). The expected a single document in the stream, but found more error is in the pnpm 11.22.0 reader this pin replaces; it is not in the 12.5.1 package. Merging the documents by hand does not stick, because the next install writes the separator back.

@jaredwray
jaredwray merged commit 0ff3cf3 into main Sep 26, 2026
13 checks passed
@jaredwray
jaredwray deleted the chore/monorepo-tooling branch September 26, 2026 08:19
@jaredwray jaredwray mentioned this pull request Sep 27, 2026
6 tasks done
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