Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
ac6b084
feat(android): Connect traces with web content in a WebView (#6395)
antonis Nov 10, 2026
144b2ee
chore(deps): Ignore OpenTelemetry Dependabot updates (#6531)
adinauer Nov 10, 2026
50ebe9e
feat(android): Add WebView tracing options with allowed hosts (#6516)
antonis Nov 10, 2026
ff7a1ac
chore(deps): bump retrofit from 2.9.0 to 3.0.0 (#6534)
dependabot[bot] Nov 10, 2026
76d7a36
docs(android): Fix Javadoc that Error Prone flags in sentry-android-c…
runningcode Nov 10, 2026
bcc4ebe
ref(android)!: Mark sentry-android-core classes final (#6494)
runningcode Nov 10, 2026
349566b
fix(android): Don't block callers on network status registration (JAV…
0xadam-brown Nov 10, 2026
f80997a
build: Upgrade Gradle to 9.9.0 (#6539)
runningcode Nov 10, 2026
3d33765
chore(deps): bump room2 from 2.8.4 to 2.8.5 (#6550)
dependabot[bot] Nov 11, 2026
842b197
build(android): Bump AGP to 9.5.1 (#6540)
runningcode Nov 11, 2026
42fb799
fix(replay): Measure gesture batch durations on a monotonic clock (JA…
runningcode Nov 11, 2026
ba3bad3
fix(compose): Detect lazy layout scrolls on Compose foundation 1.10+ …
sentry-junior[bot] Nov 11, 2026
6644050
build: Upgrade Gradle to 9.9.1 (#6552)
runningcode Nov 11, 2026
237a5fa
build: Move OpenTelemetry agent test wiring into a convention plugin …
runningcode Nov 11, 2026
1c8f695
chore(deps): bump ktorClient from 3.0.0 to 3.6.1 (#6478)
dependabot[bot] Nov 11, 2026
40c9b1e
ref(android): Fix Error Prone warnings in sentry-android-core (#6499)
runningcode Nov 11, 2026
072775b
fix(android): Resolve NullAway findings in sentry-android-core (#6497)
runningcode Nov 11, 2026
0fb4971
build: Stop logging passed tests and test output to the console (#6554)
runningcode Nov 11, 2026
00a30a7
feat(android): Add experimental out-of-process crash reporting (#6347)
jpnurmi Nov 11, 2026
94f84ca
test(android): Use fewer Robolectric SDK levels in core and replay (#…
romtsn Nov 11, 2026
16e51ee
chore(docs): Remove OkHttp version bump from changelog and add known …
0xadam-brown Nov 11, 2026
cc83d6b
build(android): Run Error Prone and NullAway on the Android modules (…
runningcode Nov 11, 2026
683908d
release: 8.64.0
0xadam-brown Nov 11, 2026
393de0d
build(android): Download Robolectric android-all jars with Gradle (#6…
runningcode Nov 11, 2026
8126826
Merge commit '683908daaa63add97ca9a1710ab4a6898ada1c2b'
sentry-release-bot[bot] Nov 11, 2026
72c891b
feat(profiling): Store the thread state in ANR stack samples (#6587)
markushi Nov 12, 2026
cb5a462
chore(docs): Add version for fix under Known Issues entries in change…
0xadam-brown Nov 12, 2026
cef4eab
fix(android): Measure debounce windows on the monotonic ticker (JAVA-…
runningcode Nov 12, 2026
bcc7c3d
ref(android): Remove unused BreadcrumbFactory (#6598)
markushi Nov 12, 2026
b98d31a
perf(core): Avoid allocations in log calls when debug is off (#6600)
romtsn Nov 12, 2026
13ec6c7
fix(android): Don't swallow interrupts while flushing a startup crash…
runningcode Nov 13, 2026
3b6fa83
feat(replay): Add pauseTouchTracking and resumeTouchTracking (#6546)
romtsn Nov 13, 2026
2e298a3
test(okhttp): Wait until the reader is blocked before closing the bod…
romtsn Nov 13, 2026
f69512e
fix(android): Part 3 of Nav3 support for multi-Activity and multi-Fra…
0xadam-brown Nov 13, 2026
013d0cc
chore(deps): Scan one Gradle directory with Dependabot (#6603)
romtsn Nov 13, 2026
7f94ff0
build(deps): Bump OpenTelemetry to 2.33.1 (#6602)
adinauer Nov 13, 2026
e788517
build(deps): Prepare for Spring Boot 4.2 (#6532)
adinauer Nov 13, 2026
8dac521
chore(deps): bump org.hsqldb:hsqldb from 2.6.1 to 2.7.4 (#6572)
dependabot[bot] Nov 16, 2026
4970543
chore(deps): bump the github-actions group across 1 directory with 4 …
dependabot[bot] Nov 16, 2026
bc46d27
chore(deps): bump com.github.ben-manes.versions from 0.42.0 to 0.67.0…
dependabot[bot] Nov 16, 2026
8b7119f
build(deps): Bump Spotless to 8.11.0 (#6612)
runningcode Nov 16, 2026
53bf81d
ci: Add PR risk (Jev) workflow (#6615)
sentry-junior[bot] Nov 16, 2026
cb42c87
build(deps): Bump Room 3 to 3.0.3 (#6616)
runningcode Nov 16, 2026
2301023
chore(deps): bump coroutines from 1.6.1 to 1.11.0 (#6609)
dependabot[bot] Nov 16, 2026
f3bd07f
fix(ktor-client): Send replay network timestamps in milliseconds (#6619)
runningcode Nov 16, 2026
a601744
chore(ai): Remove stale sentry-for-ai skills from agents.toml (#6620)
runningcode Nov 16, 2026
b0796b3
build(android): Include Android resources in navigation3 unit tests (…
runningcode Nov 16, 2026
ad27322
chore(deps): bump feign from 11.6 to 13.17 (#6606)
dependabot[bot] Nov 16, 2026
f56ca2a
chore(deps): bump slf4j from 1.7.30 to 2.0.20 (#6536)
dependabot[bot] Nov 16, 2026
70c6fb0
chore(deps): bump com.google.devtools.ksp from 2.3.13 to 2.3.14 (#6630)
dependabot[bot] Nov 17, 2026
3e6c07a
chore(deps): bump androidx.annotation:annotation from 1.9.1 to 1.11.0…
dependabot[bot] Nov 17, 2026
9feef75
chore(deps): bump org.apache.tomcat:tomcat-catalina from 9.0.108 to 1…
dependabot[bot] Nov 17, 2026
e6e5918
Merge branch 'main' into sync/main-to-9.x.x-2026-11-17
sentry-junior[bot] Nov 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .craft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,11 @@ targets:
packageUrl: https://central.sonatype.com/artifact/io.sentry/sentry-android-ndk
mainDocsUrl: https://docs.sentry.io/platforms/android/
apiDocsUrl: https://javadoc.io/doc/io.sentry
maven:io.sentry:sentry-android-ndk-outproc:
name: io.sentry:sentry-android-ndk-outproc
packageUrl: https://central.sonatype.com/artifact/io.sentry/sentry-android-ndk-outproc
mainDocsUrl: https://docs.sentry.io/platforms/android/configuration/using-ndk/
apiDocsUrl: https://javadoc.io/doc/io.sentry
maven:io.sentry:sentry-android-timber:
name: io.sentry:sentry-android-timber
packageUrl: https://central.sonatype.com/artifact/io.sentry/sentry-android-timber
Expand Down
9 changes: 6 additions & 3 deletions .cursor/rules/e2e_tests.mdc
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,14 @@ match on values only they produce.
## The OpenTelemetry agent

The agent must not run in the test's JVM, because it would instrument the test's own HTTP client
and server. The Spring Boot modules have an `agentFixture` source set with the app. `AgentApp`
starts it once per test JVM in a child process, with `ChildJvmApp` and the agent jar passed through
and server. The `io.sentry.otel-agent-tests` plugin in `build-logic` gives the Spring Boot modules
an `agentFixture` source set with the app, the `integrationTestOtelAgent` suite and the built agent
jar; each module adds only the dependencies of its Spring Boot line. `AgentApp` starts the app once
per test JVM in a child process, with `ChildJvmApp` and the agent jar passed through
`ChildJvmTestArguments`. The suite's task runs with the agent initializing Sentry, and
`integrationTestOtelAgentWithoutAutoInit` runs the same tests with the Spring Boot starter doing
it. Gradle runs the two in parallel.
it. Gradle runs the two in parallel. `otelAgentTests()` in a `springBootMatrix` block registers
both on each version.

## Running them

Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/bug_report_android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ body:
options:
- sentry-android
- sentry-android-ndk
- sentry-android-ndk-outproc
- sentry-android-timber
- sentry-android-fragment
- sentry-android-navigation3
Expand Down
12 changes: 6 additions & 6 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ registries:
password: dummy # Required by dependabot
updates:
- package-ecosystem: "gradle"
# The root build doesn't include the separate sample and test builds.
directories:
- "/"
- "/sentry-samples/sentry-samples-android"
- "/sentry-android-integration-tests"
- "/sentry-samples"
# The separate sample and test builds read this build's version catalog, so one directory
# covers them. Listing them too opens one PR per directory for the same bump.
directory: "/"
registries:
- gradle-plugin-portal
schedule:
interval: "daily"
ignore:
- dependency-name: "org.springframework.boot*"
- dependency-name: "io.opentelemetry*"
# DGS 5+ needs Spring Boot 3; the sample is on Spring Boot 2.
- dependency-name: "com.netflix.graphql.dgs*"
commit-message:
prefix: "chore(deps)"
- package-ecosystem: "github-actions"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/agp-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ jobs:
strategy:
fail-fast: false
matrix:
agp: [ '9.0.0', '9.2.1', '9.4.0' ]
agp: [ '9.0.0', '9.4.0', '9.5.1' ]
integrations: [ true, false ]

name: AGP Matrix Release - AGP ${{ matrix.agp }} - Integrations ${{ matrix.integrations }}
env:
VERSION_AGP: ${{ matrix.agp }}
APPLY_SENTRY_INTEGRATIONS: ${{ matrix.integrations }}
# Upload replay snapshots from one cell only. Forks don't have access to the upload secret.
UPLOAD_REPLAY_SNAPSHOTS: ${{ matrix.agp == '9.4.0' && matrix.integrations && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) }}
UPLOAD_REPLAY_SNAPSHOTS: ${{ matrix.agp == '9.5.1' && matrix.integrations && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) }}

steps:
- name: Checkout Repo
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/danger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ jobs:
danger:
runs-on: ubuntu-latest
steps:
- uses: getsentry/github-workflows/danger@959162c159b866489d3fabe93327f48f9b8cb7ee # v3
- uses: getsentry/github-workflows/danger@36529d71129a14967bea1fb81bcaf2a5943cf877 # v3
120 changes: 120 additions & 0 deletions .github/workflows/pr-risk-jev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
name: PR Risk (Jev)

on:
pull_request_target:
types: [opened, synchronize, reopened, ready_for_review, edited]
workflow_dispatch:
inputs:
pr_number:
description: Pull request number to analyze
required: true
type: number

permissions:
contents: read
pull-requests: write

concurrency:
group: pr-risk-jev-${{ github.event.pull_request.number || inputs.pr_number }}
cancel-in-progress: true

jobs:
risk:
name: PR risk (Jev)
runs-on: ubuntu-latest
timeout-minutes: 10
if: github.event_name == 'workflow_dispatch' || github.event.pull_request.draft == false
steps:
# The Action reads PR Git objects without checking out or executing PR code.
- name: Classify PR risk
id: risk
uses: getsentry/pr-risk-action@1cdeab5ada06969e5376666b3a79f444c2f41a67 # main
env:
AI_GATEWAY_API_KEY: ${{ secrets.AI_GATEWAY_API_KEY }}
with:
repo: ${{ github.repository }}
pr-number: ${{ github.event.pull_request.number || inputs.pr_number }}
expected-head-sha: ${{ github.event.pull_request.head.sha }}
result-path: risk-pr-result.json

- name: Publish risk label
if: ${{ !cancelled() && steps.risk.outcome != 'skipped' }}
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
env:
PR_NUMBER: ${{ github.event.pull_request.number || inputs.pr_number }}
with:
script: |
// Only this trusted workflow publishes labels; PR source is never executed.
const fs = require('node:fs');
if (!fs.existsSync('risk-pr-result.json')) {
core.warning('Risk analysis did not produce a result; no label was published.');
return;
}
const result = JSON.parse(fs.readFileSync('risk-pr-result.json', 'utf8'));
const prNumber = Number(process.env.PR_NUMBER);
const repo = context.repo;
const colors = { low: '0E8A16', medium: 'FBCA04', high: 'B60205' };
const riskLabels = Object.keys(colors).map(risk => `risk: ${risk}`);
if (!Number.isSafeInteger(prNumber) || prNumber <= 0
|| result.number !== prNumber || result.repo !== `${repo.owner}/${repo.repo}`
|| typeof result.status !== 'string'
|| (result.status === 'ok' && !Object.hasOwn(colors, result.risk_label))) {
throw new Error('Risk result does not match this PR or a valid risk class.');
}
const snapshot = result.snapshot;
if (result.status === 'pr_changed' || !snapshot?.source_head_sha || !snapshot?.source_base_sha) {
core.warning('Risk analysis has no current revision; no label was published.');
return;
}
const { data: pr } = await github.rest.pulls.get({ ...repo, pull_number: prNumber });
if (pr.state !== 'open' || pr.head.sha !== snapshot.source_head_sha
|| pr.base.sha !== snapshot.source_base_sha) {
core.warning('PR changed after risk analysis; no label was published.');
return;
}
const target = result.status === 'ok' ? `risk: ${result.risk_label}` : null;
const existing = pr.labels.map(label => label.name);
if (target && !existing.includes(target)) {
try {
await github.rest.issues.getLabel({ ...repo, name: target });
} catch (error) {
if (error.status !== 404) throw error;
try {
await github.rest.issues.createLabel({
...repo, name: target, color: colors[result.risk_label],
description: `PR risk score: ${result.risk_label}`,
});
} catch (error) {
if (error.status !== 422) throw error;
// Another PR may have created the shared repository label.
await github.rest.issues.getLabel({ ...repo, name: target });
}
}
await github.rest.issues.addLabels({ ...repo, issue_number: prNumber, labels: [target] });
}
// A failed classification must not leave an earlier low/medium/high verdict.
for (const name of existing.filter(name => riskLabels.includes(name) && name !== target)) {
try {
await github.rest.issues.removeLabel({ ...repo, issue_number: prNumber, name });
} catch (error) {
if (error.status !== 404) throw error;
}
}
const { data: latest } = await github.rest.pulls.get({ ...repo, pull_number: prNumber });
if (target && (latest.state !== 'open' || latest.head.sha !== pr.head.sha
|| latest.base.sha !== pr.base.sha || latest.title !== pr.title || latest.body !== pr.body)) {
await github.rest.issues.removeLabel({ ...repo, issue_number: prNumber, name: target });
core.warning('PR changed while publishing; removed the outdated risk label.');
return;
}
if (!target) core.warning(`PR remains unclassified: ${result.status}. Previous risk labels were cleared.`);
core.info(target ? `Published ${target}` : 'No risk label published.');

- name: Upload risk result
if: always()
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7
with:
name: pr-risk-jev-${{ github.event.pull_request.number || inputs.pr_number }}
path: risk-pr-result.json
if-no-files-found: warn
retention-days: 30
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
# Needs to be set, otherwise git describe --tags will fail with: No names found, cannot describe anything
fetch-depth: 0
- name: Prepare release
uses: getsentry/craft@9567926a606072678ef367b02445c4f99f374795 # 3.11.2
uses: getsentry/craft@0da9309228741a4c300d3c87ed7dcafa8f703525 # 3.12.0
env:
GITHUB_TOKEN: ${{ steps.token.outputs.token }}
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
native:
runs-on: ubuntu-latest
steps:
- uses: getsentry/github-workflows/updater@959162c159b866489d3fabe93327f48f9b8cb7ee # v3
- uses: getsentry/github-workflows/updater@36529d71129a14967bea1fb81bcaf2a5943cf877 # v3
with:
path: scripts/update-sentry-native-ndk.sh
name: Native SDK
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
permissions:
pull-requests: write
steps:
- uses: getsentry/github-workflows/validate-pr@959162c159b866489d3fabe93327f48f9b8cb7ee # v3
- uses: getsentry/github-workflows/validate-pr@36529d71129a14967bea1fb81bcaf2a5943cf877 # v3
with:
app-id: ${{ vars.SDK_MAINTAINER_BOT_APP_ID }}
private-key: ${{ secrets.SDK_MAINTAINER_BOT_PRIVATE_KEY }}
Loading
Loading