Repository navigation
Update v9 branch - #6747
Closed
sentry-junior[bot] wants to merge 46 commits into
Closed
Update v9 branch#6747sentry-junior[bot] wants to merge 46 commits into
sentry-junior[bot] wants to merge 46 commits into
Conversation
…#6632) The without-auto-init run uses the same classes and classpath as the integrationTestOtelAgent suite and differs only in one JVM argument. Registering it as a second target of the suite lets Gradle set up its test classes, classpath and test framework, instead of copying them into a hand-made Test task. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix(skill): Use pr-writer in the create-java-pr skill getsentry/skills renamed create-pr to pr-writer and then removed the old name, so Step 5 called a skill that no longer exists. Keep the repo PR template as the body structure over pr-writer's default shape, as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * ref(skill): Defer to the shared Sentry skills in create-java-pr Branch naming, commit format, and PR title format now come from create-branch, commit, and pr-writer instead of local copies that had already drifted (the commit types lacked revert). Add #skip-changelog to the first PR body instead of editing it afterwards, and write PR bodies to per-branch or per-PR files. The shared /tmp/pr-body.md outlives sessions and once opened a PR with another PR's body. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * ref(skill): Pass the per-branch body file to gh pr create Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * ref(skill): Align the stacked PR reference with Step 5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…e traversed (#6626) * fix(replay): Support Compose 1.13 and mask whole Compose view on traversal failure * ci(replay): Run replay unit tests against multiple Compose UI versions * docs(changelog): Add PR link for Compose 1.13 fix * test(replay): Run unit tests on Compose UI 1.12 and 1.13 as build-type unit test tasks
…Callback on API 26+ (#6634) * fix(android): Only use the Handler overload of registerDefaultNetworkCallback on API 26+ Co-Authored-By: Nelson Osacky <nelson.osacky@sentry.io> * changelog Co-Authored-By: Nelson Osacky <nelson.osacky@sentry.io> --------- Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> Co-authored-by: Nelson Osacky <nelson.osacky@sentry.io>
#6613) Move the Android sample and its macrobenchmark into the sentry-android-integration-tests build, next to the UI tests and the size test, so every Android app that exercises the SDK lives in one folder and one build. The sample becomes a subproject instead of its build's root project, so its own settings and symlinked Gradle files go away. The macrobenchmark gets back its pre-#6391 name, sentry-uitest-android-macrobenchmark, which matches its namespace and Sauce config. CI, the Makefile and the docs follow the new paths, and the Samples workflow checks one Android build instead of two. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…exceeded (JAVA-642) (#6599) * fix(core): End transactions at the deadline after the device sleeps (JAVA-642) The deadline timer counts on System.nanoTime(), which stops while an Android device is suspended. It ran hours late, and after a process freeze it raced the main thread, so ui.load transactions ended hours after the deadline, or measured TTID, TTFD and the app start to a late frame and finished as ok. SentryTracer now measures the deadline on the monotonic ticker, which counts suspend, and ends the transaction and its open spans at the wall time the deadline was reached. Once it has passed, every way of finishing the transaction takes that outcome. ActivityLifecycleIntegration applies it before handling a late first frame, full display or destroy, and PerformanceAndroidEventProcessor adds no app start measurement when the app start span was cut short. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * changelog Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * ref(core): Return a no-op span after the deadline without finishing Starting a span after the deadline finished and captured the whole transaction on the thread that started the span, which may hold a lock. Return the no-op span only: the overdue deadline timer ends the transaction at the deadline right after. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(core): Change only the status of spans that finish after the deadline Timings now stay exactly as before: the deadline timer ends spans at now() again, spans started after the deadline are recorded, and the ActivityLifecycleIntegration and PerformanceAndroidEventProcessor changes are reverted. Instead, once the monotonic-ticker deadline has passed, Span.finish gives the transaction and any span that finishes after it the status the deadline timer gives: the transaction's own status, or DEADLINE_EXCEEDED. Late frames after a device sleep then no longer report ok, so span.status:ok filters them out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * changelog Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * ref(core): Return the deadline status only after the deadline passed getDeadlineStatus() was only correct after a hasDeadlinePassed() check. Fold the check in, so getDeadlineExceededStatus() returns null until the deadline passes, and keep the timer callback as it is on main. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> Co-authored-by: Markus Hintersteiner <markus.hintersteiner@sentry.io>
The ApplicationExitInfo cutoff and okhttp's replay breadcrumb timestamps only need the current epoch time, which options.getEpochClock() gives. Moving them off CurrentDateProvider changes no values, and leaves fewer callers for v9 to touch when it removes ICurrentDateProvider. The three exit-info integrations no longer take a date provider: the dispatcher reads the clock from the options it already has. Timestamp.epochMillis() converts for the call sites that need millis. Fixes JAVA-836 Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> Co-authored-by: Nelson Osacky <nelson.osacky@sentry.io>
Bumps the github-actions group with 1 update: [actions/setup-java](https://github.com/actions/setup-java). Updates `actions/setup-java` from 6.2.0 to 6.3.0 - [Release notes](https://github.com/actions/setup-java/releases) - [Commits](actions/setup-java@77dd5b2...d1374f8) --- updated-dependencies: - dependency-name: actions/setup-java dependency-version: 6.3.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [com.squareup.okio:okio](https://github.com/lysine-dev/okio) from 1.13.0 to 3.18.2. - [Changelog](https://github.com/lysine-dev/okio/blob/main/CHANGELOG.md) - [Commits](lysine-dev/okio@okio-parent-1.13.0...parent-3.18.2) --- updated-dependencies: - dependency-name: com.squareup.okio:okio dependency-version: 3.18.2 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…#6645) Switch from getsentry/pr-risk-action to getsentry/sdk-pr-risk-action, which scores with the rubric shared by all SDK repositories and the sentry-java fact sheet, and publishes the risk label itself. This removes the label script from this workflow. The script's rule that files in high_risk_code are never low is not carried over; the shared rules block low for public API records, dependency and build files, unmapped paths and low model confidence instead. Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
…to 2.52.0 (#6649) * chore(deps): bump com.google.errorprone:error_prone_core Bumps [com.google.errorprone:error_prone_core](https://github.com/google/error-prone) from 2.50.0 to 2.52.0. - [Release notes](https://github.com/google/error-prone/releases) - [Commits](google/error-prone@v2.50.0...v2.52.0) --- updated-dependencies: - dependency-name: com.google.errorprone:error_prone_core dependency-version: 2.52.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * ref(core): Use Objects.hashCode for single-field FilterString hash Error Prone 2.52 adds HashCodeInObjectsHash, which flags single-argument Objects.hash() calls and fails the build under -Werror. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nelson Osacky <nelson.osacky@sentry.io> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Bumps `asyncProfiler` from 4.4 to 4.6. Updates `tools.profiler:async-profiler` from 4.4 to 4.6 - [Release notes](https://github.com/async-profiler/async-profiler/releases) - [Changelog](https://github.com/async-profiler/async-profiler/blob/master/CHANGELOG.md) - [Commits](async-profiler/async-profiler@v4.4...v4.6) Updates `tools.profiler:jfr-converter` from 4.4 to 4.6 - [Release notes](https://github.com/async-profiler/async-profiler/releases) - [Changelog](https://github.com/async-profiler/async-profiler/blob/master/CHANGELOG.md) - [Commits](async-profiler/async-profiler@v4.4...v4.6) --- updated-dependencies: - dependency-name: tools.profiler:async-profiler dependency-version: '4.6' dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: tools.profiler:jfr-converter dependency-version: '4.6' dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps `feign` from 13.17 to 13.18. Updates `io.github.openfeign:feign-core` from 13.17 to 13.18 - [Release notes](https://github.com/openfeign/feign/releases) - [Changelog](https://github.com/OpenFeign/feign/blob/master/RELEASE.md) - [Commits](OpenFeign/feign@13.17...13.18) Updates `io.github.openfeign:feign-gson` from 13.17 to 13.18 - [Release notes](https://github.com/openfeign/feign/releases) - [Changelog](https://github.com/OpenFeign/feign/blob/master/RELEASE.md) - [Commits](OpenFeign/feign@13.17...13.18) --- updated-dependencies: - dependency-name: io.github.openfeign:feign-core dependency-version: '13.18' dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: io.github.openfeign:feign-gson dependency-version: '13.18' dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…6558) * fix: Annotate nullable array returns on the array, not the element JetBrains @nullable is a TYPE_USE annotation, so @nullable byte[] marks the element type and Kotlin saw ByteArray instead of ByteArray?. Moving it to byte @nullable [] makes Kotlin see the nullable return. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * changelog --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Bumps `sqldelight` from 2.3.2 to 2.4.1. Updates `app.cash.sqldelight:android-driver` from 2.3.2 to 2.4.1 - [Release notes](https://github.com/sqldelight/sqldelight/releases) - [Changelog](https://github.com/sqldelight/sqldelight/blob/main/CHANGELOG.md) - [Commits](sqldelight/sqldelight@2.3.2...2.4.1) Updates `app.cash.sqldelight` from 2.3.2 to 2.4.1 - [Release notes](https://github.com/sqldelight/sqldelight/releases) - [Changelog](https://github.com/sqldelight/sqldelight/blob/main/CHANGELOG.md) - [Commits](sqldelight/sqldelight@2.3.2...2.4.1) --- updated-dependencies: - dependency-name: app.cash.sqldelight:android-driver dependency-version: 2.4.1 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: app.cash.sqldelight dependency-version: 2.4.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ci(risk): Move the PR risk check to the classifiers action The risk classifier moved from getsentry/sdk-pr-risk-action to the internal getsentry/classifiers repository. A public repository cannot call an action in an internal one directly, so the workflow now gets a short-lived, read-only app token, checks the classifiers out at a pinned commit and runs the action from that checkout. Classification is unchanged. Two things are new: the action skips runs started by a title or description edit when the PR already has a risk label, and it keeps one summary comment on the PR with the label and its reasons. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> * ci(risk): Identify the classifiers app by its client ID The token action deprecates app-id in favour of client-id. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
beforeBreadcrumb runs on whichever thread adds the breadcrumb, so the Compose click and swipe tests could append to a plain ArrayList from two threads at once and fail with an NPE. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…tivity (#6686) * fix(feedback): Stop shake detection from leaking the first resumed Activity SentryShakeDetector caches its SensorManager the first time it initializes. When an Activity resumed before the background warm-up ran, that manager came from the Activity, and an Activity's SensorManager keeps a reference to it. The long-lived FeedbackShakeIntegration then held the destroyed Activity for the rest of the process. Always resolve the SensorManager from the application context. Fixes JAVA-847 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * changelog --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Bumps net.ltgt.errorprone from 5.1.1 to 5.2.0. --- updated-dependencies: - dependency-name: net.ltgt.errorprone dependency-version: 5.2.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* collection: Servlet API compatibility * chore(deps): bump javax.servlet:javax.servlet-api from 3.1.0 to 4.0.1 (#6475) Bumps [javax.servlet:javax.servlet-api](https://github.com/javaee/servlet-spec) from 3.1.0 to 4.0.1. - [Commits](javaee/servlet-spec@3.1.0...4.0.1) --- updated-dependencies: - dependency-name: javax.servlet:javax.servlet-api dependency-version: 4.0.1 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(servlet): Keep Servlet 3.1 as compatibility floor Compile the javax servlet integrations against the minimum supported API. Exclude the intentionally pinned API from Dependabot while retaining the separate Servlet 4 alias for latest-runtime coverage. Co-Authored-By: Claude <noreply@anthropic.com> * test(servlet): Test Servlet 3.1 and 4.0 runtimes (#6625) * test(servlet): Test Servlet 3.1 on Tomcat 8.5 Run sentry-servlet against the minimum supported servlet container while keeping Servlet 3.1 as the production compile target. Exercise the service-loaded initializer through a real HTTP request and verify that request context reaches Sentry. * test(servlet): Run integration test on Tomcat 9 Reuse the real-container servlet integration test with a Tomcat 9 and Servlet 4 runtime classpath. Keep the Tomcat 8.5 run as the minimum-runtime check and attach both runs to the verification lifecycle. * build(servlet): Use JVM test suites for Tomcat matrix Replace the hand-built Tomcat 9 test task with isolated JVM test suites. Run the shared servlet integration test with independent Tomcat 8.5 and Tomcat 9 dependency graphs and attach both suites to check. Co-Authored-By: Claude <noreply@anthropic.com> * build(servlet): Remove unused Truth dependency The servlet integration suites declare Truth directly, so the regular unit test configuration no longer needs it after moving the integration test. Co-Authored-By: Claude <noreply@anthropic.com> * build(deps): Share the Tomcat 9 version Reference one catalog version from the Tomcat 9 core, Catalina, and Jasper aliases so dependency updates keep the runtime components aligned. Co-Authored-By: Claude <noreply@anthropic.com> * test(servlet): Run Tomcat matrix in dedicated CI job Compile the servlet integration test once and execute it with separate Tomcat 8.5 and Tomcat 9 runtime targets. Move both targets out of the standard check lifecycle and run them in a dedicated CI job. Co-Authored-By: Claude <noreply@anthropic.com> * ci: Move integration tests to dedicated workflow Create a shared workflow for non-Spring Boot integration suites and move the servlet runtime matrix there instead of adding it to the main build workflow. Co-Authored-By: Claude <noreply@anthropic.com> * ci: Restrict integration test workflow permissions Limit the workflow token to read-only repository contents because the test, artifact, and step-summary operations do not require write access. Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com> * build(deps): Share the Tomcat 11 version Restore Tomcat 11.0.27 after the collection branch merge and use one catalog version for Catalina and embedded Jasper so future updates keep them aligned. Co-Authored-By: Claude <noreply@anthropic.com> * Revert "fix(replay): Support Compose 1.13 and mask Compose views that can't be traversed (#6626)" This reverts commit 7eda470. Co-Authored-By: Nelson Osacky <nelson.osacky@sentry.io> * Reapply "fix(replay): Support Compose 1.13 and mask Compose views that can't be traversed (#6626)" This reverts commit ee14ece. Co-Authored-By: Nelson Osacky <nelson.osacky@sentry.io> * build: Lower Gradle daemon heap to 7g and metaspace to 1g Co-Authored-By: Nelson Osacky <nelson.osacky@sentry.io> * build: Restore 8g Gradle heap and cap Kotlin daemon heap at 3g Co-Authored-By: Nelson Osacky <nelson.osacky@sentry.io> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> Co-authored-by: Nelson Osacky <nelson.osacky@sentry.io>
Bumps the github-actions group with 1 update: [actions/setup-java](https://github.com/actions/setup-java). Updates `actions/setup-java` from 6.2.0 to 6.3.0 - [Release notes](https://github.com/actions/setup-java/releases) - [Commits](actions/setup-java@v6.2.0...d1374f8) --- updated-dependencies: - dependency-name: actions/setup-java dependency-version: 6.3.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps `dokka` from 2.0.0 to 2.3.0. Updates `org.jetbrains.dokka` from 2.0.0 to 2.3.0 Updates `org.jetbrains.dokka-javadoc` from 2.0.0 to 2.3.0 --- updated-dependencies: - dependency-name: org.jetbrains.dokka dependency-version: 2.3.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.jetbrains.dokka-javadoc dependency-version: 2.3.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Shadow 9.6 marks DependencyFilter with a DSL marker. The agent's
dependencies { exclude("group:name") } calls had always resolved to the
outer ShadowJar.exclude(String) file pattern, so they never excluded
anything. They now fail to compile. javaagentLibs has none of those
artifacts, so drop the block.
Jar contents are unchanged. Shadow 9.5's KotlinModuleMetadataTransformer
reorders *.kotlin_module entries and drops their Unix mode, and the
shadowRuntimeElements variant now comes first in the .module file.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> Co-authored-by: Nelson Osacky <nelson.osacky@sentry.io>
The com.github.ben-manes.versions plugin id is deprecated in favor of io.github.ben-manes.versions, and every module applying it printed a deprecation warning during configuration. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Match built-in sensitive terms in their existing lowercase form and normalize only the input key. Reuse this path for query parameters and headers while preserving case-insensitive matching for caller-configured terms. Cover mixed-case matching, sensitive allowlist precedence, empty terms, and locale independence.
…ecked-in file (#6638) * ci(replay): Test Session Replay against the latest Compose UI versions from Google Maven Replace the hardcoded composeUi112/composeUi113 build types with a Compose UI matrix workflow. Like the AGP matrix in sentry-android-gradle-plugin, a Kotlin script reads androidx.compose.ui:ui's maven-metadata.xml and picks the latest stable and, when newer, the latest pre-release. Each matrix job runs the replay unit tests with VERSION_COMPOSE_UI forcing that version on the test runtime classpath. The workflow also runs daily, so new Compose releases are tested without a version bump PR. Co-Authored-By: Roman Zavarnitsyn <roman.zavarnitsyn@sentry.io> * ci(replay): Open an issue when the scheduled Compose UI matrix fails GitHub only notifies the workflow's creator about scheduled runs, which is the bot that pushed it, so a failing daily run would go unnoticed. On a scheduled failure, open an issue, or comment on the open one so repeated failures stay in one place. Co-Authored-By: Roman Zavarnitsyn <roman.zavarnitsyn@sentry.io> * ci(replay): Read the Compose UI matrix versions from a checked-in file Like the Spring Boot matrix, keep the Compose UI versions in gradle/compose-ui-versions.json instead of looking them up on Google Maven on every run, so the same commit always tests the same versions. Drop the daily schedule and its failure issue, which only made sense with the live lookup. Co-Authored-By: Roman Zavarnitsyn <roman.zavarnitsyn@sentry.io> * ci(replay): Register a test task per Compose UI version with a dependency matrix plugin Adds io.sentry.dependency-matrix, which reads a versions file in gradle/ and registers <name>Test<version> tasks. Android modules get a build type per version, kept out of check; JVM modules reuse the compiled tests on a versioned runtime classpath. The workflow reads the file with jq inline, like the Spring Boot matrix workflows. Co-Authored-By: roman <roman.zavarnitsyn@sentry.io> Co-Authored-By: Nelson Osacky <nelson.osacky@sentry.io> * ci(replay): Explain the afterEvaluate and note AGP test suites in the dependency matrix plugin * ci(replay): Test Session Replay on Compose UI 1.8.3, the oldest version Co-Authored-By: Roman Zavarnitsyn <roman.zavarnitsyn@sentry.io> * ci(replay): Configure the matrix variants through the AGP variant API Co-Authored-By: Nelson Osacky <nelson.osacky@sentry.io> * ci(replay): Make the dependency matrix plugin Android-only Co-Authored-By: Nelson Osacky <nelson.osacky@sentry.io> * ci(replay): Run every Compose UI version in one Gradle invocation Co-Authored-By: Nelson Osacky <nelson.osacky@sentry.io> Co-Authored-By: Roman Zavarnitsyn <roman.zavarnitsyn@sentry.io> --------- Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> Co-authored-by: Roman Zavarnitsyn <roman.zavarnitsyn@sentry.io> Co-authored-by: Nelson Osacky <nelson.osacky@sentry.io>
…ity (#6687) * fix(android): Time a warm relaunch within 1 minute from its own activity Since #4999, destroying the last activity marks the next launch as warm but keeps the process-start anchor unless the process is older than a minute. A quick relaunch was therefore timed from process start: standalone mode re-sent the cold interval as a second warm App Start, and the relaunched screen's TTID spanned the whole session. Refs JAVA-503 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * changelog --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…er (#6593) * ref(android): Extract ANR culprit exceptions into AnrCulpritEventHelper * ref(android): Trim a redundant Javadoc sentence in AnrCulpritEventHelper * ref(android): Rename AnrCulpritEventHelper methods and take exceptions directly * ref(android): Move AnrCulpritEventHelper into the anr package * license(android): Complete the ANR-WatchDog attribution for ApplicationNotResponding
…ing the AVD (#6720) Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> Co-authored-by: Roman Zavarnitsyn <roman.zavarnitsyn@sentry.io>
…ents and SentryTransactions (#6713) Commit fixes an edge-case bug in our Nav3 integration that could cause SentryEvents or Transactions to be dropped SDK-side if back stack entry arguments contained non-finite numeric values. Now we convert NaN and positive or negative infinity values in back stack entry arguments to strings instead of passing them to the transport layer's JSON serializer unchanged. Motivation and Context Our Nav3 integration attaches nav arguments to SentryEvents and SentryTransactions. JSON can't represent NaN or infinity, so an argument containing one of those values can cause serialization of the entire event or transaction to fail. Converting these values to strings preserves the argument’s value while allowing the containing event or transaction to be sent.
Drop an entry’s arguments when distinct map keys stringify identically, rather than silently reporting an incomplete map.
* fix(logging): Avoid formatting preformatted log messages Let logging integrations mark message bodies as already formatted while preserving their original arguments as structured log attributes. This prevents percent sequences from user input from being interpreted during a second formatting pass. Fixes #6715 * changelog
… 29+ (#6719) * fix(android): Start a warm app start from onActivityPreCreated on API 29+ The activity.load span starts in onActivityPreCreated, so a warm app.start transaction anchored at onActivityCreated started after its own first child. On API 29+ the first-activity logic now runs in onActivityPreCreated; older versions keep onActivityCreated, since pre-created callbacks don't exist there. Fixes JAVA-850 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * changelog * fix(android): Classify app start in onActivityCreated when onActivityPreCreated was missed --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Markus Hintersteiner <markus.hintersteiner@sentry.io>
The workflow is being removed from all SDK repositories. It triggers on pull_request_target, which GitHub blocks by default in public repositories from December 2, 2026. Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
) * fix(profiling): Don't crash when ProfilingManager can't be loaded Co-Authored-By: Roman Zavarnitsyn <roman.zavarnitsyn@sentry.io> * changelog Co-Authored-By: Roman Zavarnitsyn <roman.zavarnitsyn@sentry.io> * fix(profiling): Treat ProfilingManager lookup as a system-service boundary Co-Authored-By: Roman Zavarnitsyn <roman.zavarnitsyn@sentry.io> * test(profiling): Use Truth for new PerfettoProfiler assertions --------- Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> Co-authored-by: Roman Zavarnitsyn <roman.zavarnitsyn@sentry.io>
Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
sentry-junior
Bot
requested review from
markushi and
romtsn
and removed request for
a team
November 24, 2026 08:31
Merged
1 task done
…6749) Miscellaneous small refactors in connection with our (forthcoming) introduction of built-in BackStackEntryMappers.
Contributor
|
Already merged |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Weekly automated sync of
maininto9.x.x, so the v9 branch keeps up with fixes and changes landing onmainand doesn't drift further.This brings in 45 commits from
main. If GitHub reports conflicts, they need to be resolved by a human before merging.Merge this with a merge commit (not squash) after review, so the commit history of
mainstays intact on9.x.xand future syncs only pick up new commits.via automation
sched_ad73d0ab6d1d56c93807b4c35dcc4acd· Run IDsched_ad73d0ab6d1d56c93807b4c35dcc4acd:1795509000000.--
View Session [Sentry]