Skip to content

Conversation

szokeasaurusrex
Copy link
Member

This PR provides a minimal reproduction for issue #4657, where the clickhouse-driver integration prematurely consumes generators when send_default_pii is enabled.

The reproduction includes:

  • simple_reproduce.py: A clear demonstration of the generator consumption.
  • reproduce_issue.py: A comprehensive script showing behavior with and without Sentry.
  • test_generator_issue.py: A pytest-compatible test case to verify the fix.
  • README.md: Instructions and details on the bug's location.

Thank you for contributing to sentry-python! Please add tests to validate your changes, and lint your code using tox -e linters.

Running the test suite on your PR might require maintainer approval.


Open in Cursor Open in Web

Learn more about Cursor Agents

Co-authored-by: daniel.szoke <daniel.szoke@sentry.io>
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