Skip to content

chore(structure)!: remove DocumentPaneProvider forcedVersion override - #13886

Draft
pedrobonamin wants to merge 1 commit into
mainfrom
remove-forced-version
Draft

chore(structure)!: remove DocumentPaneProvider forcedVersion override#13886
pedrobonamin wants to merge 1 commit into
mainfrom
remove-forced-version

Conversation

@pedrobonamin

@pedrobonamin pedrobonamin commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Description

Removes DocumentPaneProvider forced version.
Which was added two years ago to support sanity assist when we introduced content releases.
This has been deprecated for more than 18 months and sanity assist is not using it.

What to review

Testing

Notes for release

perspective provider no longer accepts forcedVersion. use <DocumentPaneProvider> instead.


@vercel

vercel Bot commented Aug 6, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
auth-test-studio Ready Ready Preview Aug 6, 2026 7:53am
page-building-studio Ready Ready Preview Aug 6, 2026 7:53am
studio-metrics Ready Ready Preview Aug 6, 2026 7:53am
test-studio Ready Ready Preview Aug 6, 2026 7:53am
test-studio-preview-iframe Ready Ready Preview Aug 6, 2026 7:53am

Request Review

@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

📦 Bundle Stats — sanity

Compared against main (9eb6b09c) · v6.9.0 (npm)

sanity

Metric Value vs main (9eb6b09) vs v6.9.0
Internal (raw) 4.17 MB - -2.1 KB, -0.0%
Internal (gzip) 1.03 MB - -1 B, -0.0%
Bundled (raw) 12.50 MB - +101.5 KB, +0.8%
Bundled (gzip) 2.93 MB - +26.2 KB, +0.9%
Import time 1.72s +12ms, +0.7% +70ms, +4.3%

bin:sanity

Metric Value vs main (9eb6b09) vs v6.9.0
Internal (raw) 7.1 KB - -
Internal (gzip) 2.9 KB - -
Bundled (raw) 7.1 KB - -
Bundled (gzip) 2.8 KB - -
Import time 5ms +0ms, +0.6% +0ms, +4.5%

🗺️ 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.

@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

📚 TypeDoc Generation Result

TypeDoc generated successfully!

  • File size: 8.4M
  • Total exports: 1085
  • Artifact: sanity-typedoc-93bcbc313c597959c94ed6245bda4e01097a5398

The TypeDoc JSON file has been generated and validated. All documentation scripts completed successfully.

@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

⚡️ Editor Performance Report

Updated Thu, 06 Aug 2026 08:00:32 GMT

Benchmark reference
latency of sanity@latest
experiment
latency of this branch
Δ (%)
latency difference
arrayI18n (simple-en) 99.9+ efps (5ms) 99.9+ efps (4ms) -1ms (-/-%)
article (title) 99.9+ efps (7ms) 99.9+ efps (6ms) -1ms (-/-%)
article (body) 99.9+ efps (10ms) 99.9+ efps (10ms) +0ms (-/-%)
article (string inside object) 99.9+ efps (6ms) 99.9+ efps (6ms) +0ms (-/-%)
article (string inside array) 99.9+ efps (6ms) 99.9+ efps (6ms) +0ms (-/-%)
recipe (name) 99.9+ efps (4ms) 99.9+ efps (4ms) +0ms (-/-%)
recipe (description) 90.9 efps (11ms) 90.9 efps (11ms) +0ms (-/-%)
recipe (instructions) 99.9+ efps (5ms) 99.9+ efps (5ms) +0ms (-/-%)
singleString (stringField) 99.9+ efps (3ms) 99.9+ efps (3ms) +0ms (-/-%)
synthetic (title) 99.9+ efps (5ms) 99.9+ efps (5ms) +0ms (-/-%)
synthetic (string inside object) 35.1 efps (29ms) 99.9+ efps (5ms) -24ms (-82.5%)

efps — editor "frames per second". The number of updates assumed to be possible within a second.

