Skip to content

feat(tests): support async tests with Telemetry Processor#1055

Draft
solnic wants to merge 5 commits into
masterfrom
feat/tests-support-async-tests-with-tp
Draft

feat(tests): support async tests with Telemetry Processor#1055
solnic wants to merge 5 commits into
masterfrom
feat/tests-support-async-tests-with-tp

Conversation

@solnic
Copy link
Copy Markdown
Collaborator

@solnic solnic commented May 13, 2026

Reworks Sentry.Test process ownership model further with NimbleOwnership and makes TelemetryProcessor work in async tests.

@solnic solnic force-pushed the feat/tests-support-async-tests-with-tp branch 3 times, most recently from c2e2253 to 5c821f9 Compare May 14, 2026 10:44
@solnic solnic marked this pull request as ready for review May 14, 2026 10:47
Comment thread lib/sentry/telemetry_processor.ex
Comment thread lib/sentry/test.ex Outdated
Comment thread lib/sentry/test/registry.ex Outdated
cursor[bot]

This comment was marked as resolved.

@solnic solnic marked this pull request as draft May 15, 2026 06:56
@solnic solnic force-pushed the feat/tests-support-async-tests-with-tp branch from 62e1118 to 8d4ffae Compare May 15, 2026 07:41
@solnic solnic changed the title feat(tests): support async tests with TP feat(tests): support async tests with Telemetry Processor May 15, 2026
solnic and others added 5 commits May 15, 2026 12:02
Closes the gap that left buffered events (logs and metrics) emitted
from processes registered via Sentry.Test.allow_sentry_reports/2
silently dropped instead of routed to the test's collector under
async tests.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@solnic solnic force-pushed the feat/tests-support-async-tests-with-tp branch from 8d4ffae to 6fa9f76 Compare May 15, 2026 12:03
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.

1 participant