Skip to content

ref(data-collection): simplify database collection config to a plain boolean#6772

Merged
ericapisani merged 4 commits into
ep/py-2679-add-queues-optionfrom
ep/update-database-config-to-boolean
Jul 8, 2026
Merged

ref(data-collection): simplify database collection config to a plain boolean#6772
ericapisani merged 4 commits into
ep/py-2679-add-queues-optionfrom
ep/update-database-config-to-boolean

Conversation

@ericapisani

@ericapisani ericapisani commented Jul 7, 2026

Copy link
Copy Markdown
Member

…boolean

The `database` option was a nested `DatabaseCollectionUserOptions`/
`DatabaseCollectionBehaviour` TypedDict with a single `query_params`
field, adding indirection for no benefit. Collapse it to a plain
`bool`, matching `queues`.
@ericapisani ericapisani marked this pull request as ready for review July 7, 2026 19:38
@ericapisani ericapisani requested a review from a team as a code owner July 7, 2026 19:38
…boolean

The `database` option was a nested `DatabaseCollectionUserOptions`/
`DatabaseCollectionBehaviour` TypedDict with a single `query_params`
field, adding indirection for no benefit. Collapse it to a plain
`bool`, matching `queues`.
@ericapisani ericapisani force-pushed the ep/update-database-config-to-boolean branch from 045fadc to 466a932 Compare July 7, 2026 19:38

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 466a932. Configure here.

Comment thread sentry_sdk/data_collection.py Outdated
Comment thread sentry_sdk/data_collection.py Outdated
@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Codecov Results 📊

90465 passed | ⏭️ 6302 skipped | Total: 96767 | Pass Rate: 93.49% | Execution Time: 313m 54s

📊 Comparison with Base Branch

Metric Change
Total Tests 📉 -90
Passed Tests 📉 -90
Failed Tests
Skipped Tests

All tests are passing successfully.

✅ Patch coverage is 100.00%. Project has 2446 uncovered lines.
✅ Project coverage is 89.76%. Comparing base (base) to head (head).

Coverage diff
@@            Coverage Diff             @@
##          main       #PR       +/-##
==========================================
+ Coverage    89.74%    89.76%    +0.02%
==========================================
  Files          192       193        +1
  Lines        23823     23876       +53
  Branches      8226      8244       +18
==========================================
+ Hits         21378     21430       +52
- Misses        2445      2446        +1
- Partials      1349      1351        +2

Generated by Codecov Action

@ericapisani ericapisani merged commit 0cc4505 into master Jul 8, 2026
146 checks passed
@ericapisani ericapisani deleted the ep/update-database-config-to-boolean branch July 8, 2026 15:56
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