Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

POTEL 50 - Spring boot autoconfig for otel no agent #3845

Closed
wants to merge 156 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
156 commits
Select commit Hold shift + click to select a range
bf5857e
Hubs/Scopes Merge 1 - Introduce `IScopes` interface. (#3297)
adinauer Apr 16, 2024
ca5593e
Hubs/Scopes Merge 2 - Replace `IHub` with `IScopes` in core (#3298)
adinauer Apr 16, 2024
30990f6
Hubs/Scopes Merge 3 - Replace `IHub` with `IScopes` in Android core (…
adinauer Apr 16, 2024
baa35e1
Hubs/Scopes Merge 4 - Replace `IHub` with `IScopes` in Android integr…
adinauer Apr 16, 2024
00c2535
Hubs/Scopes Merge 5 - Replace `IHub` with `IScopes` in apollo integra…
adinauer Apr 16, 2024
c1840cf
Hubs/Scopes Merge 6 - Replace `IHub` with `IScopes` in OkHttp integra…
adinauer Apr 16, 2024
784341e
Hubs/Scopes Merge 7 - Replace `IHub` with `IScopes` in GraphQL integr…
adinauer Apr 16, 2024
c0be8ea
Hubs/Scopes Merge 8 - Replace `IHub` with `IScopes` in logging integr…
adinauer Apr 16, 2024
76ec6b0
Hubs/Scopes Merge 9 - Replace `IHub` with `IScopes` in more integrati…
adinauer Apr 16, 2024
c552a2c
Hubs/Scopes Merge 10 - Replace `IHub` with `IScopes` in OTel integrat…
adinauer Apr 16, 2024
495ed99
Hubs/Scopes Merge 11 - Replace `IHub` with `IScopes` in Spring 5 / Sp…
adinauer Apr 16, 2024
e11f8b1
Hubs/Scopes Merge 12 - Replace `IHub` with `IScopes` in Spring 6 / Sp…
adinauer Apr 16, 2024
ec30e19
Hubs/Scopes Merge 13 - Replace `IHub` with `IScopes` in samples (#3310)
adinauer Apr 16, 2024
7a0cd9f
Hubs/Scopes Merge 14 - Add `Scopes` to replace `Hub` (#3311)
adinauer Apr 19, 2024
edb4be2
Hubs/Scopes Merge 15 - Replace `ThreadLocal` with scope storage (#3317)
adinauer Apr 19, 2024
a1bfa95
Hubs / Scopes Merge 16 - Move client and throwable to span map to sco…
adinauer Apr 19, 2024
6390bc6
Hubs / Scopes Merge 17 - Add global scope (#3319)
adinauer Apr 19, 2024
6ee5169
Hubs / Scopes Merge 18 - Implement `pushScope` ,`popScope` and `withS…
adinauer Apr 19, 2024
dd992aa
Hubs/Scopes Merge 19 - Add `pushIsolationScope` and fork methods (#3343)
adinauer Apr 19, 2024
385666d
Hubs/Scopes Merge 20 - Use separate scope for current, isolation and …
adinauer Apr 19, 2024
a941eb8
Hubs/Scopes Merge 21 - Allow controlling which scope `configureScope`…
adinauer Apr 22, 2024
9546564
Hubs/Scopes Merge 22 - Combine global, isolation and current scope (#…
adinauer Apr 22, 2024
28144c6
Hubs/Scopes Merge 23 - Use new API for CRONS integrations (#3347)
adinauer Apr 22, 2024
9a64a0b
Hubs/Scopes Merge 24 - Use new API in Spring integrations (#3348)
adinauer Apr 22, 2024
153f678
Hubs/Scopes Merge 25 - Use new API in Servlet integrations (#3349)
adinauer Apr 22, 2024
e0cb935
Hubs/Scopes Merge 26 - Use new API for Kotlin coroutines and SentryWr…
adinauer Apr 22, 2024
a3ba20a
Hubs/Scopes Merge 27 - Discussions (#3352)
adinauer Apr 22, 2024
2d01626
Hubs/Scopes Merge 28 - Fix breadcrumb ordering (#3355)
adinauer Apr 23, 2024
4650d04
Hubs Scopes Merge 29 - Mark TODOs related to Hubs/Scopes Merge with […
adinauer Apr 23, 2024
e296fb6
Hubs/Scopes Merge 30 - Add `getGlobalScope` and `forkedRootScopes` to…
adinauer Apr 23, 2024
d45c721
Hubs/Scopes Merge 31 - Fix `EventProcessor` ordering on `Scopes` (#3360)
adinauer May 2, 2024
10f8e44
Hubs/Scopes Merge 32 - Reuse code in Scopes (#3361)
adinauer May 2, 2024
2e11284
Hubs/Scopes Merge 33 - No longer replace global scope (#3362)
adinauer May 2, 2024
dcda5c7
Hubs/Scopes Merge 34 - Replace hub occurrences in comments, var names…
adinauer May 2, 2024
3a65a07
Hubs/Scopes Merge 35 - Implement `ScopesTest` (#3370)
adinauer May 2, 2024
dcd6d1e
Hubs/Scopes Merge 36 - Implement `CombinedScopeViewTest` (#3371)
adinauer May 2, 2024
cac8cb8
Hubs/Scopes Merge 37 - Fix combined `Contexts` (#3374)
adinauer May 2, 2024
9349303
Hubs/Scopes Merge 38 - Use `ScopeType.COMBINED` for cross platform (`…
adinauer May 2, 2024
0cc4e73
Hubs/Scopes Merge 39 - Review Changes (#3381)
adinauer May 2, 2024
aa3cd3e
Hubs/Scopes Merge 40 - `Scopes.isEnabled` now checks `getClient().isE…
adinauer May 2, 2024
9b61758
Hubs/Scopes Merge 41 - Use `SentryOptions.empty()` (#3387)
adinauer May 2, 2024
05ff878
Hubs/Scopes Merge 42 - Remove `Hub` (#3389)
adinauer May 2, 2024
5e2029b
Hubs/Scopes Merge 42b - Merge fingerprints from all scopes (#3395)
adinauer May 3, 2024
e7007dd
Hubs/Scopes Merge 42d - Close previous scopes before binding a new gl…
adinauer May 7, 2024
dc56a6a
Report suppressed exceptions as exception group (#3396)
adinauer May 13, 2024
9114f94
HSM 43a Fix Android Tests Alternative (#3418)
lbloder May 14, 2024
dd88506
Merge branch 'main' into 8.x.x
adinauer May 14, 2024
4efa6f7
fix after merge
adinauer May 14, 2024
6c31cc0
8.x Cleanup (#3419)
adinauer May 14, 2024
ea117ff
Add changelog for `8.x` (alpha) release (#3421)
adinauer May 14, 2024
218eb60
release: 8.0.0-alpha.1
getsentry-bot May 14, 2024
5a3f296
Merge branch 'release/8.0.0-alpha.1' into 8.x.x
May 14, 2024
337f79a
Merge branch 'main' into 8.x.x
lbloder May 27, 2024
c2f2cc7
Add data fetching environment hint to breadcrumb (#3413) (#3431)
ooraini May 28, 2024
a3c251e
Move NDK from sentry-java to sentry-native (#3189)
markushi May 28, 2024
1161c1a
POTEL 1 - Use OpenTelemetry for Performance and `Scopes` propagation …
adinauer Jun 18, 2024
f85f1e2
POTEL 2 - Promote OpenTelemetry Span attributes (#3402)
adinauer Jun 18, 2024
a43af1c
POTEL 3 - Use OpenTelemetry in Sentry Performance API (#3416)
adinauer Jun 18, 2024
f6bd820
POTEL 4 - Deduplicate `SpanInfo` extraction (#3423)
adinauer Jun 18, 2024
3975e93
POTEL 5 - Start and end time, data, tags etc. now work with Sentry AP…
adinauer Jun 18, 2024
504ef52
POTEL 6 - Use OpenTelemetry span status for Sentry span API (#3439)
adinauer Jun 18, 2024
2b8a037
POTEL 7 - Tracing (#3445)
adinauer Jun 18, 2024
aa70b16
POTEL 8 - Inherit OTel span ID and do not sample again when sending t…
adinauer Jun 18, 2024
210c992
POTEL 9 - Tracing Fixes and Baggage (#3455)
adinauer Jun 18, 2024
67490cd
POTEL 10 - Cleanup (#3460)
adinauer Jun 18, 2024
e50d955
POTEL 11 - Move sampling logic into OTel Sampler (#3462)
adinauer Jun 18, 2024
dd6307a
POTEL 12 - Remove internal span attributes so they are not sent to Se…
adinauer Jun 18, 2024
94ba63c
POTEL 13 - Use transaction name (#3464)
adinauer Jun 18, 2024
5c9fb87
POTEL 14 - Keep Sentry span `op` and OTel span `name` in sync (#3468)
adinauer Jun 18, 2024
ecfcb2b
POTEL 15 - More cleanup (#3469)
adinauer Jun 18, 2024
19d0b3f
POTEL 16 - Add `ignoredSpanOrigins` option (#3477)
adinauer Jun 18, 2024
967fa5f
Reuse `TracesSampler` instance (#3479)
adinauer Jun 18, 2024
11de2d2
Merge branch 'main' into 8.x.x
adinauer Jun 19, 2024
eff6399
Catch exceptions when closing integrations (#3488)
adinauer Jun 24, 2024
9f7e431
POTEL 17 - Use `NoOpSpanFactory` for `SentryOptions.empty` (#3489)
adinauer Jun 24, 2024
738c5fa
POTEL 18 - Use correct `SentryOptions` for `SentryClient` constructor…
adinauer Jun 24, 2024
54e6568
POTEL 19 - Review feedback (#3491)
adinauer Jun 24, 2024
d90e0f9
POTEL 20 - Use `SpanOptions.startTimestamp` in `Span` constructor (#3…
adinauer Jun 24, 2024
407a877
POTEL 21 - Drop OpenTelemetry spans for internal Sentry requests (#3508)
adinauer Jun 24, 2024
42273e8
POTEL 22 - Improve Changelog (#3513)
adinauer Jun 25, 2024
8354619
POTEL 23 - Bump OTel versions (#3514)
adinauer Jun 25, 2024
6c89ff7
POTEL 24 - Fixes after merge and some more PR comments have been addr…
adinauer Jun 25, 2024
1a4c9e8
POTEL 25 - Workaround for `sentry-opentelemetry-agent` with `SENTRY_A…
adinauer Jun 25, 2024
d924cd1
POTEL 26 - Customize OpenTelemetry `Scope.close` behaviour (#3517)
adinauer Jun 26, 2024
af66eb2
POTEL 27 - Rename classes and mark some classes internal (#3518)
adinauer Jun 26, 2024
98cd975
POTEL 28 - Use `auto.opentelemetry` for POTel span origin (#3523)
adinauer Jun 26, 2024
783e112
Remove sentry-native submodule again; ignore failing test (#3525)
adinauer Jun 26, 2024
8268911
release: 8.0.0-alpha.2
getsentry-bot Jun 26, 2024
d7f4cd4
Merge branch 'release/8.0.0-alpha.2' into 8.x.x
Jun 26, 2024
935bb1d
Removed sentry-android-okhttp module (#3510)
stefanosiano Jul 1, 2024
29ac921
Merge branch 'main' into 8.x.x
stefanosiano Jul 1, 2024
cee271c
Format code
getsentry-bot Jul 1, 2024
437936e
Fix main merge (#3537)
stefanosiano Jul 2, 2024
c7232fe
Parse and use `send-default-pii` and `max-request-body-size` from `se…
adinauer Jul 2, 2024
a62056e
Support spans that are split into multiple batches (#3539)
adinauer Jul 2, 2024
afff380
POTEL 29 - Partially fix bootstrap class loading (#3543)
adinauer Jul 3, 2024
49cc6bb
POTEL 30 - `span.startChild` now uses `.makeCurrent()` by default (#3…
adinauer Jul 3, 2024
ed7a8a5
release: 8.0.0-alpha.3
getsentry-bot Jul 3, 2024
56f3bd9
Merge branch 'release/8.0.0-alpha.3' into 8.x.x
Jul 3, 2024
db61a7b
removed user segment (#3512)
stefanosiano Jul 5, 2024
30fd3cf
POTEL 31 - Use span id of remote parent (#3548)
adinauer Jul 5, 2024
46d0f03
POTEL 32 - Attach active span to scope when using OpenTelemetry (#3549)
adinauer Jul 5, 2024
a31a59e
POTEL 33 - Record dropped spans when sampling OpenTelemetry spans (#3…
adinauer Jul 5, 2024
34c47d4
POTEL 34 - Retrieve the correct current span from `Scope`/`Scopes` (#…
adinauer Jul 5, 2024
a7f4ccf
release: 8.0.0-alpha.4
getsentry-bot Jul 5, 2024
2537a27
Merge branch 'release/8.0.0-alpha.4' into 8.x.x
Jul 8, 2024
aaf7418
POTEL 35 - Use OtelSpan name as fallback for transaction name (#3557)
lbloder Jul 11, 2024
3740e7e
Change OkHttp sub-spans to span attributes (#3556)
stefanosiano Jul 17, 2024
5583fa5
throw when calling Sentry.init on Android (#3596)
stefanosiano Jul 23, 2024
7bd86f0
POTEL 37 add otel attributes to span data (#3593)
lbloder Sep 2, 2024
7ad44b4
POTEL 37b - No longer selectively copy OTel span attributes (#3663)
adinauer Sep 3, 2024
49c9395
POETL 37c - Skip `PROCESS_COMMAND_ARGS` attribute (#3664)
adinauer Sep 3, 2024
e5f1ac5
POTEL 37d - Bump OpenTelemetry versions (#3668)
adinauer Sep 3, 2024
2b67fff
POTEL 39 - Use RECORD_ONLY sampling decision if performance is disabl…
adinauer Sep 3, 2024
c58587b
POTEL 40 - Init Priority settings (#3674)
adinauer Sep 16, 2024
9b2603b
POTEL 41 - Set InitPriority for Android, Manifest option for forceIni…
adinauer Sep 16, 2024
85814d7
POTEL 42 - Set init priority for backend integrations (#3676)
adinauer Sep 16, 2024
a438373
Fix Multi Init Merge and Tests (#3694)
adinauer Sep 17, 2024
327cc51
Merge `main` into `8.x.x` including Session Replay changes (#3696)
adinauer Sep 19, 2024
68d0338
POTEL 43 - No longer set Instrumenter to `OTEL` for the new Java Agen…
adinauer Sep 23, 2024
846baeb
POTEL 44 - Restore multi init tests (#3701)
adinauer Sep 23, 2024
e34b8a2
POTEL 45 - Set span origin in `ActivityLifecycleIntegration` on span …
adinauer Sep 23, 2024
cc78f7a
POTEL 46 - Restore gesture listener tracing test (#3703)
adinauer Sep 23, 2024
42a340e
POTEL 47 - Honor ignored span origins in `SentryTracer.startChild` (#…
adinauer Sep 23, 2024
6926168
POTEL 48 - Cleanup POTel TODOs (#3705)
adinauer Sep 23, 2024
8bab428
POTEL 49 - Add `enable-spotlight` and `spotlight-connection-url` to e…
adinauer Sep 23, 2024
61a31d5
Replace Android thread id with kernel thread id in span data (#3706)
stefanosiano Sep 23, 2024
f1b7116
Replace `synchronized` with`ReentrantLock` (#3715)
adinauer Sep 30, 2024
6101b73
Remove `reportFullDisplayed` (#3717)
adinauer Sep 30, 2024
c2cad45
Remove `traceHeaders` method (#3718)
adinauer Sep 30, 2024
c3534db
changelog
adinauer Sep 30, 2024
5eb786a
Mark trace context `@NotNull` on `Contexts.setTrace` (#3721)
adinauer Sep 30, 2024
356b5ce
Remove internal annotation on `SpanOptions` (#3722)
adinauer Sep 30, 2024
e017698
Make `SentryLogbackInitializer` public (#3723)
adinauer Sep 30, 2024
cfc5405
comment out tests for now
adinauer Sep 30, 2024
4e23b92
Attach request body for `application/x-www-form-urlencoded` requests …
adinauer Oct 4, 2024
18da8f8
Add support for v22 of `graphql-java` via `sentry-graphql-22` (#3740)
adinauer Oct 7, 2024
093ebc6
Replace `GraphQlSourceBuilderCustomizer` with directly providing a `S…
adinauer Oct 7, 2024
2065d35
Support `graphql-java` v22 in Sentry Spring (Boot) integrations (#3745)
adinauer Oct 7, 2024
8c90f98
Close `Scopes` before replacing options on global `Scope` (#3750)
adinauer Oct 9, 2024
2b34468
Remove metrics (#3774)
adinauer Oct 9, 2024
93ee8ee
Remove `enableTracing` option in v8 (#3776)
adinauer Oct 10, 2024
1eb8476
Remove deprecations (#3780)
adinauer Oct 10, 2024
2a08014
Feat/breadcrumb level from http status (#3771)
lbloder Oct 10, 2024
281a621
Merge `main` into `8.x.x` again (#3789)
adinauer Oct 15, 2024
5d921a5
Add data from transaction root span to contexts.trace.data (#3735)
lbloder Oct 15, 2024
f237379
Remove enable tracing from android sample manifest (#3792)
lbloder Oct 15, 2024
c52a7cf
release: 8.0.0-beta.1
getsentry-bot Oct 16, 2024
6b638b0
Merge branch 'release/8.0.0-beta.1' into 8.x.x
Oct 16, 2024
5b8c172
Add `globalHubMode` to options (#3805)
adinauer Oct 21, 2024
83e1bd2
Update CodeQL for sentry-java 8.x (#3819)
markushi Oct 24, 2024
d590d3e
(Android) Enable Performance V2 by default (#3824)
stefanosiano Oct 28, 2024
57b2da5
ActivityLifecycleIntegration now sets cold or warm start type if not …
stefanosiano Oct 29, 2024
d2c4d5e
Lazy uuid generation for SentryId and SpanId (#3770)
lbloder Oct 29, 2024
c682d68
Extend backend e2e tests (#3828)
adinauer Oct 30, 2024
f5360c5
Auto config for Spring Boot combined with OTel but without agent
adinauer Nov 5, 2024
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
  •  
  •  
  •  
4 changes: 3 additions & 1 deletion .craft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ targets:
maven:io.sentry:sentry-android-core:
maven:io.sentry:sentry-android-ndk:
maven:io.sentry:sentry-android-timber:
maven:io.sentry:sentry-android-okhttp:
maven:io.sentry:sentry-kotlin-extensions:
maven:io.sentry:sentry-android-fragment:
maven:io.sentry:sentry-bom:
Expand All @@ -48,6 +47,8 @@ targets:
maven:io.sentry:sentry-apollo:
maven:io.sentry:sentry-jdbc:
maven:io.sentry:sentry-graphql:
# maven:io.sentry:sentry-graphql-core:
# maven:io.sentry:sentry-graphql-22:
maven:io.sentry:sentry-quartz:
maven:io.sentry:sentry-okhttp:
maven:io.sentry:sentry-android-navigation:
Expand All @@ -56,3 +57,4 @@ targets:
maven:io.sentry:sentry-compose-desktop:
maven:io.sentry:sentry-apollo-3:
maven:io.sentry:sentry-android-sqlite:
maven:io.sentry:sentry-android-replay:
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report_android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ body:
options:
- sentry-android
- sentry-android-ndk
- sentry-android-okhttp
- sentry-android-timber
- sentry-android-fragment
- sentry-android-sqlite
- sentry-apollo
- sentry-compose
- sentry-apollo-3
- sentry-compose
- sentry-okhttp
- other
validations:
required: true
Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/bug_report_java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ body:
- sentry-logback
- sentry-log4j2
- sentry-graphql
- sentry-graphql-22
- sentry-quartz
- sentry-openfeign
- sentry-apache-http-client-5
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 @@ -38,7 +38,7 @@ jobs:
java-version: '17'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@2cd2a6e951bd0b53f55a08e4e4c6f2586f3a36b9 # pin@v3
uses: gradle/actions/setup-gradle@0d30c9111cf47a838eb69c06d13f3f51ab2ed76f # pin@v3
with:
gradle-home-cache-cleanup: true

Expand All @@ -59,7 +59,7 @@ jobs:

# We tried to use the cache action to cache gradle stuff, but it made tests slower and timeout
- name: Run instrumentation tests
uses: reactivecircus/android-emulator-runner@6b0df4b0efb23bb0ec63d881db79aefbc976e4b2 # pin@v2
uses: reactivecircus/android-emulator-runner@f0d1ed2dcad93c7479e8b2f2226c83af54494915 # pin@v2
with:
api-level: 30
force-avd-creation: false
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ jobs:
java-version: '17'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@2cd2a6e951bd0b53f55a08e4e4c6f2586f3a36b9 # pin@v3
uses: gradle/actions/setup-gradle@0d30c9111cf47a838eb69c06d13f3f51ab2ed76f # pin@v3
with:
gradle-home-cache-cleanup: true

- name: Run Tests with coverage and Lint
run: make preMerge

- name: Upload coverage to Codecov
uses: codecov/codecov-action@5ecb98a3c6b747ed38dc09f787459979aebb39be # pin@v4
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # pin@v4
with:
name: sentry-java
fail_ci_if_error: false
Expand Down
15 changes: 4 additions & 11 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ jobs:

strategy:
fail-fast: false
matrix:
language: ['cpp', 'java']

steps:
- name: Checkout Repo
Expand All @@ -36,23 +34,18 @@ jobs:
java-version: '17'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@2cd2a6e951bd0b53f55a08e4e4c6f2586f3a36b9 # pin@v3
uses: gradle/actions/setup-gradle@0d30c9111cf47a838eb69c06d13f3f51ab2ed76f # pin@v3
with:
gradle-home-cache-cleanup: true

- name: Initialize CodeQL
uses: github/codeql-action/init@23acc5c183826b7a8a97bce3cecc52db901f8251 # pin@v2
uses: github/codeql-action/init@294a9d92911152fe08befb9ec03e240add280cb3 # pin@v2
with:
languages: ${{ matrix.language }}

- if: matrix.language == 'cpp'
name: Build Cpp
run: |
./gradlew sentry-android-ndk:buildCMakeRelWithDebInfo
- if: matrix.language == 'java'
name: Build Java
- name: Build Java
run: |
./gradlew buildForCodeQL

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@23acc5c183826b7a8a97bce3cecc52db901f8251 # pin@v2
uses: github/codeql-action/analyze@294a9d92911152fe08befb9ec03e240add280cb3 # pin@v2
2 changes: 1 addition & 1 deletion .github/workflows/enforce-license-compliance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup Gradle
uses: gradle/actions/setup-gradle@2cd2a6e951bd0b53f55a08e4e4c6f2586f3a36b9 # pin@v3
uses: gradle/actions/setup-gradle@0d30c9111cf47a838eb69c06d13f3f51ab2ed76f # pin@v3
with:
gradle-home-cache-cleanup: true

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/generate-javadocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ jobs:
java-version: '17'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@2cd2a6e951bd0b53f55a08e4e4c6f2586f3a36b9 # pin@v3
uses: gradle/actions/setup-gradle@0d30c9111cf47a838eb69c06d13f3f51ab2ed76f # pin@v3
with:
gradle-home-cache-cleanup: true

- name: Generate Aggregate Javadocs
run: |
./gradlew aggregateJavadocs
- name: Deploy
uses: JamesIves/github-pages-deploy-action@65b5dfd4f5bcd3a7403bbc2959c144256167464e # pin@4.5.0
uses: JamesIves/github-pages-deploy-action@920cbb300dcd3f0568dbc42700c61e2fd9e6139c # pin@4.6.4
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gradle-wrapper-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- uses: gradle/wrapper-validation-action@88425854a36845f9c881450d9660b5fd46bee142 # pin@v1
- uses: gradle/wrapper-validation-action@f9c9c575b8b21b6485636a91ffecd10e558c62f6 # pin@v1
4 changes: 2 additions & 2 deletions .github/workflows/integration-tests-benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
java-version: '17'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@2cd2a6e951bd0b53f55a08e4e4c6f2586f3a36b9 # pin@v3
uses: gradle/actions/setup-gradle@0d30c9111cf47a838eb69c06d13f3f51ab2ed76f # pin@v3
with:
gradle-home-cache-cleanup: true

Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
java-version: '17'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@2cd2a6e951bd0b53f55a08e4e4c6f2586f3a36b9 # pin@v3
uses: gradle/actions/setup-gradle@0d30c9111cf47a838eb69c06d13f3f51ab2ed76f # pin@v3
with:
gradle-home-cache-cleanup: true

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
java-version: '17'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@2cd2a6e951bd0b53f55a08e4e4c6f2586f3a36b9 # pin@v3
uses: gradle/actions/setup-gradle@0d30c9111cf47a838eb69c06d13f3f51ab2ed76f # pin@v3
with:
gradle-home-cache-cleanup: true

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
java-version: '17'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@2cd2a6e951bd0b53f55a08e4e4c6f2586f3a36b9 # pin@v3
uses: gradle/actions/setup-gradle@0d30c9111cf47a838eb69c06d13f3f51ab2ed76f # pin@v3
with:
gradle-home-cache-cleanup: true

Expand Down
13 changes: 10 additions & 3 deletions .github/workflows/system-tests-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,13 @@ jobs:
fail-fast: false
matrix:
sample: [ "sentry-samples-spring-boot-jakarta" ]
agent: [ "0" ]
include:
- sample: "sentry-samples-spring-boot"
- sample: "sentry-samples-spring-boot-webflux-jakarta"
- sample: "sentry-samples-spring-boot-webflux"
- sample: "sentry-samples-spring-boot-jakarta-opentelemetry"
agent: "1"
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -40,13 +43,13 @@ jobs:
java-version: '17'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@2cd2a6e951bd0b53f55a08e4e4c6f2586f3a36b9 # pin@v3
uses: gradle/actions/setup-gradle@0d30c9111cf47a838eb69c06d13f3f51ab2ed76f # pin@v3
with:
gradle-home-cache-cleanup: true

- name: Exclude android modules from build
run: |
sed -i -e '/.*"sentry-android-ndk",/d' -e '/.*"sentry-android",/d' -e '/.*"sentry-compose",/d' -e '/.*"sentry-android-core",/d' -e '/.*"sentry-android-fragment",/d' -e '/.*"sentry-android-navigation",/d' -e '/.*"sentry-android-okhttp",/d' -e '/.*"sentry-android-sqlite",/d' -e '/.*"sentry-android-timber",/d' -e '/.*"sentry-android-integration-tests:sentry-uitest-android-benchmark",/d' -e '/.*"sentry-android-integration-tests:sentry-uitest-android",/d' -e '/.*"sentry-android-integration-tests:test-app-sentry",/d' -e '/.*"sentry-samples:sentry-samples-android",/d' settings.gradle.kts
sed -i -e '/.*"sentry-android-ndk",/d' -e '/.*"sentry-android",/d' -e '/.*"sentry-compose",/d' -e '/.*"sentry-android-core",/d' -e '/.*"sentry-android-fragment",/d' -e '/.*"sentry-android-navigation",/d' -e '/.*"sentry-android-sqlite",/d' -e '/.*"sentry-android-timber",/d' -e '/.*"sentry-android-integration-tests:sentry-uitest-android-benchmark",/d' -e '/.*"sentry-android-integration-tests:sentry-uitest-android",/d' -e '/.*"sentry-android-integration-tests:test-app-sentry",/d' -e '/.*"sentry-samples:sentry-samples-android",/d' -e '/.*"sentry-android-replay",/d' settings.gradle.kts

- name: Exclude android modules from ignore list
run: |
Expand All @@ -56,9 +59,13 @@ jobs:
run: |
./gradlew :sentry-samples:${{ matrix.sample }}:bootJar

- name: Build agent jar
run: |
./gradlew :sentry-opentelemetry:sentry-opentelemetry-agent:assemble

- name: Start server and run integration test for sentry-cli commands
run: |
test/system-test-sentry-server-start.sh > sentry-mock-server.txt 2>&1 & test/system-test-spring-server-start.sh "${{ matrix.sample }}" > spring-server.txt 2>&1 & test/wait-for-spring.sh && ./gradlew :sentry-samples:${{ matrix.sample }}:systemTest
test/system-test-sentry-server-start.sh > sentry-mock-server.txt 2>&1 & test/system-test-spring-server-start.sh "${{ matrix.sample }}" "${{ matrix.agent }}" > spring-server.txt 2>&1 & test/wait-for-spring.sh && ./gradlew :sentry-samples:${{ matrix.sample }}:systemTest

- name: Upload test results
if: always()
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 @@ -13,7 +13,7 @@ jobs:
native:
uses: getsentry/github-workflows/.github/workflows/updater.yml@v2
with:
path: sentry-android-ndk/sentry-native
path: scripts/update-sentry-native-ndk.sh
name: Native SDK
secrets:
# If a custom token is used instead, a CI would be triggered on a created PR.
Expand Down
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
[submodule "sentry-android-ndk/sentry-native"]
path = sentry-android-ndk/sentry-native
url = https://github.com/getsentry/sentry-native
Loading
Loading