Skip to content

Commit 8a7ef80

Browse files
committed
Merge branch 'main' into grpc-req-res-size
2 parents db98e02 + 38c2b69 commit 8a7ef80

File tree

288 files changed

+8205
-4536
lines changed

Some content is hidden

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

288 files changed

+8205
-4536
lines changed

.github/workflows/documentation-disable-list-audit.yml renamed to .github/workflows/documentation-synchronization-audit.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: opentelemetry.io documentation disable list audit
1+
name: Documentation Synchronization Audit (opentelemetry.io)
22

33
on:
44
schedule:
@@ -11,6 +11,8 @@ permissions:
1111
jobs:
1212
crawl:
1313
runs-on: ubuntu-latest
14+
outputs:
15+
audit-output: ${{ steps.audit.outputs.AUDIT_OUTPUT }}
1416
steps:
1517
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1618

@@ -26,7 +28,20 @@ jobs:
2628
run: ./gradlew :instrumentation-docs:runAnalysis
2729

2830
- name: Run doc site audit
29-
run: ./gradlew :instrumentation-docs:docSiteAudit
31+
id: audit
32+
run: |
33+
if ! output=$(./gradlew :instrumentation-docs:docSiteAudit 2>&1); then
34+
echo "AUDIT_FAILED=true" >> $GITHUB_OUTPUT
35+
echo "AUDIT_OUTPUT<<EOF" >> $GITHUB_OUTPUT
36+
# Extract only the content between our custom markers
37+
echo "$output" | sed -n '/=== AUDIT_FAILURE_START ===/,/=== AUDIT_FAILURE_END ===/p' | \
38+
sed '/=== AUDIT_FAILURE_START ===/d' | \
39+
sed '/=== AUDIT_FAILURE_END ===/d' >> $GITHUB_OUTPUT
40+
echo "EOF" >> $GITHUB_OUTPUT
41+
exit 1
42+
else
43+
echo "AUDIT_FAILED=false" >> $GITHUB_OUTPUT
44+
fi
3045
3146
workflow-notification:
3247
permissions:
@@ -38,3 +53,4 @@ jobs:
3853
uses: ./.github/workflows/reusable-workflow-notification.yml
3954
with:
4055
success: ${{ needs.crawl.result == 'success' }}
56+
failure-details: ${{ needs.crawl.outputs.audit-output }}

.github/workflows/publish-smoke-test-fake-backend-images.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ jobs:
6767
java-version-file: .java-version
6868

6969
- name: Login to GitHub package registry
70-
uses: azure/docker-login@15c4aadf093404726ab2ff205b2cdd33fa6d054c # v2
70+
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
7171
with:
72-
login-server: ghcr.io
72+
registry: ghcr.io
7373
username: ${{ github.repository_owner }}
7474
password: ${{ secrets.GITHUB_TOKEN }}
7575

.github/workflows/release-update-cloudfoundry-index.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,10 @@ jobs:
3131
- name: create working branch
3232
run: git checkout -b otelbot/cloudfoundry-${{ github.run_number }}-${{ github.run_attempt }}
3333

34-
- name: install xq (which is part of yq)
35-
run: |
36-
sudo apt-get install jq python3-pip
37-
pip install yq==3.4.3
38-
3934
- name: update index.yml
4035
run: |
4136
wget https://repo1.maven.org/maven2/io/opentelemetry/javaagent/opentelemetry-javaagent/maven-metadata.xml
42-
xq -r .metadata.versioning.versions.version[] maven-metadata.xml | sed -E 's/(.*)/\1: https:\/\/repo1.maven.org\/maven2\/io\/opentelemetry\/javaagent\/opentelemetry-javaagent\/\1\/opentelemetry-javaagent-\1.jar/' > index.yml
37+
grep -oP '(?<=<version>)[^<]+' maven-metadata.xml | sed -E 's/(.*)/\1: https:\/\/repo1.maven.org\/maven2\/io\/opentelemetry\/javaagent\/opentelemetry-javaagent\/\1\/opentelemetry-javaagent-\1.jar/' > index.yml
4338
4439
- name: display changes
4540
run: git diff

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ jobs:
257257
GH_TOKEN: ${{ steps.otelbot-token.outputs.token }}
258258
run: |
259259
message="Post-release updates for $VERSION"
260-
body="Post-release updates for `$VERSION`."
260+
body="Post-release updates for \`$VERSION\`."
261261
branch="otelbot/update-apidiff-baseline-to-released-version-${VERSION}"
262262
263263
git checkout -b $branch

