8000 [pull] master from getsentry:master by pull[bot] · Pull Request #102 · Stars1233/sentry-python · GitHub 8000
[go: up one dir, main page]

Skip to content

Conversation

@pull
Copy link
@pull pull bot commented Nov 25, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )


Summary by cubic

Fixes a regression by removing unsupported span statuses and standardizing on internal_error across the SDK and GenAI integrations. Also adds an initial changelog config for release notes. Resolves getsentry#5060 and aligns with Linear PY-1961.

  • Bug Fixes

    • Removed SPANSTATUS.ERROR and SPANSTATUS.UNSET; now set errors to SPANSTATUS.INTERNAL_ERROR in tracing and in Anthropic, Google GenAI, and OpenAI Agents integrations.
    • Updated tests to expect internal_error for spans and transactions.
  • Migration

    • Replace SPANSTATUS.ERROR with SPANSTATUS.INTERNAL_ERROR.
    • Stop using SPANSTATUS.UNSET.

Written for commit adab5ac. Summary will update automatically on new commits.

sentrivana and others added 2 commits November 25, 2025 16:11
### Description
Craft will support generating changelogs from PR labels in
getsentry/craft#628. Add an initial config for
our repo.

#### Issues
<!--
* resolves: #1234
* resolves: LIN-1234
-->

#### Reminders
- Please add tests to validate your changes, and lint your code using
`tox -e linters`.
- Add GH Issue ID _&_ Linear ID (if applicable)
- PR title should use [conventional
commit](https://develop.sentry.dev/engineering-practices/commit-messages/#type)
style (`feat:`, `fix:`, `ref:`, `meta:`)
- For external contributors:
[CONTRIBUTING.md](https://github.com/getsentry/sentry-python/blob/master/CONTRIBUTING.md),
[Sentry SDK development docs](https://develop.sentry.dev/sdk/), [Discord
community](https://discord.gg/Ww9hbqr)
### Description

The new `ERROR` and `UNSET` statuses introduced in #4820 are [not
supported by
relay](https://github.com/getsentry/relay/blob/8e6c963cdd79dc9ba2bebc21518a3553f70feeb3/relay-base-schema/src/spans.rs#L19-L94)
and caused a regression.

#### Issues

* resolves: #5060
* resolves: PY-1961
@pull pull bot locked and limited conversation to collaborators Nov 25, 2025
@pull pull bot added the ⤵️ pull label Nov 25, 2025
@pull pull bot merged commit adab5ac into Stars1233:master Nov 25, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix bad SPANSTATUS.ERROR

2 participants

0