Skip to content

Add AI rules files for Profiling#5034

Open
lbloder wants to merge 7 commits intomainfrom
feat/profiling-cursor-rules
Open

Add AI rules files for Profiling#5034
lbloder wants to merge 7 commits intomainfrom
feat/profiling-cursor-rules

Conversation

@lbloder
Copy link
Collaborator

@lbloder lbloder commented Jan 19, 2026

📜 Description

💡 Motivation and Context

💚 How did you test it?

📝 Checklist

  • I added GH Issue ID & Linear ID
  • I added tests to verify the changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • Review from the native team if needed.
  • No breaking change or entry added to the changelog.
  • No breaking change for hybrid SDKs or communicated to hybrid SDKs.

🔮 Next steps

@github-actions
Copy link
Contributor

github-actions bot commented Jan 19, 2026

Fails
🚫 Please consider adding a changelog entry for the next release.
Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Instructions and example for changelog

Please add an entry to CHANGELOG.md to the "Unreleased" section. Make sure the entry includes this PR's number.

Example:

## Unreleased

### Features

- Add AI rules files for Profiling ([#5034](https://github.com/getsentry/sentry-java/pull/5034))

If none of the above apply, you can opt out of this check by adding #skip-changelog to the PR description or adding a skip-changelog label.

Generated by 🚫 dangerJS against 66095e3

@github-actions
Copy link
Contributor

github-actions bot commented Jan 20, 2026

Semver Impact of This PR

None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

  • (anr) Profile main thread when ANR and report ANR profiles to Sentry by markushi in #4899

Other

  • Add AI rules files for Profiling by lbloder in #5034

🤖 This preview updates automatically when you update the PR.

@lbloder lbloder marked this pull request as ready for review January 23, 2026 09:52
@lbloder lbloder mentioned this pull request Jan 26, 2026
19 tasks
Copy link
Member

@adinauer adinauer left a comment

Choose a reason for hiding this comment

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

Not sure whether it's best to have Android and JVM profiling in the same file or whether it's better to create separate files. ATM most of the content is specific to JVM profiling.

We could have:

  • profiling_jvm.mdc
  • profiling_anrdoid.mdc

Not sure if subdirs would work across agents, e.g. jvm/profiling.mdc and android/profiling.mdc.

---
# Java SDK Profiling

The Sentry Java SDK provides continuous profiling through the `sentry-async-profiler` module, which integrates async-profiler for low-overhead CPU profiling.
Copy link
Member

Choose a reason for hiding this comment

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

This part is already specific to JVM profiling. I'd move this under a JVM section.

@sentry
Copy link

sentry bot commented Mar 9, 2026

Sentry Build Distribution

App Version Configuration
SDK Size 8.34.1 (1) release

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.

2 participants