.github/workflows/reusable-native-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2828
- id: read-java
2929
run: echo "version=$(cat .java-version)" >> "$GITHUB_OUTPUT"
30-
- uses: graalvm/setup-graalvm@7a1da54cb7fdef4ea19f6ecdfa9ecf59dc5a48fe # v1.3.6.1
30+
- uses: graalvm/setup-graalvm@aba6a077d71fbfc02138d7470c4ad6e7f85bd2a9 # v1.3.7.1
3131
with:
3232
version: "latest"
3333
java-version: ${{ matrix.test-java-version }}

.github/workflows/reusable-workflow-notification.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
success:
99
type: boolean
1010
required: true
11+
failure-details:
12+
type: string
13+
required: false
1114

1215
permissions:
1316
contents: read
@@ -31,14 +34,19 @@ jobs:
3134
echo $number
3235
echo ${{ inputs.success }}
3336
37+
# Prepare the issue body with failure details if available
38+
if [[ -n "${{ inputs.failure-details }}" ]]; then
39+
issue_body="See [$GITHUB_WORKFLOW #$GITHUB_RUN_NUMBER](https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID)."$'\n\n'"## Failure Details"$'\n\n'"${{ inputs.failure-details }}"
40+
else
41+
issue_body="See [$GITHUB_WORKFLOW #$GITHUB_RUN_NUMBER](https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID)."
42+
fi
43+
3444
if [[ $number ]]; then
3545
if [[ "${{ inputs.success }}" == "true" ]]; then
3646
gh issue close $number
3747
else
38-
gh issue comment $number \
39-
--body "See [$GITHUB_WORKFLOW #$GITHUB_RUN_NUMBER](https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID)."
48+
gh issue comment $number --body "$issue_body"
4049
fi
4150
elif [[ "${{ inputs.success }}" == "false" ]]; then
42-
gh issue create --title "Workflow failed: $GITHUB_WORKFLOW (#$GITHUB_RUN_NUMBER)" \
43-
--body "See [$GITHUB_WORKFLOW #$GITHUB_RUN_NUMBER](https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID)."
51+
gh issue create --title "Workflow failed: $GITHUB_WORKFLOW (#$GITHUB_RUN_NUMBER)" --body "$issue_body"
4452
fi

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
## Unreleased
44

5+
## Version 2.20.1 (2025-09-22)
6+
7+
### 🛠️ Bug fixes
8+
9+
- Backport: Update the OpenTelemetry SDK version to 1.54.1
10+
([#14720](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14720))
11+
512
## Version 2.20.0 (2025-09-13)
613

714
### Migration notes

benchmark-overhead-jmh/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ otelJava {
1313
}
1414

1515
dependencies {
16-
jmhImplementation("org.springframework.boot:spring-boot-starter-web:3.5.5")
16+
jmhImplementation("org.springframework.boot:spring-boot-starter-web:3.5.6")
1717
}
1818

1919
tasks {

benchmark-overhead/Dockerfile.petclinic

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM eclipse-temurin:11.0.28_6-jdk@sha256:ce8a016736cac5f2664ee47d7628557a00fe37997c49bc3c55802070416d75f2 as app-build
1+
FROM eclipse-temurin:11.0.28_6-jdk@sha256:cbc00ee9dbeb737367035e19e2655529c4cd5e887f33a69a80dd56928f3bef65 as app-build
22

33
# This is the base image that will contain a built version of the spring-petclinic-rest
44
# application. Installing the dependencies and maven compiling the application is time
@@ -13,7 +13,7 @@ RUN git checkout 8aa4d49
1313
RUN ./mvnw package -Dmaven.test.skip=true
1414
RUN cp target/spring-petclinic-rest*.jar /app/spring-petclinic-rest.jar
1515

16-
FROM bellsoft/liberica-openjdk-alpine:21.0.8@sha256:c4052811bba52c7a06ebde235c839108bf723dfab3c65066f61145a252480b16
16+
FROM bellsoft/liberica-openjdk-alpine:25@sha256:2ef36da2e7dbde0730121d6a5d018d318adaecc1a420bd170031c1453dbf4b6d
1717
COPY --from=app-build /app/spring-petclinic-rest.jar /app/spring-petclinic-rest.jar
1818
WORKDIR /app
1919
EXPOSE 9966

benchmark-overhead/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
id("java")
3-
id("com.diffplug.spotless") version "7.2.1"
3+
id("com.diffplug.spotless") version "8.0.0"
44
}
55

66
spotless {

0 commit comments

Comments
 (0)