Skip to content

fix(telemetry): isolate test OpenTelemetry configuration - #79

Merged
yordis merged 2 commits into
mainfrom
yordis/fix-opentelemetry-test-env
Apr 15, 2026
Merged

yordis merged 2 commits into
mainfrom
yordis/fix-opentelemetry-test-env

Conversation

@yordis

@yordis yordis commented Apr 15, 2026

Copy link
Copy Markdown
Member
  • keep routine test runs focused on package behavior instead of booting a background OTLP exporter
  • preserve a clean OpenTelemetry baseline between tests so later suites do not inherit leaked tracing state

Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
@cursor

cursor Bot commented Apr 15, 2026 •

Copy link
Copy Markdown

PR Summary

Low Risk
Test-only configuration change that prevents OpenTelemetry processor/exporter startup and reduces cross-test tracing state leakage; no production code paths are affected.

Overview
Test environment now explicitly disables OpenTelemetry processing by setting config :opentelemetry, processors: [] in config/test.exs, keeping routine test runs from starting background telemetry pipelines and avoiding leaked tracing state across suites.

Reviewed by Cursor Bugbot for commit 691dda5. Bugbot is set up for automated code reviews on this repo. Configure here.

@coderabbitai

coderabbitai Bot commented Apr 15, 2026 •

Copy link
Copy Markdown

Warning

Rate limit exceeded

@yordis has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 10 minutes and 3 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 10 minutes and 3 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 2552910f-adfd-4557-ab93-7055bb363ba2

📥 Commits

Reviewing files that changed from the base of the PR and between 47db0d2 and 691dda5.

📒 Files selected for processing (1)
  • config/test.exs
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch yordis/fix-opentelemetry-test-env

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
@yordis
yordis merged commit 2b0a739 into main Apr 15, 2026
5 checks passed
@yordis
yordis deleted the yordis/fix-opentelemetry-test-env branch April 15, 2026 04:04
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