Skip to content

Generate minimal sentry-python reproduction #4662

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

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

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