@@ -6,7 +6,7 @@ argument-hint: '[version] # e.g. 0.16.0; defaults to latest on npm'
# Bump `@sentry/conventions`
Bump `@sentry/conventions` across every `package.json` at once, keeping the two pin styles consistent, then refresh `yarn.lock`.
Bump `@sentry/conventions` across every `package.json` at once, keeping the two pin styles consistent, then refresh `pnpm-lock.yaml`.
## 1. Determine the target version
Expand All
@@ -28,31 +28,31 @@ Edit only the version string; leave the caret alone. If a file declares a versio
## 3. Refresh the lockfile and build
```bash
yarn install
yarn dedupe-deps:fix
yarn build:dev
pnpm install
pnpm run dedupe-deps:fix
pnpm run build:dev
```
`yarn install` collapses the combined `yarn.lock` entry (`"@sentry/conventions@<OLD>", "@sentry/conventions@^<OLD>":`) onto the new version. Confirm no stale `<OLD>` resolution remains:
`pnpm install` resolves both pin styles to the new version in `pnpm-lock.yaml`. Confirm no stale `<OLD>` resolution remains:
```bash
grep -n '@sentry/conventions@' yarn.lock
grep -n '@sentry/conventions@' pnpm-lock.yaml
```
## 4. Check for breaking API changes
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`.
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`.
Use LSP `findReferences` on the changed export to catch every call site. Do not paper over a rename with a cast.
After fixing, re-run `yarn build:dev` and confirm it passes before verifying, so the next step runs against fresh build output.
After fixing, re-run `pnpm run build:dev` and confirm it passes before verifying, so the next step runs against fresh build output.
@@ -39,7 +39,7 @@ For each modified package, rebuild its tarball:
```bash
cd packages/<package-name>
yarn build && yarn build:tarball
pnpm run build && pnpm run build:tarball
cd ../..
```
Expand All
@@ -49,7 +49,7 @@ If the user says "I changed @sentry/node" or similar, rebuild just that package:
```bash
cd packages/node
yarn build && yarn build:tarball
pnpm run build && pnpm run build:tarball
cd ../..
```
Expand All
@@ -75,14 +75,14 @@ Navigate to the e2e-tests directory and run the test:
```bash
cd dev-packages/e2e-tests
yarn test:run <app-name>
pnpm run test:run <app-name>
```
If a variant was specified:
```bash
cd dev-packages/e2e-tests
yarn test:run <app-name> --variant <variant-name>
pnpm run test:run <app-name> --variant <variant-name>
```
### Step 5: Report Results
Expand DownExpand Up
@@ -114,9 +114,9 @@ All tests completed successfully. Your SDK changes work correctly with this test
## Error Handling
- **No tarballs found**: Run `yarn build && yarn build:tarball` at repository root
- **No tarballs found**: Run `pnpm run build && pnpm run build:tarball` at repository root
- **Test app not found**: List available apps and ask user to clarify
- **Packed tarballs missing**: Run `yarn build:tarball` at the repo root, then `yarn test:prepare` in `dev-packages/e2e-tests`
- **Packed tarballs missing**: Run `pnpm run build:tarball` at the repo root, then `pnpm run test:prepare` in `dev-packages/e2e-tests`
- **Build failures**: Fix build errors before running tests
- **`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
Expand DownExpand Up
@@ -148,12 +148,12 @@ ls dev-packages/e2e-tests/test-applications/
@@ -73,7 +73,7 @@ A single `-m` only sets the subject — the footer would be silently dropped, an
**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.
**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.
**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.
### Step 7: Open a PR
Expand DownExpand Up
@@ -116,7 +116,7 @@ Your budget is measured in _agent turns_ (assistant messages), not individual to
- 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.
- In each turn, issue all independent tool calls in parallel rather than spreading them across multiple turns.
- Do NOT re-read a file you just edited to "verify" — the edit either succeeded or errored.
- 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.
- 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.
- If a search returned what you need, stop searching. Do not look for confirmation.
## Turn budget
Expand Down
Loading
Oops, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.