8000 Improve detail of E2E test assertions by adinauer · Pull Request #4543 · getsentry/sentry-java · GitHub
[go: up one dir, main page]

Skip to content

Conversation

adinauer
Copy link
Member
@adinauer adinauer commented Jul 7, 2025

#skip-changelog

📜 Description

Improve detail of E2E test assertions

💡 Motivation and Context

The latest bump of OpenTelemetry changed some op and description values. These improved assertions should help catch similar problems.

💚 How did you test it?

📝 Checklist

  • I added tests to verify the changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • Review from the native team if needed.
  • No breaking change or entry added to the changelog.
  • No breaking change for hybrid SDKs or communicated to hybrid SDKs.

🔮 Next steps

Copy link
Contributor
github-actions bot commented Jul 7, 2025
Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against 4d67f9c

@lcian
Copy link
Member
lcian commented Jul 7, 2025

So I notice now that there's a mismatch between the span op and name between OTEL and non-OTEL.
Is that fine? Any reason why we would want/not want to normalize these to be the same between the two?

@adinauer
Copy link
Member Author
adinauer commented Jul 7, 2025

Yeah, ideally we align them. This will require a major IMO. We can create a GH issue to track and address it on the next major bump.

@adinauer
Copy link
Member Author
adinauer commented Jul 8, 2025

Created #4547 for aligning.

Copy link
Contributor
github-actions bot commented Jul 8, 2025 R 8000 26;

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 429.77 ms 494.45 ms 64.68 ms
Size 1.58 MiB 2.09 MiB 519.06 KiB

Previous results on branch: feat/more-detailed-e2e-assertions

Startup times

Revision Plain With Sentry Diff
10ab81c 440.73 ms 490.04 ms 49.31 ms

App size

Revision Plain With Sentry Diff
10ab81c 1.58 MiB 2.09 MiB 519.06 KiB

@adinauer adinauer merged commit 7606f3f into main Jul 8, 2025
34 checks passed
@adinauer adinauer deleted the feat/more-detailed-e2e-assertions branch July 8, 2025 14:38
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.

3 participants

0