Skip to content

Commit 5ec1057

Browse files
committed
Merge remote-tracking branch 'upstream/main' into db-refactoring
2 parents 8f0ce07 + 03a1122 commit 5ec1057

File tree

463 files changed

+10016
-6960
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

463 files changed

+10016
-6960
lines changed

.fossa.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,12 @@ targets:
337337
- type: gradle
338338
path: ./
339339
target: ':instrumentation:armeria:armeria-grpc-1.14:javaagent'
340+
- type: gradle
341+
path: ./
342+
target: ':instrumentation:async-http-client:async-http-client-1-common:javaagent'
343+
- type: gradle
344+
path: ./
345+
target: ':instrumentation:async-http-client:async-http-client-1.8:javaagent'
340346
- type: gradle
341347
path: ./
342348
target: ':instrumentation:async-http-client:async-http-client-1.9:javaagent'

.github/CODEOWNERS

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
#
22
# Learn about membership in OpenTelemetry community:
33
# https://github.com/open-telemetry/community/blob/main/guides/contributor/membership.md
4-
#
5-
#
6-
# Learn about CODEOWNERS file format:
7-
# https://help.github.com/en/articles/about-code-owners
84
#
95

106
* @open-telemetry/java-instrumentation-approvers

.github/config/lychee.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Lychee configuration file
2+
# See https://lychee.cli.rs/config/
3+
14
timeout = 30
25
retry_wait_time = 5
36
max_retries = 6

.github/renovate.json5

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,6 @@
9393
'com.fasterxml.jackson.core:**',
9494
],
9595
},
96-
{
97-
// prevent update to 2.4-groovy-4.0-SNAPSHOT
98-
allowedVersions: '!/\\-SNAPSHOT$/',
99-
matchPackageNames: [
100-
'org.spockframework:**',
101-
],
102-
},
10396
{
10497
// prevent 3.0.1u2 -> 3.0.1
10598
matchPackageNames: [
@@ -166,6 +159,16 @@
166159
'com.github.tomakehurst:wiremock-jre8'
167160
],
168161
},
162+
{
163+
// vaadin 14 tests require node 16
164+
matchPackageNames: [
165+
'actions/node-versions',
166+
],
167+
matchUpdateTypes: [
168+
'major',
169+
],
170+
enabled: false,
171+
},
169172
{
170173
// intentionally using Spring Boot 2 in this smoke tests
171174
// new versions of Spring Boot 3 are tested with

.github/workflows/auto-license-report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
5353
- name: Upload patch file
5454
if: steps.create-patch.outputs.exists == 'true'
55-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
55+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
5656
with:
5757
path: patch
5858
name: patch

.github/workflows/auto-spotless.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
5252
- name: Upload patch file
5353
if: steps.create-patch.outputs.exists == 'true'
54-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
54+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
5555
with:
5656
path: patch
5757
name: patch

.github/workflows/auto-update-pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
pull-requests: write
1919
steps:
2020
- name: Download patch
21-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
21+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
2222
with:
2323
run-id: ${{ github.event.workflow_run.id }}
2424
path: ${{ runner.temp }}

.github/workflows/build-common.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ jobs:
219219
fi
220220
221221
- name: Upload agent jar
222-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
222+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
223223
with:
224224
name: opentelemetry-javaagent.jar
225225
path: javaagent/build/libs/opentelemetry-javaagent-*-SNAPSHOT.jar
@@ -230,7 +230,7 @@ jobs:
230230
mkdir sboms
231231
cp javaagent/build/spdx/*.spdx.json sboms
232232
233-
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
233+
- uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
234234
name: Upload SBOMs
235235
with:
236236
name: opentelemetry-java-instrumentation-SBOM.zip
@@ -247,6 +247,7 @@ jobs:
247247
- 17
248248
- 21
249249
- 25 # renovate: datasource=java-version
250+
- 25-deny-unsafe
250251
vm:
251252
- hotspot
252253
- openj9
@@ -260,6 +261,8 @@ jobs:
260261
- true
261262
exclude:
262263
- vm: ${{ inputs.skip-openj9-tests && 'openj9' || '' }}
264+
- test-java-version: 25-deny-unsafe
265+
vm: openj9
263266
fail-fast: false
264267
steps:
265268
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
@@ -273,7 +276,7 @@ jobs:
273276
with:
274277
# using zulu because new releases get published quickly
275278
distribution: ${{ matrix.vm == 'hotspot' && 'zulu' || 'adopt-openj9'}}
276-
java-version: ${{ matrix.test-java-version }}
279+
java-version: ${{ matrix.test-java-version != '25-deny-unsafe' && matrix.test-java-version || '25' }}
277280

278281
- name: Set up JDK for running Gradle
279282
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
@@ -329,6 +332,7 @@ jobs:
329332
-PtestJavaVersion=${{ matrix.test-java-version }}
330333
-PtestJavaVM=${{ matrix.vm }}
331334
-PtestIndy=${{ matrix.test-indy }}
335+
-PdenyUnsafe=${{ matrix.test-java-version == '25-deny-unsafe' && 'true' || 'false' }}
332336
-Porg.gradle.java.installations.paths=${{ steps.setup-test-java.outputs.path }}
333337
-Porg.gradle.java.installations.auto-download=false
334338
${{ inputs.no-build-cache && ' --no-build-cache' || '' }}
@@ -381,15 +385,15 @@ jobs:
381385
382386
- name: Upload deadlock detector artifacts if any
383387
if: failure()
384-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
388+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
385389
with:
386390
name: deadlock-detector-test-${{ matrix.test-java-version }}-${{ matrix.vm }}-${{ matrix.test-partition }}-indy-${{ matrix.test-indy }}
387391
path: /tmp/deadlock-detector-*
388392
if-no-files-found: ignore
389393

390394
- name: Upload jvm crash dump files if any
391395
if: failure()
392-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
396+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
393397
with:
394398
name: javacore-test-${{ matrix.test-java-version }}-${{ matrix.test-partition }}
395399
path: |
@@ -461,7 +465,7 @@ jobs:
461465

462466
- name: Upload jvm crash dump files if any
463467
if: failure()
464-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
468+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
465469
with:
466470
name: javacore-smoke-test-${{ matrix.smoke-test-suite }}-${{ matrix.os }}
467471
# we expect crash dumps either in root director or in smoke-tests

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
cache-read-only: ${{ github.event_name == 'pull_request' }}
6464

6565
- name: Initialize CodeQL
66-
uses: github/codeql-action/init@16140ae1a102900babc80a33c44059580f687047 # v4.30.9
66+
uses: github/codeql-action/init@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2
6767
with:
6868
languages: ${{ matrix.language }}
6969
# using "linked" helps to keep up with the linked Kotlin support
@@ -84,6 +84,6 @@ jobs:
8484
--no-build-cache --no-daemon
8585
8686
- name: Perform CodeQL analysis
87-
uses: github/codeql-action/analyze@16140ae1a102900babc80a33c44059580f687047 # v4.30.9
87+
uses: github/codeql-action/analyze@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2
8888
with:
8989
category: "/language:${{matrix.language}}"

.github/workflows/ossf-scorecard.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ on:
88
- cron: "43 6 * * 5" # weekly at 06:43 (UTC) on Friday
99
workflow_dispatch:
1010

11-
permissions: read-all
11+
permissions:
12+
contents: read
1213

1314
jobs:
1415
analysis:
@@ -33,7 +34,7 @@ jobs:
3334
# uploads of run results in SARIF format to the repository Actions tab.
3435
# https://docs.github.com/en/actions/advanced-guides/storing-workflow-data-as-artifacts
3536
- name: "Upload artifact"
36-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
37+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
3738
with:
3839
name: SARIF file
3940
path: results.sarif
@@ -42,6 +43,6 @@ jobs:
4243
# Upload the results to GitHub's code scanning dashboard (optional).
4344
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
4445
- name: "Upload to code-scanning"
45-
uses: github/codeql-action/upload-sarif@16140ae1a102900babc80a33c44059580f687047 # v4.30.9
46+
uses: github/codeql-action/upload-sarif@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2
4647
with:
4748
sarif_file: results.sarif

0 commit comments

Comments
 (0)