Skip to content

chore(skills): Add bump-conventions skill#22271

Merged
andreiborza merged 5 commits into
developfrom
ab/add-bump-conventions-skill
Jul 15, 2026
Merged

chore(skills): Add bump-conventions skill#22271
andreiborza merged 5 commits into
developfrom
ab/add-bump-conventions-skill

Conversation

@andreiborza

Copy link
Copy Markdown
Member

What

Add a bump-conventions skill that bumps @sentry/conventions to a new version across every package.json in the monorepo, preserving the two pin styles (caret for runtime packages, exact for dev-package test suites), refreshing yarn.lock, and running the standard build/dedupe/verify chain.

Why

Bumping @sentry/conventions touches ~two dozen files and has two distinct pin conventions that are easy to get wrong by hand. The skill makes the bump a single repeatable step.

@andreiborza
andreiborza force-pushed the ab/add-bump-conventions-skill branch 2 times, most recently from 55e3de3 to 7cfea00 Compare July 14, 2026 22:09
Comment thread .agents/skills/bump-conventions/SKILL.md Outdated
Comment thread .agents/skills/bump-conventions/SKILL.md Outdated
@andreiborza
andreiborza force-pushed the ab/add-bump-conventions-skill branch 2 times, most recently from 8bc44dc to db12944 Compare July 14, 2026 23:04
Co-Authored-By: Opus 4.8 <noreply@anthropic.com>
@andreiborza
andreiborza force-pushed the ab/add-bump-conventions-skill branch from db12944 to 4a331a4 Compare July 14, 2026 23:08
@andreiborza
andreiborza marked this pull request as ready for review July 14, 2026 23:08
@andreiborza
andreiborza requested review from Lms24 and chargome July 14, 2026 23:08

@nicohrubec nicohrubec left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was #22270 the test run with this?

feat(deps): Bump `@sentry/conventions` to <NEW>
```

Follow the repo's commit and PR conventions (target `develop`, draft PR, `## What` / `## Why`). Do **not** create the commit yourself unless the user invokes `/commit-push-pr`.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope that's my local skill. Will remove, thanks for catching.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed the entire line.

Comment thread .agents/skills/bump-conventions/SKILL.md
@andreiborza
andreiborza requested a review from nicohrubec July 15, 2026 07:37

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 11ce45a. Configure here.

```bash
yarn circularDepCheck
yarn fix
yarn test

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Skips integration test verification

Medium Severity

The skill’s API-fix and final verification steps rely on yarn build:dev and root yarn test, but several dev-packages/*-integration-tests suites import @sentry/conventions/attributes directly and are excluded from root yarn test. A conventions API break there can pass this checklist yet still fail CI integration jobs.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 11ce45a. Configure here.

Comment on lines +47 to +49

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: The SKILL.md guide is missing a yarn build:dev step after fixing code changes and before running yarn test, causing tests to run against stale build artifacts.
Severity: MEDIUM

Suggested Fix

Update the SKILL.md instructions to add a yarn build:dev command after Step 4 (fixing breaking changes) and before Step 5 (verification with yarn test). This will ensure that the code is re-compiled and tests are run against the latest changes.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's
not valid.

Location: .agents/skills/bump-conventions/SKILL.md#L47-L49

Potential issue: The instructions in `SKILL.md` contain a logical sequencing error. Step
4 directs the user to fix breaking API changes in the source code, but Step 5 proceeds
directly to testing with `yarn test` without an intermediate build step. The `yarn test`
command runs against previously compiled JavaScript artifacts, which become stale after
the code is modified in Step 4. Consequently, the tests are not validating the recent
fixes but are instead running against outdated code. This issue is confirmed by a commit
message in the pull request, "Re-run build:dev after breaking-change fixes before
verification," which indicates the author's intent but was not reflected in the
documentation.

Did we get this right? 👍 / 👎 to inform future reviews.

Comment thread .agents/skills/bump-conventions/SKILL.md Outdated
Comment thread .agents/skills/bump-conventions/SKILL.md Outdated
andreiborza and others added 2 commits July 15, 2026 09:53
Co-authored-by: Charly Gomez <charly.gomez1310@gmail.com>
Co-authored-by: Charly Gomez <charly.gomez1310@gmail.com>
@andreiborza
andreiborza enabled auto-merge (squash) July 15, 2026 07:55
@andreiborza
andreiborza merged commit 22f1f13 into develop Jul 15, 2026
40 checks passed
@andreiborza
andreiborza deleted the ab/add-bump-conventions-skill branch July 15, 2026 07:56
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.

3 participants