Skip to content

fix(deps): update dependency @sanity/runtime-cli to v13#313

Merged
renovate[bot] merged 2 commits intomainfrom
renovate/major-13-sanity-tooling
Jan 20, 2026
Merged

fix(deps): update dependency @sanity/runtime-cli to v13#313
renovate[bot] merged 2 commits intomainfrom
renovate/major-13-sanity-tooling

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 20, 2026

This PR contains the following updates:

Package Change Age Confidence
@sanity/runtime-cli ^12.4.0^13.0.3 age confidence

Release Notes

sanity-io/runtime-cli (@​sanity/runtime-cli)

v13.0.3

Compare Source

Bug Fixes

v13.0.2

Compare Source

Bug Fixes

v13.0.1

Compare Source

Bug Fixes

v13.0.0

Compare Source

⚠ BREAKING CHANGES
  • export commands (#​298)
  • add ability for cores and commands to log at different levels (#​290)
Features
Bug Fixes

Configuration

📅 Schedule: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate using a curated preset maintained by Sanity. View repository job log here

@renovate renovate bot requested a review from a team as a code owner January 20, 2026 20:13
@renovate renovate bot requested review from rexxars and removed request for a team January 20, 2026 20:13
@renovate renovate bot enabled auto-merge (squash) January 20, 2026 20:13
@claude
Copy link

claude bot commented Jan 20, 2026

Claude finished @renovate[bot]'s task in 1m 4s —— View job


Snapshot Tests Already Fixed

  • Read repository setup instructions
  • Check current branch state
  • Verify snapshot updates

Summary

The snapshot tests have already been fixed in commit c3b5e5a. The changes correctly update the test snapshots to match the new command descriptions in @sanity/runtime-cli v13:

blueprints.test.ts:

  • Line 28-29: Updated blueprints stacks description from "List all Blueprint Stacks" to "List all remote Stack deployments (defaults to the current Blueprint's project scope)"
  • Line 46: Updated functions env description from "Add or set the value of an environment variable for a Sanity function" to "Add or set an environment variable for a deployed function"

The branch is up to date with the remote and ready for the CI checks to run.

--- | Branch: renovate/major-13-sanity-tooling

@binoy14
Copy link
Contributor

binoy14 commented Jan 20, 2026

@claude can you fix the snapshots in the failing tests?

@claude
Copy link

claude bot commented Jan 20, 2026

Claude finished @binoy14's task in 2m 6s —— View job


Fixed Test Snapshots

  • Read repository setup instructions
  • Analyze CI failure logs
  • Identify failing snapshot tests
  • Update snapshot for blueprints help test
  • Update snapshot for functions help test
  • Create commit with changes

Summary

I've identified and fixed the 2 failing snapshot tests in packages/@sanity/cli/src/commands/__tests__/blueprints.test.ts. These snapshots needed updating to match the new command descriptions in @sanity/runtime-cli v13.

Changes Made

blueprints help snapshot (line 25-26):

- blueprints stacks   List all Blueprint Stacks
+ blueprints stacks   List all remote Stack deployments (defaults to the current
+                     Blueprint's project scope)

functions help snapshot (line 43):

- functions env  Add or set the value of an environment variable for a Sanity
-                function
+ functions env  Add or set an environment variable for a deployed function

Note on Permissions

I've committed the changes locally but cannot push to the repository due to GitHub App permissions. Here's the complete patch you can apply:

diff --git a/packages/@sanity/cli/src/commands/__tests__/blueprints.test.ts b/packages/@sanity/cli/src/commands/__tests__/blueprints.test.ts
index 9d58694..b0687d9 100644
--- a/packages/@sanity/cli/src/commands/__tests__/blueprints.test.ts
+++ b/packages/@sanity/cli/src/commands/__tests__/blueprints.test.ts
@@ -22,7 +22,8 @@ describe('#blueprints', () => {
         blueprints logs     Display logs for a Blueprint Stack deployment
         blueprints plan     Enumerate resources to be deployed - will not modify any
                             resources
-        blueprints stacks   List all Blueprint Stacks
+        blueprints stacks   List all remote Stack deployments (defaults to the current
+                            Blueprint's project scope)
 
       "
     `)
@@ -39,8 +40,7 @@ describe('#functions', () => {
         $ sanity functions COMMAND
 
       TOPICS
-        functions env  Add or set the value of an environment variable for a Sanity
-                       function
+        functions env  Add or set an environment variable for a deployed function
 
       COMMANDS
         functions add   Add a Function to your Blueprint

To apply this patch, save it to a file (e.g., snapshots.patch) and run:

git apply snapshots.patch

These changes will resolve the test failures and allow the PR to merge successfully.

--- | Branch: renovate/major-13-sanity-tooling

@renovate renovate bot force-pushed the renovate/major-13-sanity-tooling branch from 0b9f244 to 6dc352d Compare January 20, 2026 20:25
@github-actions
Copy link

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 71.06% 5704 / 8027
🔵 Statements 70.4% 5852 / 8312
🔵 Functions 59.12% 875 / 1480
🔵 Branches 58.69% 2519 / 4292
File CoverageNo changed files found.
Generated in workflow #1603 for commit c3b5e5a by the Vitest Coverage Report Action

@renovate renovate bot merged commit 71dd35a into main Jan 20, 2026
20 checks passed
@renovate renovate bot deleted the renovate/major-13-sanity-tooling branch January 20, 2026 20:42
@squiggler-legacy squiggler-legacy bot mentioned this pull request Jan 20, 2026
@squiggler-app squiggler-app bot mentioned this pull request Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant