Skip to content

chore: update @sanity/codegen to ^6.1.0#1065

Open
Copilot wants to merge 2 commits into
mainfrom
copilot/update-sanity-codegen-to-latest-minor
Open

chore: update @sanity/codegen to ^6.1.0#1065
Copilot wants to merge 2 commits into
mainfrom
copilot/update-sanity-codegen-to-latest-minor

Conversation

Copy link
Copy Markdown

Copilot AI commented May 8, 2026

Description

Updates @sanity/codegen from ^6.0.3 to ^6.1.0 in the pnpm catalog (pnpm-workspace.yaml), picking up the latest minor version.

What to review

  • Version bump in pnpm-workspace.yaml catalog entry
  • Updated pnpm-lock.yaml
  • Changeset added for @sanity/cli (patch)

Testing

  • Type checking passes (pnpm check:types)
  • Build succeeds (pnpm build:cli)
  • No test failures on changed packages

Note

Low Risk
Low risk dependency bump limited to build/codegen tooling; main risk is minor codegen output/formatting differences due to the new version (and its optional oxfmt integration).

Overview
Updates the pnpm catalog to use @sanity/codegen ^6.1.0 (from ^6.0.3) and refreshes pnpm-lock.yaml accordingly, including the new optional oxfmt peer/optional dependency wiring.

Adds a changeset to publish a patch release of @sanity/cli reflecting the updated codegen dependency.

Reviewed by Cursor Bugbot for commit 4762bfc. Bugbot is set up for automated code reviews on this repo. Configure here.

Copilot finished work on behalf of stipsan May 8, 2026 08:49
Copilot AI requested a review from stipsan May 8, 2026 08:49
@stipsan stipsan marked this pull request as ready for review May 8, 2026 08:56
@stipsan stipsan requested a review from a team as a code owner May 8, 2026 08:56
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 8, 2026

📦 Bundle Stats — @sanity/cli

Compared against main (cc636d1f)

@sanity/cli

Metric Value vs main (cc636d1)
Internal (raw) 2.1 KB -
Internal (gzip) 799 B -
Bundled (raw) 10.97 MB -
Bundled (gzip) 2.06 MB -
Import time 829ms -7ms, -0.8%

bin:sanity

Metric Value vs main (cc636d1)
Internal (raw) 975 B -
Internal (gzip) 460 B -
Bundled (raw) 9.84 MB -
Bundled (gzip) 1.77 MB -
Import time 1.94s -36ms, -1.8%

🗺️ View treemap · Artifacts

Details
  • Import time regressions over 10% are flagged with ⚠️
  • Sizes shown as raw / gzip 🗜️. Internal bytes = own code only. Total bytes = with all dependencies. Import time = Node.js cold-start median.

📦 Bundle Stats — @sanity/cli-core

Compared against main (cc636d1f)

Metric Value vs main (cc636d1)
Internal (raw) 96.2 KB -
Internal (gzip) 22.5 KB -
Bundled (raw) 21.61 MB -
Bundled (gzip) 3.42 MB -
Import time 788ms -23ms, -2.9%

🗺️ View treemap · Artifacts

Details
  • Import time regressions over 10% are flagged with ⚠️
  • Sizes shown as raw / gzip 🗜️. Internal bytes = own code only. Total bytes = with all dependencies. Import time = Node.js cold-start median.

📦 Bundle Stats — create-sanity

Compared against main (cc636d1f)

Metric Value vs main (cc636d1)
Internal (raw) 976 B -
Internal (gzip) 507 B -
Bundled (raw) 50.7 KB -
Bundled (gzip) 12.6 KB -
Import time ❌ ChildProcess denied: node -
Details
  • Import time regressions over 10% are flagged with ⚠️
  • Sizes shown as raw / gzip 🗜️. Internal bytes = own code only. Total bytes = with all dependencies. Import time = Node.js cold-start median.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 8, 2026

Coverage Delta

No covered files changed in this PR.

Overall Coverage

Metric Coverage
Statements 84.2% (±0%)
Branches 74.1% (±0%)
Functions 84.1% (±0%)
Lines 84.6% (±0%)

@stipsan
Copy link
Copy Markdown
Member

stipsan commented May 8, 2026

@copilot look at the failed checks, can you fix?

Copy link
Copy Markdown
Author

Copilot AI commented May 8, 2026

@copilot look at the failed checks, can you fix?

Both failures were on run_attempt: 2 (manual rerun), which sets TURBO_FORCE=true and bypasses turbo cache. This causes a pre-existing race condition in the publint step where build (using --delete-dir-on-start) wipes dist/ before build:types regenerates .d.ts files. The test failure was a flaky Windows worker crash — all 714 tests passed.

Pushed 4762bfc to trigger a fresh CI run (attempt 1, with working turbo cache).

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/repos/sanity-io/cli/actions/runs/25546381959/attempts/1
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot finished work on behalf of stipsan May 8, 2026 09:19
Copilot AI requested a review from stipsan May 8, 2026 09:19
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