chore(deps): Bump sentry-conventions to 0.6.0#114750
Merged
Conversation
Refresh the generated deprecated attributes data from the 0.6.0 upstream release and use the restored profile id convention constant in the span shim. Co-Authored-By: GPT-5.5 <noreply@openai.com> Co-authored-by: Cursor <cursoragent@cursor.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Updates Sentry’s sentry-conventions dependency to the 0.6.0 release and refreshes the vendored conventions metadata used by EAP span search/deprecation behavior, while aligning span shim logic with the restored ATTRIBUTE_NAMES.SENTRY_PROFILE_ID constant.
Changes:
- Bump
sentry-conventionsfrom>=0.5.0/0.5.0to>=0.6.0/0.6.0(including lockfile wheel/hash updates). - Switch the segment shim’s legacy profile attribute lookup to
ATTRIBUTE_NAMES.SENTRY_PROFILE_ID. - Regenerate
deprecated_attributes.jsonto include 0.6.0 backfill deprecations (AI/HTTP/transaction-related fields) and new/updated aliases.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
pyproject.toml |
Bumps the minimum sentry-conventions version to >=0.6.0. |
uv.lock |
Locks sentry-conventions to 0.6.0 and updates the wheel URL/hash accordingly. |
src/sentry/spans/consumers/process_segments/shim.py |
Uses ATTRIBUTE_NAMES.SENTRY_PROFILE_ID instead of a local string constant for profile context shimming. |
src/sentry/search/eap/spans/sentry_conventions/deprecated_attributes.json |
Refreshes the conventions-driven backfill deprecation metadata to match upstream 0.6.0. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
buenaflor
commented
May 4, 2026
Comment on lines
-23
to
-27
| # `sentry.profile_id` is Sentry's legacy transaction profile id. It is not part | ||
| # of sentry-conventions 0.5.0, which defines `sentry.profiler_id` for continuous | ||
| # profiling instead. | ||
| SENTRY_PROFILE_ID_ATTRIBUTE = "sentry.profile_id" | ||
|
|
Contributor
Author
There was a problem hiding this comment.
this was added back in in 0.6.0 so we dont need this workaround anymore
Update the trace item details convention fixture for the sentry-conventions 0.6.0 replacement of transaction.span_id. Co-Authored-By: GPT-5.5 <noreply@openai.com> Co-authored-by: Cursor <cursoragent@cursor.com>
Keep the trace item details expectation sorted after the sentry-conventions 0.6.0 segment id replacement. Co-Authored-By: GPT-5.5 <noreply@openai.com> Co-authored-by: Cursor <cursoragent@cursor.com>
cleptric
approved these changes
May 4, 2026
cleptric
pushed a commit
that referenced
this pull request
May 5, 2026
Bumps `sentry-conventions` from `>=0.5.0` to `>=0.6.0` and refreshes the generated `deprecated_attributes.json` from the matching upstream release. The 0.6.0 release adds backfill deprecations for AI, HTTP, and transaction fields. This also uses the restored `ATTRIBUTE_NAMES.SENTRY_PROFILE_ID` constant in the span shim. Made with [Cursor](https://cursor.com) --------- Co-authored-by: GPT-5.5 <noreply@openai.com> Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Bumps
sentry-conventionsfrom>=0.5.0to>=0.6.0and refreshes the generateddeprecated_attributes.jsonfrom the matching upstream release.The 0.6.0 release adds backfill deprecations for AI, HTTP, and transaction fields. This also uses the restored
ATTRIBUTE_NAMES.SENTRY_PROFILE_IDconstant in the span shim.Made with Cursor