Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nc9/sentry-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: getsentry/sentry-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 20 commits
  • 35 files changed
  • 6 contributors

Commits on Jan 30, 2026

  1. Configuration menu
    Copy the full SHA
    30e3f8c View commit details
    Browse the repository at this point in the history
  2. fix(arq): handle settings_cls passed as keyword argument (getsentry#5393

    )
    
    The `_sentry_create_worker` patch assumed `settings_cls` is always
    passed as positional arg (`args[0]`), causing IndexError when users call
    `create_worker(settings_cls=WorkerSettings)`.
    
    Now checks both `args[0]` and `kwargs.get("settings_cls")`.
    
    Test added in `tests/integrations/arq/test_arq.py` as
    `init_arq_with_kwarg_settings`
    
    ### Description
    `settings_cls` is now checked from kwargs if no args
    
    ```py
    settings_cls = args[0] if args else kwargs.get("settings_cls")
    ```
    
    #### Issues
    * None
    
    ---------
    
    Co-authored-by: Ivana Kellyer <ivana.kellyer@sentry.io>
    nc9 and sentrivana authored Jan 30, 2026
    Configuration menu
    Copy the full SHA
    e061eb1 View commit details
    Browse the repository at this point in the history
  3. feat(span-streaming): Add experimental trace_lifecycle switch (1) (g…

    …etsentry#5397)
    
    - Add a new experimental `trace_lifecycle` option (used in follow up PRs)
    - Add a new util function for checking which mode the SDK is in
    
    Chipping away at getsentry#5317 to
    transform it into reviewable and mergeable PRs.
    sentrivana authored Jan 30, 2026
    Configuration menu
    Copy the full SHA
    97ee0b1 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2026

  1. feat(span-streaming): Add span batcher (getsentry#5398)

    - Add a specialized `SpanBatcher` that batches and sends spans by trace
    ID. Hook it up to the client.
    - Add a skeleton of a new `StreamedSpan` class that will eventually
    replace the current `Span` class.
    
    Chipping away at getsentry#5317 to
    transform it into reviewable and mergeable PRs.
    sentrivana authored Feb 2, 2026
    Configuration menu
    Copy the full SHA
    67721df View commit details
    Browse the repository at this point in the history
  2. test(mcp): Simulate stdio transport with memory streams (getsentry#5329)

    Stop mocking transport layer of the `mcp` package in tests.
    
    Convert functions annotated with `@mcp.call_tool`, and analogous resource and prompt decorators, to async if, and only if, an exception is raised when going through the transport layer.
    
    Remove `test_resource_without_protocol`, `test_request_context_no_context` and `test_async_handlers_mixed`, because they are testing unreachable states. The former two are only possible when bypassing the transport layer. The latter is impossible because an exception is raised when invoking the synchronous `@mcp.call_tool`-annotated function.
    alexander-alderman-webb authored Feb 2, 2026
    Configuration menu
    Copy the full SHA
    7d9bf9a View commit details
    Browse the repository at this point in the history
  3. feat(span-streaming): Add spans to telemetry pipeline, add span name …

    …and attributes (getsentry#5399)
    
    - Add streamed spans to telemetry pipeline
    - Add attributes and associated API to `StreamedSpan` since they're used
    in the pipeline
    - Add span name too, to round up the basic span API
    
    Chipping away at getsentry#5317 to
    transform it into reviewable and mergeable PRs.
    sentrivana authored Feb 2, 2026
    Configuration menu
    Copy the full SHA
    09c8866 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0357ef0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0c38bd5 View commit details
    Browse the repository at this point in the history
  6. test(mcp): Use TestClient for Streamable HTTP (getsentry#5383)

    Stop mocking transport layer of the `mcp` package in tests.
    
    Convert functions annotated with `@mcp.call_tool`, and analogous resource and prompt decorators, to async if, and only if, an exception is raised when going through the transport layer.
    alexander-alderman-webb authored Feb 2, 2026
    Configuration menu
    Copy the full SHA
    54207a2 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2a4a289 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    33cb268 View commit details
    Browse the repository at this point in the history
  9. fix(span-streaming): Always preserialize attributes (getsentry#5407)

    We were not preserializing attributes set directly on span creation.
    sentrivana authored Feb 2, 2026
    Configuration menu
    Copy the full SHA
    b3e9c10 View commit details
    Browse the repository at this point in the history
  10. test(mcp): Use AsyncClient for SSE (getsentry#5396)

    Stop mocking transport layer of the `mcp` package in tests.
    alexander-alderman-webb authored Feb 2, 2026
    Configuration menu
    Copy the full SHA
    6a24fc9 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    1566e62 View commit details
    Browse the repository at this point in the history
  12. test(fastmcp): Remove test_fastmcp_without_request_context() (getse…

    …ntry#5412)
    
    The request context is set immediately before running the handler we patch, so the test is verifying behavior for an unreachable state.
    alexander-alderman-webb authored Feb 2, 2026
    Configuration menu
    Copy the full SHA
    55e0b59 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    3455a42 View commit details
    Browse the repository at this point in the history
  14. build(deps): bump getsentry/craft from 2.20.0 to 2.20.1 (getsentry#5402)

    Bumps [getsentry/craft](https://github.com/getsentry/craft) from 2.20.0
    to 2.20.1.
    <details>
    <summary>Release notes</summary>
    <p><em>Sourced from <a
    href="https://github.com/getsentry/craft/releases">getsentry/craft's
    releases</a>.</em></p>
    <blockquote>
    <h2>2.20.1</h2>
    <h3>Bug Fixes 🐛</h3>
    <ul>
    <li>(action) Expand changelog by default in publish issues by <a
    href="https://github.com/BYK"><code>@​BYK</code></a> in <a
    href="https://redirect.github.com/getsentry/craft/pull/731">#731</a></li>
    </ul>
    <h3>Documentation 📚</h3>
    <ul>
    <li>Update documentation for changes since 2.17.0 by <a
    href="https://github.com/BYK"><code>@​BYK</code></a> in <a
    href="https://redirect.github.com/getsentry/craft/pull/735">#735</a></li>
    <li>Update base path for craft.sentry.dev domain by <a
    href="https://github.com/BYK"><code>@​BYK</code></a> in <a
    href="https://redirect.github.com/getsentry/craft/pull/734">#734</a></li>
    </ul>
    </blockquote>
    </details>
    <details>
    <summary>Changelog</summary>
    <p><em>Sourced from <a
    href="https://github.com/getsentry/craft/blob/master/CHANGELOG.md">getsentry/craft's
    changelog</a>.</em></p>
    <blockquote>
    <h1>Changelog</h1>
    <h2>2.20.1</h2>
    <h3>Bug Fixes 🐛</h3>
    <ul>
    <li>(action) Expand changelog by default in publish issues by <a
    href="https://github.com/BYK"><code>@​BYK</code></a> in <a
    href="https://redirect.github.com/getsentry/craft/pull/731">#731</a></li>
    </ul>
    <h3>Documentation 📚</h3>
    <ul>
    <li>Update documentation for changes since 2.17.0 by <a
    href="https://github.com/BYK"><code>@​BYK</code></a> in <a
    href="https://redirect.github.com/getsentry/craft/pull/735">#735</a></li>
    <li>Update base path for craft.sentry.dev domain by <a
    href="https://github.com/BYK"><code>@​BYK</code></a> in <a
    href="https://redirect.github.com/getsentry/craft/pull/734">#734</a></li>
    </ul>
    <h2>2.20.0</h2>
    <h3>New Features ✨</h3>
    <h4>Github</h4>
    <ul>
    <li>Add comment option to changelog-preview workflow by <a
    href="https://github.com/BYK"><code>@​BYK</code></a> in <a
    href="https://redirect.github.com/getsentry/craft/pull/722">#722</a></li>
    <li>Add working-directory input to changelog-preview workflow by <a
    href="https://github.com/BYK"><code>@​BYK</code></a> in <a
    href="https://redirect.github.com/getsentry/craft/pull/717">#717</a></li>
    </ul>
    <h3>Bug Fixes 🐛</h3>
    <h4>Changelog</h4>
    <ul>
    <li>Warn when custom release.yml lacks semver fields by <a
    href="https://github.com/BYK"><code>@​BYK</code></a> in <a
    href="https://redirect.github.com/getsentry/craft/pull/720">#720</a></li>
    <li>Collapse previews by default by <a
    href="https://github.com/BYK"><code>@​BYK</code></a> in <a
    href="https://redirect.github.com/getsentry/craft/pull/718">#718</a></li>
    </ul>
    <h4>Other</h4>
    <ul>
    <li>(action) Fix detection of existing publish issues by <a
    href="https://github.com/BYK"><code>@​BYK</code></a> in <a
    href="https://redirect.github.com/getsentry/craft/pull/728">#728</a></li>
    <li>(actions) Use repository check instead of event_name for dogfooding
    conditions by <a href="https://github.com/BYK"><code>@​BYK</code></a> in
    <a
    href="https://redirect.github.com/getsentry/craft/pull/727">#727</a></li>
    <li>(github) Use pull_request_target for changelog preview on fork PRs
    by <a href="https://github.com/BYK"><code>@​BYK</code></a> in <a
    href="https://redirect.github.com/getsentry/craft/pull/723">#723</a></li>
    <li>Address security vulnerabilities in dependencies by <a
    href="https://github.com/BYK"><code>@​BYK</code></a> in <a
    href="https://redirect.github.com/getsentry/craft/pull/725">#725</a></li>
    </ul>
    <h3>Documentation 📚</h3>
    <ul>
    <li>Document CRAFT_NEW_VERSION and CRAFT_OLD_VERSION for pre-release
    command by <a href="https://github.com/BYK"><code>@​BYK</code></a> in <a
    href="https://redirect.github.com/getsentry/craft/pull/719">#719</a></li>
    </ul>
    <h3>Internal Changes 🔧</h3>
    <h4>Deps Dev</h4>
    <ul>
    <li>Bump tar from 7.5.3 to 7.5.4 by <a
    href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
    href="https://redirect.github.com/getsentry/craft/pull/726">#726</a></li>
    <li>Bump tar from 6.2.1 to 7.5.3 by <a
    href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
    href="https://redirect.github.com/getsentry/craft/pull/724">#724</a></li>
    </ul>
    <h4>Other</h4>
    <ul>
    <li>Rename changelog category to &quot;Internal Changes&quot; by <a
    href="https://github.com/BYK"><code>@​BYK</code></a> in <a
    href="https://redirect.github.com/getsentry/craft/pull/721">#721</a></li>
    </ul>
    <!-- raw HTML omitted -->
    </blockquote>
    <p>... (truncated)</p>
    </details>
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a
    href="https://github.com/getsentry/craft/commit/beea4aba589c66381258cbd131c5551ae8245b82"><code>beea4ab</code></a>
    release: 2.20.1</li>
    <li><a
    href="https://github.com/getsentry/craft/commit/0013332743de412032d2d379c8ee9e0bf83a772d"><code>0013332</code></a>
    docs: Update documentation for changes since 2.17.0 (<a
    href="https://redirect.github.com/getsentry/craft/issues/735">#735</a>)</li>
    <li><a
    href="https://github.com/getsentry/craft/commit/b97ebce97621224341074eac4298baa47e911d41"><code>b97ebce</code></a>
    docs: Update base path for craft.sentry.dev domain (<a
    href="https://redirect.github.com/getsentry/craft/issues/734">#734</a>)</li>
    <li><a
    href="https://github.com/getsentry/craft/commit/abd8cd1fe1f3bdca1fc8e9d9dafa2bad5d5fd665"><code>abd8cd1</code></a>
    fix(action): Expand changelog by default in publish issues (<a
    href="https://redirect.github.com/getsentry/craft/issues/731">#731</a>)</li>
    <li><a
    href="https://github.com/getsentry/craft/commit/8778b3beb61375e285244f218485e00fc0dd1fd5"><code>8778b3b</code></a>
    meta: Bump new development version</li>
    <li><a
    href="https://github.com/getsentry/craft/commit/5d733f992d372acf658e77049d4893eae4048742"><code>5d733f9</code></a>
    Merge branch 'release/2.20.0'</li>
    <li>See full diff in <a
    href="https://github.com/getsentry/craft/compare/fd370d4d54bec9ff07f909d88a3c4aec6f0ba22b...beea4aba589c66381258cbd131c5551ae8245b82">compare
    view</a></li>
    </ul>
    </details>
    <br />
    
    
    [![Dependabot compatibility
    score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=getsentry/craft&package-manager=github_actions&previous-version=2.20.0&new-version=2.20.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
    
    Dependabot will resolve any conflicts with this PR as long as you don't
    alter it yourself. You can also trigger a rebase manually by commenting
    `@dependabot rebase`.
    
    [//]: # (dependabot-automerge-start)
    [//]: # (dependabot-automerge-end)
    
    ---
    
    <details>
    <summary>Dependabot commands and options</summary>
    <br />
    
    You can trigger Dependabot actions by commenting on this PR:
    - `@dependabot rebase` will rebase this PR
    - `@dependabot recreate` will recreate this PR, overwriting any edits
    that have been made to it
    - `@dependabot merge` will merge this PR after your CI passes on it
    - `@dependabot squash and merge` will squash and merge this PR after
    your CI passes on it
    - `@dependabot cancel merge` will cancel a previously requested merge
    and block automerging
    - `@dependabot reopen` will reopen this PR if it is closed
    - `@dependabot close` will close this PR and stop Dependabot recreating
    it. You can achieve the same result by closing it manually
    - `@dependabot show <dependency name> ignore conditions` will show all
    of the ignore conditions of the specified dependency
    - `@dependabot ignore this major version` will close this PR and stop
    Dependabot creating any more for this major version (unless you reopen
    the PR or upgrade to it yourself)
    - `@dependabot ignore this minor version` will close this PR and stop
    Dependabot creating any more for this minor version (unless you reopen
    the PR or upgrade to it yourself)
    - `@dependabot ignore this dependency` will close this PR and stop
    Dependabot creating any more for this dependency (unless you reopen the
    PR or upgrade to it yourself)
    
    
    </details>
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Feb 2, 2026
    Configuration menu
    Copy the full SHA
    5d14405 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    7e320b9 View commit details
    Browse the repository at this point in the history
  16. fix: Adapt to new packaging in toxgen (getsentry#5382)

    Co-authored-by: Alexander Alderman Webb <alexander.webb@sentry.io>
    sentrivana and alexander-alderman-webb authored Feb 2, 2026
    Configuration menu
    Copy the full SHA
    8b02abf View commit details
    Browse the repository at this point in the history
  17. ci: 🤖 Update test matrix with new releases (02/02) (getsentry#5413)

    Update our test matrix with new releases of integrated frameworks and
    libraries.
    
    ## How it works
    - Scan PyPI for all supported releases of all frameworks we have a
    dedicated test suite for.
    - Pick a representative sample of releases to run our test suite
    against. We always test the latest and oldest supported version.
    - Update
    [tox.ini](https://github.com/getsentry/sentry-python/blob/master/tox.ini)
    with the new releases.
    
    ## Action required
    - If CI passes on this PR, it's safe to approve and merge. It means our
    integrations can handle new versions of frameworks that got pulled in.
    - If CI doesn't pass on this PR, this points to an incompatibility of
    either our integration or our test setup with a new version of a
    framework.
    - Check what the failures look like and either fix them, or update the
    [test
    config](https://github.com/getsentry/sentry-python/blob/master/scripts/populate_tox/config.py)
    and rerun
    [scripts/generate-test-files.sh](https://github.com/getsentry/sentry-python/blob/master/scripts/generate-test-files.sh).
    See
    [scripts/populate_tox/README.md](https://github.com/getsentry/sentry-python/blob/master/scripts/populate_tox/README.md)
    for what configuration options are available.
    
     _____________________
    
    _🤖 This PR was automatically created using [a GitHub
    action](https://github.com/getsentry/sentry-python/blob/master/.github/workflows/update-tox.yml)._
    
    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    github-actions[bot] authored Feb 2, 2026
    Configuration menu
    Copy the full SHA
    bab21dd View commit details
    Browse the repository at this point in the history
Loading