feat(telemetry): add standalone telemetry for create-sanity#892
feat(telemetry): add standalone telemetry for create-sanity#892mttdnt wants to merge 10 commits intofeat/bundled-create-sanityfrom
create-sanity#892Conversation
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
|
Claude finished @mttdnt's task in 3m 40s —— View job Review
Missing changeset
|
📦 Bundle Stats —
|
| Metric | Value | vs feat/bundled-create-sanity (bc02ced) |
|---|---|---|
| Internal (raw) | 2.1 KB | - |
| Internal (gzip) | 799 B | - |
| Bundled (raw) | 1.54 MB | - |
| Bundled (gzip) | 394.7 KB | - |
| Import time | 870ms | +7ms, +0.8% |
bin:sanity
| Metric | Value | vs feat/bundled-create-sanity (bc02ced) |
|---|---|---|
| Internal (raw) | 975 B | - |
| Internal (gzip) | 460 B | - |
| Bundled (raw) | 9.84 MB | - |
| Bundled (gzip) | 1.77 MB | - |
| Import time | 1.96s | -48ms, -2.4% |
🗺️ 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 feat/bundled-create-sanity (bc02ced5)
| Metric | Value | vs feat/bundled-create-sanity (bc02ced) |
|---|---|---|
| Internal (raw) | 98.0 KB | - |
| Internal (gzip) | 23.3 KB | - |
| Bundled (raw) | 21.65 MB | - |
| Bundled (gzip) | 3.43 MB | - |
| Import time | 814ms | -6ms, -0.7% |
🗺️ 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 feat/bundled-create-sanity (bc02ced5)
| Metric | Value | vs feat/bundled-create-sanity (bc02ced) |
|---|---|---|
| Internal (raw) | 2.56 MB | +199.4 KB, +8.2% |
| Internal (gzip) | 605.4 KB | +50.1 KB, +9.0% |
| Bundled (raw) | 2.56 MB | +199.8 KB, +8.2% |
| Bundled (gzip) | 605.4 KB | +50.2 KB, +9.0% |
| Import time | ❌ TypeError: Cannot add property upath, object is not extensible | - |
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.
create-sanity
4817cd2 to
96a3752
Compare
0492ffa to
00daf50
Compare
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The oclif-based telemetryDisclosure now delegates to telemetryDisclosureStandalone, removing the @oclif/core dependency from the disclosure module. Both the main CLI and create-sanity use the same code path.
…lp behavior, telemetry errors
96a3752 to
efebeeb
Compare
00daf50 to
bc02ced
Compare

Description