Skip to content

Commit 0d24efe

Browse files
authored
Merge branch 'main' into state-metrics-semconv
2 parents a916e12 + 39137d1 commit 0d24efe

File tree

451 files changed

+9338
-7200
lines changed

Some content is hidden

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

451 files changed

+9338
-7200
lines changed

.fossa.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,9 @@ targets:
388388
- type: gradle
389389
path: ./
390390
target: ':instrumentation:azure-core:azure-core-1.36:javaagent'
391+
- type: gradle
392+
path: ./
393+
target: ':instrumentation:azure-core:azure-core-1.53:javaagent'
391394
- type: gradle
392395
path: ./
393396
target: ':instrumentation:cassandra:cassandra-3.0:javaagent'

.github/renovate.json5

Lines changed: 0 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: [

.github/repository-settings.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ private admin repo.
88

99
### Repository secrets
1010

11+
- `FLAKY_TEST_REPORTER_ACCESS_KEY` - owned by [@laurit](https://github.com/laurit)
1112
- `GPG_PASSWORD` - stored in OpenTelemetry-Java 1Password
1213
- `GPG_PRIVATE_KEY` - stored in OpenTelemetry-Java 1Password
1314
- `GRADLE_PUBLISH_KEY`
@@ -17,14 +18,13 @@ private admin repo.
1718
- Key is associated with [@trask](https://github.com/trask)'s gmail address
1819
- `SONATYPE_KEY` - owned by [@trask](https://github.com/trask)
1920
- `SONATYPE_USER` - owned by [@trask](https://github.com/trask)
20-
- `FLAKY_TEST_REPORTER_ACCESS_KEY` - owned by [@laurit](https://github.com/laurit)
2121

2222
### Organization secrets
2323

24-
- `DEVELOCITY_ACCESS_KEY`
24+
- `DEVELOCITY_ACCESS_KEY` (scoped only to Java repos)
2525
- `FOSSA_API_KEY`
26+
- `OTELBOT_JAVA_INSTRUMENTATION_PRIVATE_KEY` (scoped only to this repo)
2627
- `OTELBOT_PRIVATE_KEY`
27-
- `OTELBOT_JAVA_INSTRUMENTATION_PRIVATE_KEY`
2828

2929
### Organization variables
3030

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ permissions:
1414

1515
jobs:
1616
check:
17+
if: ${{ github.event.pull_request.draft == false }}
1718
runs-on: ubuntu-latest
1819
steps:
1920
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
@@ -51,7 +52,7 @@ jobs:
5152
5253
- name: Upload patch file
5354
if: steps.create-patch.outputs.exists == 'true'
54-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
55+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
5556
with:
5657
path: patch
5758
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/build-pull-request.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ name: Build pull request
33
on:
44
pull_request:
55
types:
6-
- labeled
76
- opened
87
- synchronize
98
- reopened
9+
# called from rebuild-pull-request-on-label.yml
10+
workflow_call:
1011

1112
concurrency:
1213
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}

.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@4e94bd11f71e507f7f87df81788dff88d1dacbfb # v4.31.0
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@4e94bd11f71e507f7f87df81788dff88d1dacbfb # v4.31.0
8888
with:
8989
category: "/language:${{matrix.language}}"

.github/workflows/metadata-update.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,7 @@ jobs:
7070
run: |
7171
BRANCH_NAME="otelbot/metadata-update-main"
7272
echo "branch=$BRANCH_NAME" >> $GITHUB_OUTPUT
73-
if git ls-remote --exit-code --heads origin "$BRANCH_NAME"; then
74-
git fetch origin "$BRANCH_NAME"
75-
git checkout "$BRANCH_NAME"
76-
git merge origin/main --no-edit
77-
else
78-
git checkout -b "$BRANCH_NAME" origin/main
79-
fi
73+
git checkout -B "$BRANCH_NAME"
8074
8175
- name: Commit and push changes
8276
if: steps.diffcheck.outputs.has_diff == 'true'
@@ -85,7 +79,7 @@ jobs:
8579
run: |
8680
BRANCH_NAME="${{ steps.findbranch.outputs.branch }}"
8781
git commit -m "chore: update instrumentation list [automated]" || echo "No changes to commit."
88-
git push origin "$BRANCH_NAME"
82+
git push --force origin "$BRANCH_NAME"
8983
9084
- name: Create PR if needed
9185
if: steps.diffcheck.outputs.has_diff == 'true'
@@ -119,3 +113,14 @@ jobs:
119113
else
120114
echo "No open PR found for branch $BRANCH_NAME."
121115
fi
116+
117+
workflow-notification:
118+
permissions:
119+
contents: read
120+
issues: write
121+
needs:
122+
- update
123+
if: always()
124+
uses: ./.github/workflows/reusable-workflow-notification.yml
125+
with:
126+
success: ${{ needs.update.result == 'success' }}

0 commit comments

Comments
 (0)