Title: test(async-profiler): [Sample Tests 33] Add an end-to-end test of a profiled transaction by runningcode · Pull Request #6325 · getsentry/sentry-java · GitHub
Open Graph Title: test(async-profiler): [Sample Tests 33] Add an end-to-end test of a profiled transaction by runningcode · Pull Request #6325 · getsentry/sentry-java
X Title: test(async-profiler): [Sample Tests 33] Add an end-to-end test of a profiled transaction by runningcode · Pull Request #6325 · getsentry/sentry-java
Description: PR Stack (Sample Tests) #6266 (base: main) #6267 (base: #6266) #6268 (base: #6267) #6269 (base: #6267) #6271 (base: #6269) #6292 (base: #6271) #6293 (base: #6292) #6294 (base: #6293) #6295 (base: #6294) #6296 (base: #6295) #6297 (base: #6296) #6298 (base: #6297) #6299 (base: #6298) #6300 (base: #6299) #6306 (base: #6300) #6308 (base: #6306) #6310 (base: #6308) #6311 (base: #6310) #6312 (base: #6311) #6313 (base: #6312) #6314 (base: #6313) #6315 (base: #6314) #6316 (base: #6315) #6317 (base: #6316) #6318 (base: #6317) #6319 (base: #6318) #6320 (base: #6319) #6321 (base: #6320) #6322 (base: #6321) #6323 (base: #6322) #6324 (base: #6323) #6325 (base: #6324) #6326 (base: #6325) #6327 (base: #6326) #6328 (base: #6327) #6329 (base: #6328) #6330 (base: #6329) #6331 (base: #6330) #6332 (base: #6331) 📜 Description Adds ContinuousProfilerEndToEndTest to sentry-async-profiler. It ports the profiling part of sentry-samples-console's system test. A sampled transaction with the TRACE profile lifecycle starts the async profiler, and the test checks that the profile chunk reaches MockSentryServer with the transaction's profiler ID. The traces path is in the temp dir. The profiler rejects a traces path with a . anywhere in its absolute form, as #6319 found, so a relative path fails in a checkout whose path has a dot in it. 💡 Motivation and Context sentry-async-profiler's tests mock the transport and the profiler's surroundings. This one runs the real profiler and sends the chunk over HTTP, in under a second. 💚 How did you test it? The test passes. Expecting the transaction to have no profiler ID makes it fail. In this checkout, 16 of JavaContinuousProfilerTest's tests fail with or without this PR. The path contains /.claude/, and the same dot check disables profiling: one test expects , as the rejected character and gets .. In CI, whose checkout path has no dot, they pass. 📝 Checklist I added GH Issue ID & Linear ID 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. Public API changes reviewed by another Mobile SDK team member or implemented according to the develop docs spec. 🔮 Next steps The console sample's Kafka round trip into sentry-kafka, which retires the sample. #skip-changelog 🤖 Generated with Claude Code
Open Graph Description: PR Stack (Sample Tests) #6266 (base: main) #6267 (base: #6266) #6268 (base: #6267) #6269 (base: #6267) #6271 (base: #6269) #6292 (base: #6271) #6293 (base: #6292) #6294 (base: #6293) #6295 (base: ...
X Description: PR Stack (Sample Tests) #6266 (base: main) #6267 (base: #6266) #6268 (base: #6267) #6269 (base: #6267) #6271 (base: #6269) #6292 (base: #6271) #6293 (base: #6292) #6294 (base: #6293) #6295 (base: ...
Opengraph URL: https://github.com/getsentry/sentry-java/pull/6325
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:5cae77a5-a7af-d6d8-c1ad-0f4d97ad6292 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 862A:3B5D6F:1571C8:1DFD6E:6B046FDE |
| html-safe-nonce | c1ec06756c85a6158f68c15b84a1842dbedc4503f28d6624b63f92fc1c8a4931 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjJBOjNCNUQ2RjoxNTcxQzg6MURGRDZFOjZCMDQ2RkRFIiwidmlzaXRvcl9pZCI6IjIyMDk4MjU2OTcwOTczNDcwMzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 53967ea5b75d8a7c0a3c13278c53676f750887a575d055b48ddc0149613bd91c |
| hovercard-subject-tag | pull_request:4939964158 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/getsentry/sentry-java/pull/6325/files |
| twitter:image | https://avatars.githubusercontent.com/u/332597?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/332597?s=400&v=4 |
| og:image:alt | PR Stack (Sample Tests) #6266 (base: main) #6267 (base: #6266) #6268 (base: #6267) #6269 (base: #6267) #6271 (base: #6269) #6292 (base: #6271) #6293 (base: #6292) #6294 (base: #6293) #6295 (base: ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | ae8802492f12d3ba4f6b0d814054e617a2a5616b6327bf8555c10cd5b0dc2a6f |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/getsentry/sentry-java git https://github.com/getsentry/sentry-java.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3368190 |
| octolytics-dimension-repository_nwo | getsentry/sentry-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3368190 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-java |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cfb5f24c6e01d85f70804652a5107e5cac03a161 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | no-cache |
Viewport: width=device-width