Conversation
|
Claude finished @gu-stav's task in 2m 29s —— View job Review
Issues1. Lock leak when The workbench lock is acquired before // startWorkbenchDevServer.ts
const workbenchLock = acquireWorkbenchLock(...) // lock acquired here
// ...
const organizationId = await resolveOrganizationId(cliConfig) // throws → lock leaksFix: release the lock before re-throwing. let organizationId: string
try {
organizationId = await resolveOrganizationId(cliConfig)
} catch (err) {
workbenchLock.release()
throw err
}There's no test covering this failure path. Fix this → 2. const indexHtml = indexHtmlTemplate.replace(/%SANITY_WORKBENCH_PREFETCH_HINTS%/, prefetchHints)If const indexHtml = indexHtmlTemplate.replace(/%SANITY_WORKBENCH_PREFETCH_HINTS%/, () => prefetchHints)3. Non-null assertion on studioConfigPath: entries.relativeConfigLocation!,
4. Changeset summary issues Several changeset summaries should be updated before shipping:
|
📦 Bundle Stats —
|
| Metric | Value | vs main (37f9577) |
|---|---|---|
| Internal (raw) | 2.1 KB | +8 B, +0.4% |
| Internal (gzip) | 801 B | +2 B, +0.3% |
| Bundled (raw) | 10.94 MB | +176 B, +0.0% |
| Bundled (gzip) | 2.05 MB | +51 B, +0.0% |
| Import time | 817ms | -3ms, -0.3% |
bin:sanity
| Metric | Value | vs main (37f9577) |
|---|---|---|
| Internal (raw) | 975 B | - |
| Internal (gzip) | 460 B | - |
| Bundled (raw) | 9.84 MB | - |
| Bundled (gzip) | 1.77 MB | - |
| Import time | 2.25s | +323ms, +16.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 (37f95779)
| Metric | Value | vs main (37f9577) |
|---|---|---|
| Internal (raw) | 96.3 KB | +3.2 KB, +3.4% |
| Internal (gzip) | 22.6 KB | +688 B, +3.1% |
| Bundled (raw) | 21.60 MB | +2.9 KB, +0.0% |
| Bundled (gzip) | 3.42 MB | +729 B, +0.0% |
| Import time | 780ms | +2ms, +0.3% |
🗺️ 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 (37f95779)
| Metric | Value | vs main (37f9577) |
|---|---|---|
| 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.
Coverage Delta
Comparing 39 changed files against main @ Overall Coverage
|
Preview this PR with pkg.pr.newRun the Sanity CLInpx https://pkg.pr.new/sanity-io/cli/@sanity/cli@1d8897a <command>...Or upgrade project dependencies📦
|
770d32d to
f7b42c8
Compare
|
All alerts resolved. Learn more about Socket for GitHub. This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. |
|
The axios security warning will be resolved by module-federation/core#4644 I think |
|
Rebased onto |
ffc8344 to
f2b1294
Compare
5e50a1d to
1e221bd
Compare
Squashed merge of workbench commits up through 8535ccd (PR #1014) onto current main (737ab0b). Resolves conflicts between main's init refactor (#999), TypeScript default (#1004), preferred-pm replacement (#984), named-import refactor (#993), e2e workflow split (#995), post-release trigger removal (#1021), Slack action SHA bump (#1023), CSS bundle loader (#893), and init flag fix (#1015) on the main side, against the federation prompt, workbench dev server, and federation vite plugin work on the workbench side. This is the third-branch resolution; feat/workbench is untouched. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* fix(workbench): watch for changes of the cli config file * chore: update auto-generated changeset for PR #1022 --------- Co-authored-by: squiggler-app[bot] <265501495+squiggler-app[bot]@users.noreply.github.com>
* fix(workbench): forward CLI project id for local applications * chore: update auto-generated changeset for PR #1027 --------- Co-authored-by: squiggler-app[bot] <265501495+squiggler-app[bot]@users.noreply.github.com>
* perf(workbench): preload workbench and warmup dev-server files * chore: update auto-generated changeset for PR #1042 --------- Co-authored-by: squiggler-app[bot] <265501495+squiggler-app[bot]@users.noreply.github.com>
* fix(workbench): remove warmup for dependencies * chore: update auto-generated changeset for PR #1047 --------- Co-authored-by: squiggler-app[bot] <265501495+squiggler-app[bot]@users.noreply.github.com>
Description
Note
Please ignore this PR. It's just open to have visibility into the state of the feature branch.
What to review
Testing
Notes for release