Derived from input latency. efps = 1000 / input_latency

Detailed information

🏠 Reference result

The performance result of sanity@latest

Benchmark latency p75 p90 p99 blocking time test duration
arrayI18n (simple-en) 5ms 7ms 25ms 51ms 0ms 5.2s
article (title) 7ms 11ms 14ms 28ms 0ms 7.7s
article (body) 10ms 11ms 14ms 30ms 150ms 4.8s
article (string inside object) 6ms 10ms 14ms 21ms 0ms 4.9s
article (string inside array) 6ms 7ms 10ms 23ms 6ms 5.1s
recipe (name) 4ms 6ms 9ms 13ms 17ms 4.8s
recipe (description) 11ms 13ms 15ms 23ms 0ms 3.4s
recipe (instructions) 5ms 6ms 7ms 19ms 0ms 2.6s
singleString (stringField) 3ms 4ms 4ms 6ms 0ms 3.2s
synthetic (title) 5ms 6ms 8ms 25ms 601ms 7.9s
synthetic (string inside object) 29ms 29ms 31ms 51ms 567ms 8.0s

🧪 Experiment result

The performance result of this branch

Benchmark latency p75 p90 p99 blocking time test duration
arrayI18n (simple-en) 4ms 5ms 9ms 15ms 0ms 4.4s
article (title) 6ms 12ms 20ms 31ms 0ms 9.4s
article (body) 10ms 12ms 13ms 38ms 143ms 4.8s
article (string inside object) 6ms 11ms 13ms 15ms 0ms 5.0s
article (string inside array) 6ms 9ms 13ms 17ms 2ms 5.2s
recipe (name) 4ms 5ms 7ms 9ms 15ms 5.0s
recipe (description) 11ms 12ms 15ms 19ms 0ms 3.4s
recipe (instructions) 5ms 5ms 7ms 12ms 0ms 2.6s
singleString (stringField) 3ms 4ms 5ms 9ms 0ms 3.3s
synthetic (title) 5ms 6ms 8ms 51ms 556ms 8.3s
synthetic (string inside object) 5ms 6ms 27ms 34ms 208ms 6.7s

📚 Glossary

column definitions

  • benchmark — the name of the test, e.g. "article", followed by the label of the field being measured, e.g. "(title)".
  • latency — the time between when a key was pressed and when it was rendered. derived from a set of samples. the median (p50) is shown to show the most common latency.
  • p75 — the 75th percentile of the input latency in the test run. 75% of the sampled inputs in this benchmark were processed faster than this value. this provides insight into the upper range of typical performance.
  • p90 — the 90th percentile of the input latency in the test run. 90% of the sampled inputs were faster than this. this metric helps identify slower interactions that occurred less frequently during the benchmark.
  • p99 — the 99th percentile of the input latency in the test run. only 1% of sampled inputs were slower than this. this represents the worst-case scenarios encountered during the benchmark, useful for identifying potential performance outliers.
  • blocking time — the total time during which the main thread was blocked, preventing user input and UI updates. this metric helps identify performance bottlenecks that may cause the interface to feel unresponsive.
  • test duration — how long the test run took to complete.

@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

⚡️ Editor Performance Report

Deploying studio and running performance tests…

@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 43.84% 31958 / 72881
🔵 Statements 36.86% 41659 / 113011
🔵 Functions 36.04% 6937 / 19248
🔵 Branches 29.36% 27729 / 94413
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/sanity/src/structure/panes/types.ts 0% 0% 0% 0%
packages/sanity/src/structure/panes/document/DocumentPaneProvider.tsx 0.48% 0% 0% 0.42% 85-809, 814-769, 816-833
Generated in workflow #63933 for commit 8c2b993 by the Vitest Coverage Report Action

@pedrobonamin pedrobonamin changed the title chore(structure): remove DocumentPaneProvider forcedVersion override chore(structure)!: remove DocumentPaneProvider forcedVersion override Aug 10, 2026
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.

1 participant