Skip to content

chore(deps): Bump sentry-conventions to 0.6.0#114750

Merged
buenaflor merged 3 commits intomasterfrom
buenaflor/chore/bump-sentry-conventions-0-6-0
May 5, 2026
Merged

chore(deps): Bump sentry-conventions to 0.6.0#114750
buenaflor merged 3 commits intomasterfrom
buenaflor/chore/bump-sentry-conventions-0-6-0

Conversation

@buenaflor
Copy link
Copy Markdown
Contributor

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

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>
Copilot AI review requested due to automatic review settings May 4, 2026 18:34
@buenaflor buenaflor requested review from a team as code owners May 4, 2026 18:34
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label May 4, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

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-conventions from >=0.5.0 / 0.5.0 to >=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.json to 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.

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"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

this was added back in in 0.6.0 so we dont need this workaround anymore

buenaflor and others added 2 commits May 4, 2026 20:57
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>
@buenaflor buenaflor merged commit 2010579 into master May 5, 2026
84 checks passed
@buenaflor buenaflor deleted the buenaflor/chore/bump-sentry-conventions-0-6-0 branch May 5, 2026 08:59
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants