Skip to content

fix(tests): accept nil as the DSN value again - #1044

Merged
solnic merged 4 commits into
masterfrom
fix/tests-accept-nil-dsn-again
Apr 30, 2026
Merged

solnic merged 4 commits into
masterfrom
fix/tests-accept-nil-dsn-again

Conversation

@solnic

@solnic solnic commented Apr 29, 2026 •

Copy link
Copy Markdown
Collaborator

This restores pre-13.0.0 behavior in test mode where nil DSN could be used along with start_collecting_sentry_reports - it addresses report from #1043 comments.

We're pushing handling of nil DSN down to the Client which results in exercising more code in tests and still allowing report capture to kick in.

I used it also as an excuse to add prod-specific integration tests as well that cover handling of nil DSN in config.

@solnic
solnic marked this pull request as ready for review April 29, 2026 10:18
cursor[bot]

This comment was marked as resolved.

@solnic
solnic force-pushed the fix/tests-accept-nil-dsn-again branch from fda2a35 to eb5615a Compare April 29, 2026 10:33
@solnic
solnic marked this pull request as draft April 29, 2026 10:49
@solnic
solnic marked this pull request as ready for review April 30, 2026 09:53
@dingsdax
dingsdax self-requested a review April 30, 2026 13:04
@solnic
solnic merged commit 417b096 into master Apr 30, 2026
10 checks passed
@solnic
solnic deleted the fix/tests-accept-nil-dsn-again branch April 30, 2026 13:11
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