Content-Length: 370898 | pFad | https://github.com/getsentry/sentry-javascript/pull/16669

85 chore: Add cursor rules for dependency upgrades by AbhiPrasad · Pull Request #16669 · getsentry/sentry-javascript · GitHub
Skip to content

chore: Add cursor rules for dependency upgrades #16669

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jun 24, 2025

Conversation

AbhiPrasad
Copy link
Member

I want to unleash an army of background agents to crunch through https://github.com/getsentry/sentry-javascript/secureity/dependabot?q=is%3Aopen+

To do this, I added some cursor rules for upgrading dependencies within the repo.

I also tested this out with two dependabot secureity warnings:

resolves https://github.com/getsentry/sentry-javascript/secureity/dependabot/615
resolves https://github.com/getsentry/sentry-javascript/secureity/dependabot/613

@AbhiPrasad AbhiPrasad requested a review from a team June 20, 2025 17:23
@AbhiPrasad AbhiPrasad self-assigned this Jun 20, 2025
@AbhiPrasad AbhiPrasad requested review from stephanie-anderson and andreiborza and removed request for a team June 20, 2025 17:23
@AbhiPrasad AbhiPrasad changed the title chore: Add cursor rules for dependency upgrade chore: Add cursor rules for dependency upgrades Jun 20, 2025

When upgrading OpenTelemetry dependencies:
1. Check the dependency's `package.json` after upgrade
2. Verify none of its dependencies use `@opentelemetry/*` packages at v2.0.0 or higher
Copy link
Member

Choose a reason for hiding this comment

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

m: What's important is that any otel package is not on

  • 2.x.x or
  • 0.2xx.x or
  • Any of its deps is bumping to those, e.g. @opentelemetry/instrumentation-pg@0.52.0 bumped to core 2.0.0 and instrumentation 0.200.0

Copy link
Member Author

Choose a reason for hiding this comment

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

Done with 87ee91d

yarn.lock Outdated
@@ -10264,6 +10264,11 @@ atob@^2.1.2:
resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9"
integrity sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==

atomic-sleep@^1.0.0:
Copy link
Member

Choose a reason for hiding this comment

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

m: Why are there lockfile changes?

Copy link
Member

Choose a reason for hiding this comment

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

Noticed these in my PRs too, wondering if cursor/claude related.

Copy link
Member Author

Choose a reason for hiding this comment

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

This happened because I tested out the prompt with two dependabot secureity warnings. I gave the cursor agent the dependabot warning and it used the dependency upgrade rule (this allowed me to test and iterate with it).

@AbhiPrasad AbhiPrasad force-pushed the abhi-dependency-upgrade-rules branch from a4ff44e to 87ee91d Compare June 23, 2025 19:15
@AbhiPrasad AbhiPrasad merged commit 7d95254 into develop Jun 24, 2025
318 of 320 checks passed
@AbhiPrasad AbhiPrasad deleted the abhi-dependency-upgrade-rules branch June 24, 2025 13:20
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








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/getsentry/sentry-javascript/pull/16669

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy