Skip to content

Commit cc40f95

Browse files
authored
Merge pull request #25628 from getsentry/prepare-release/11.9.0
meta(changelog): Update changelog for 11.9.0
2 parents 39c5ba5 + 4689484 commit cc40f95

1,243 files changed

Lines changed: 56281 additions & 35005 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.agents/skills/add-cdn-bundle/SKILL.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Given a feature combination, derive these variants:
5050
After making changes:
5151

5252
```bash
53-
yarn lint
54-
cd packages/browser && yarn build:dev
55-
cd packages/browser && yarn test
53+
pnpm run lint
54+
cd packages/browser && pnpm run build:dev
55+
cd packages/browser && pnpm run test
5656
```

‎.agents/skills/backport-pr/SKILL.md‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -113,28 +113,28 @@ git cherry-pick <mergeCommit-oid>
113113
### 4. Build and verify
114114

115115
Run the repo's pre-commit checks. Do this **before** finalizing the commit in step 5, because
116-
`yarn format` writes changes to the working tree — those fixes must end up inside the backport
116+
`pnpm run format` writes changes to the working tree — those fixes must end up inside the backport
117117
commit, not left dangling after it (otherwise you'd push an unformatted tree and CI would fail
118118
on a commit that doesn't match your local state).
119119

120120
```bash
121-
yarn format
122-
yarn lint:fix
123-
yarn build:dev
121+
pnpm run format
122+
pnpm run lint:fix
123+
pnpm run build:dev
124124
```
125125

126-
Use `lint:fix`, not `lint` — plain `yarn lint` only reports, so auto-fixable issues would
126+
Use `lint:fix`, not `lint` — plain `pnpm run lint` only reports, so auto-fixable issues would
127127
otherwise survive to fail CI.
128128

129-
Run tests scoped to the touched packages when possible (full `yarn test` if unsure). If the
129+
Run tests scoped to the touched packages when possible (full `pnpm run test` if unsure). If the
130130
target major's toolchain differs and a check fails for reasons unrelated to the change, note
131131
it for the user rather than silently skipping.
132132

133133
### 5. Finalize the commit (fold in verification changes)
134134

135135
First stage the format/lint fixes. Use `git add -u` so only tracked files the cherry-pick and
136136
verification touched are staged, not unrelated local edits — sanity-check with `git status`
137-
first if `yarn format` may have reformatted files outside the backport.
137+
first if `pnpm run format` may have reformatted files outside the backport.
138138

139139
```bash
140140
git add -u
@@ -172,7 +172,7 @@ git status --porcelain # expect no output
172172

173173
### 6. Diff the backport against the original PR
174174

175-
Even a cherry-pick that reported no conflicts can end up different — `yarn format`/`lint:fix`
175+
Even a cherry-pick that reported no conflicts can end up different — `pnpm run format`/`lint:fix`
176176
on the older toolchain, dropped hunks, adaptations you made in step 3. Compare the final commit
177177
against the original before writing the PR body, rather than trusting your memory of step 3:
178178

‎.agents/skills/bump-conventions/SKILL.md‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ argument-hint: '[version] # e.g. 0.16.0; defaults to latest on npm'
66

77
# Bump `@sentry/conventions`
88

9-
Bump `@sentry/conventions` across every `package.json` at once, keeping the two pin styles consistent, then refresh `yarn.lock`.
9+
Bump `@sentry/conventions` across every `package.json` at once, keeping the two pin styles consistent, then refresh `pnpm-lock.yaml`.
1010

1111
## 1. Determine the target version
1212

@@ -28,31 +28,31 @@ Edit only the version string; leave the caret alone. If a file declares a versio
2828
## 3. Refresh the lockfile and build
2929

3030
```bash
31-
yarn install
32-
yarn dedupe-deps:fix
33-
yarn build:dev
31+
pnpm install
32+
pnpm run dedupe-deps:fix
33+
pnpm run build:dev
3434
```
3535

36-
`yarn install` collapses the combined `yarn.lock` entry (`"@sentry/conventions@<OLD>", "@sentry/conventions@^<OLD>":`) onto the new version. Confirm no stale `<OLD>` resolution remains:
36+
`pnpm install` resolves both pin styles to the new version in `pnpm-lock.yaml`. Confirm no stale `<OLD>` resolution remains:
3737

3838
```bash
39-
grep -n '@sentry/conventions@' yarn.lock
39+
grep -n '@sentry/conventions@' pnpm-lock.yaml
4040
```
4141

4242
## 4. Check for breaking API changes
4343

44-
A `conventions` bump can rename or remove exported attribute constants. If `yarn build:dev` fails, inspect the type errors and update usages in `src/` **and** `test/`. Heaviest consumers: `packages/core`, `packages/opentelemetry`, `packages/aws-serverless`.
44+
A `conventions` bump can rename or remove exported attribute constants. If `pnpm run build:dev` fails, inspect the type errors and update usages in `src/` **and** `test/`. Heaviest consumers: `packages/core`, `packages/opentelemetry`, `packages/aws-serverless`.
4545

4646
Use LSP `findReferences` on the changed export to catch every call site. Do not paper over a rename with a cast.
4747

48-
After fixing, re-run `yarn build:dev` and confirm it passes before verifying, so the next step runs against fresh build output.
48+
After fixing, re-run `pnpm run build:dev` and confirm it passes before verifying, so the next step runs against fresh build output.
4949

5050
## 5. Final verification
5151

5252
```bash
53-
yarn circularDepCheck
54-
yarn fix
55-
yarn test
53+
pnpm run circularDepCheck
54+
pnpm run fix
55+
pnpm run test
5656
```
5757

5858
## Commit

‎.agents/skills/bump-size-limit/SKILL.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ When the size-limit GitHub Action fails, it means one or more bundle scenarios e
1414
A full build is required because size-limit measures the actual compiled artifacts.
1515

1616
```bash
17-
yarn build
17+
pnpm run build
1818
```
1919

2020
This takes a few minutes. CDN bundles in `packages/browser/build/bundles/` must be up to date — a dev build is not sufficient.
2121

2222
### Step 2: Run the size check in JSON mode
2323

2424
```bash
25-
yarn test:size-limit
25+
pnpm run test:size-limit
2626
```
2727

2828
The JSON output is an array of objects. Each object has:
@@ -55,7 +55,7 @@ Only change limits for scenarios that actually failed. Do not touch passing scen
5555
Re-run size-limit to confirm everything passes:
5656

5757
```bash
58-
yarn test:size-limit
58+
pnpm run test:size-limit
5959
```
6060

6161
If any scenario still fails (e.g., due to rounding edge cases), bump that specific limit by another 1 KB and re-run.

‎.agents/skills/dotagents/references/config-schema.md‎

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
## Top-Level Structure
44

55
```toml
6-
version = 1 # Required, must be 1
7-
gitignore = true # Optional, default true
8-
agents = ["claude", "cursor"] # Optional, agent targets
9-
10-
[project] # Optional
11-
[trust] # Optional
12-
[[skills]] # Optional, array of skill entries
13-
[[mcp]] # Optional, array of MCP servers
14-
[[hooks]] # Optional, array of hook declarations
6+
version = 1 # Required, must be 1
7+
gitignore = true # Optional, default true
8+
agents = ["claude", "cursor"] # Optional, agent targets
9+
10+
[project] # Optional
11+
[trust] # Optional
12+
[[skills]] # Optional, array of skill entries
13+
[[mcp]] # Optional, array of MCP servers
14+
[[hooks]] # Optional, array of hook declarations
1515
```
1616

1717
## Top-Level Fields
@@ -26,14 +26,14 @@ agents = ["claude", "cursor"] # Optional, agent targets
2626

2727
```toml
2828
[project]
29-
name = "my-project" # Optional, display name
29+
name = "my-project" # Optional, display name
3030
```
3131

3232
## Symlinks Section
3333

3434
```toml
3535
[symlinks]
36-
targets = [".claude", ".cursor"] # Legacy: explicit symlink targets
36+
targets = [".claude", ".cursor"] # Legacy: explicit symlink targets
3737
```
3838

3939
When `agents` is set, symlink targets are derived automatically. The `[symlinks]` section is for backward compatibility.
@@ -44,10 +44,10 @@ When `agents` is set, symlink targets are derived automatically. The `[symlinks]
4444

4545
```toml
4646
[[skills]]
47-
name = "find-bugs" # Required, unique skill identifier
48-
source = "getsentry/skills" # Required, skill source
49-
ref = "v1.0.0" # Optional, pin to tag/branch/commit
50-
path = "tools/my-skill" # Optional, subdirectory within repo
47+
name = "find-bugs" # Required, unique skill identifier
48+
source = "getsentry/skills" # Required, skill source
49+
ref = "v1.0.0" # Optional, pin to tag/branch/commit
50+
path = "tools/my-skill" # Optional, subdirectory within repo
5151
```
5252

5353
| Field | Type | Required | Description |
@@ -61,10 +61,10 @@ path = "tools/my-skill" # Optional, subdirectory within repo
6161

6262
```toml
6363
[[skills]]
64-
name = "*" # Wildcard: install all skills from source
65-
source = "getsentry/skills" # Required
66-
ref = "v1.0.0" # Optional
67-
exclude = ["deprecated-skill"] # Optional, skills to skip
64+
name = "*" # Wildcard: install all skills from source
65+
source = "getsentry/skills" # Required
66+
ref = "v1.0.0" # Optional
67+
exclude = ["deprecated-skill"] # Optional, skills to skip
6868
```
6969

7070
| Field | Type | Required | Description |
@@ -78,13 +78,13 @@ exclude = ["deprecated-skill"] # Optional, skills to skip
7878

7979
```toml
8080
[trust]
81-
allow_all = true # Allow any source
81+
allow_all = true # Allow any source
8282

8383
# OR restrict to specific sources:
8484
[trust]
85-
github_orgs = ["getsentry"] # GitHub org names
86-
github_repos = ["ext-org/repo"] # Exact owner/repo pairs
87-
git_domains = ["git.corp.example.com"] # Git URL domains
85+
github_orgs = ["getsentry"] # GitHub org names
86+
github_repos = ["ext-org/repo"] # Exact owner/repo pairs
87+
git_domains = ["git.corp.example.com"] # Git URL domains
8888
```
8989

9090
| Field | Type | Description |
@@ -102,17 +102,17 @@ No `[trust]` section = allow all sources (backward compatible).
102102

103103
```toml
104104
[[mcp]]
105-
name = "github" # Required, unique server name
106-
command = "npx" # Required for stdio
107-
args = ["-y", "@modelcontextprotocol/server-github"] # Optional
108-
env = ["GITHUB_TOKEN"] # Optional, env vars to pass through
105+
name = "github" # Required, unique server name
106+
command = "npx" # Required for stdio
107+
args = ["-y", "@modelcontextprotocol/server-github"] # Optional
108+
env = ["GITHUB_TOKEN"] # Optional, env vars to pass through
109109
```
110110

111111
### HTTP Transport
112112

113113
```toml
114114
[[mcp]]
115-
name = "remote-api" # Required, unique server name
115+
name = "remote-api" # Required, unique server name
116116
url = "https://mcp.example.com/sse" # Required for HTTP
117117
```
118118

@@ -129,9 +129,9 @@ url = "https://mcp.example.com/sse" # Required for HTTP
129129

130130
```toml
131131
[[hooks]]
132-
event = "PreToolUse" # Required
133-
matcher = "Bash" # Optional, tool name filter
134-
command = "my-lint-check" # Required
132+
event = "PreToolUse" # Required
133+
matcher = "Bash" # Optional, tool name filter
134+
command = "my-lint-check" # Required
135135
```
136136

137137
| Field | Type | Required | Description |

‎.agents/skills/e2e/SKILL.md‎

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ For each modified package, rebuild its tarball:
3939

4040
```bash
4141
cd packages/<package-name>
42-
yarn build && yarn build:tarball
42+
pnpm run build && pnpm run build:tarball
4343
cd ../..
4444
```
4545

@@ -49,7 +49,7 @@ If the user says "I changed @sentry/node" or similar, rebuild just that package:
4949

5050
```bash
5151
cd packages/node
52-
yarn build && yarn build:tarball
52+
pnpm run build && pnpm run build:tarball
5353
cd ../..
5454
```
5555

@@ -75,14 +75,14 @@ Navigate to the e2e-tests directory and run the test:
7575

7676
```bash
7777
cd dev-packages/e2e-tests
78-
yarn test:run <app-name>
78+
pnpm run test:run <app-name>
7979
```
8080

8181
If a variant was specified:
8282

8383
```bash
8484
cd dev-packages/e2e-tests
85-
yarn test:run <app-name> --variant <variant-name>
85+
pnpm run test:run <app-name> --variant <variant-name>
8686
```
8787

8888
### Step 5: Report Results
@@ -114,11 +114,11 @@ All tests completed successfully. Your SDK changes work correctly with this test
114114

115115
## Error Handling
116116

117-
- **No tarballs found**: Run `yarn build && yarn build:tarball` at repository root
117+
- **No tarballs found**: Run `pnpm run build && pnpm run build:tarball` at repository root
118118
- **Test app not found**: List available apps and ask user to clarify
119-
- **Packed tarballs missing**: Run `yarn build:tarball` at the repo root, then `yarn test:prepare` in `dev-packages/e2e-tests`
119+
- **Packed tarballs missing**: Run `pnpm run build:tarball` at the repo root, then `pnpm run test:prepare` in `dev-packages/e2e-tests`
120120
- **Build failures**: Fix build errors before running tests
121-
- **pnpm errors such as `packages field missing or empty`**: The app needs the pnpm version in its `volta.pnpm`. Run with Volta, which installs that version
121+
- **`ERR_PNPM_IGNORED_BUILDS`**: A dependency has a build script that the app's `allowBuilds` does not list. Add it to the app's `pnpm-workspace.yaml`: `true` if the app needs the script, `false` if the script only prints a message. `pnpm approve-builds <pkg>` (or `!<pkg>` for `false`) in the app's temp copy writes the entry there, so copy it back to the app
122122

123123
## Common Test Applications
124124

@@ -148,12 +148,12 @@ ls dev-packages/e2e-tests/test-applications/
148148
# Step 1: Detect recent changes to packages/node
149149
# Step 2: Rebuild the modified package
150150
cd packages/node
151-
yarn build && yarn build:tarball
151+
pnpm run build && pnpm run build:tarball
152152
cd ../..
153153

154154
# Step 3: Run the test
155155
cd dev-packages/e2e-tests
156-
yarn test:run node-express-esm-loader
156+
pnpm run test:run node-express-esm-loader
157157
```
158158

159159
### Example 2: First-time test run
@@ -163,11 +163,11 @@ yarn test:run node-express-esm-loader
163163

164164
# Step 1: Check for existing tarballs
165165
# Step 2: None found, build all packages
166-
yarn build && yarn build:tarball
166+
pnpm run build && pnpm run build:tarball
167167

168168
# Step 3: Run the test
169169
cd dev-packages/e2e-tests
170-
yarn test:run nextjs-app-dir
170+
pnpm run test:run nextjs-app-dir
171171
```
172172

173173
### Example 3: With variant
@@ -178,7 +178,7 @@ yarn test:run nextjs-app-dir
178178
# Step 1: Rebuild if needed
179179
# Step 2: Run with variant
180180
cd dev-packages/e2e-tests
181-
yarn test:run nextjs-app-dir --variant nextjs-15
181+
pnpm run test:run nextjs-app-dir --variant nextjs-15
182182
```
183183

184184
## Tips

‎.agents/skills/fix-issue/SKILL.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ A single `-m` only sets the subject — the footer would be silently dropped, an
7373

7474
**Commit message format:** Conventional Commits — `<type>` is one of `test`, `fix`, `feat`, `ref`, `chore`, `docs`, `ci`. Look at recent commits (`git log --oneline -10`) for examples. The PR body in Step 7 will also include `Fixes #<issue-number>` as a belt-and-suspenders — GitHub recognizes the closing keyword in either place.
7575

76-
**Do NOT run `yarn format` / `yarn lint` / `yarn test` / `yarn build:dev` before committing.** `CLAUDE.md` / `AGENTS.md` list a "Before Every Commit" checklist that includes those, but this workflow does not allowlist `yarn` (per Step 5 / Turn economy). CI will run lint and tests on the opened PR; rely on that. The pre-commit checklist in those docs does not apply to this skill.
76+
**Do NOT run `pnpm run format` / `pnpm run lint` / `pnpm run test` / `pnpm run build:dev` before committing.** `CLAUDE.md` / `AGENTS.md` list a "Before Every Commit" checklist that includes those, but this workflow does not allowlist `pnpm` (per Step 5 / Turn economy). CI will run lint and tests on the opened PR; rely on that. The pre-commit checklist in those docs does not apply to this skill.
7777

7878
### Step 7: Open a PR
7979

@@ -116,7 +116,7 @@ Your budget is measured in _agent turns_ (assistant messages), not individual to
116116
- Plan before acting. Prefer targeted commands over broad ones: read specific line ranges instead of whole files; grep for the exact symbol instead of listing directories.
117117
- In each turn, issue all independent tool calls in parallel rather than spreading them across multiple turns.
118118
- Do NOT re-read a file you just edited to "verify" — the edit either succeeded or errored.
119-
- Do NOT run tests, linters, formatters, or builds. This workflow does not allowlist `yarn`/`npm`/`npx`; verification is static-only per Step 5. Attempting a test command will be blocked and waste a turn.
119+
- Do NOT run tests, linters, formatters, or builds. This workflow does not allowlist `pnpm`/`npm`/`npx`; verification is static-only per Step 5. Attempting a test command will be blocked and waste a turn.
120120
- If a search returned what you need, stop searching. Do not look for confirmation.
121121

122122
## Turn budget

0 commit comments

Comments
 (0)