Skip to content

Commit 1d20775

Browse files
authored
Merge branch 'main' into close-bridged-instruments
2 parents 4064745 + a6b1096 commit 1d20775

260 files changed

Lines changed: 3756 additions & 1825 deletions

File tree

Some content is hidden

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

.fossa.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,6 @@ targets:
178178
- type: gradle
179179
path: ./
180180
target: ':instrumentation:java-util-logging:javaagent'
181-
- type: gradle
182-
path: ./
183-
target: ':instrumentation:javalin-5.0:javaagent'
184181
- type: gradle
185182
path: ./
186183
target: ':instrumentation:jaxrs-client:jaxrs-client-1.1-testing'
@@ -541,6 +538,12 @@ targets:
541538
- type: gradle
542539
path: ./
543540
target: ':instrumentation:internal:internal-url-class-loader:javaagent'
541+
- type: gradle
542+
path: ./
543+
target: ':instrumentation:javalin:javalin-5.0:javaagent'
544+
- type: gradle
545+
path: ./
546+
target: ':instrumentation:javalin:javalin-7.0:javaagent'
544547
- type: gradle
545548
path: ./
546549
target: ':instrumentation:jaxrs:jaxrs-1.0:javaagent'
@@ -925,9 +928,6 @@ targets:
925928
- type: gradle
926929
path: ./
927930
target: ':instrumentation:rxjava:rxjava-2.0:library'
928-
- type: gradle
929-
path: ./
930-
target: ':instrumentation:rxjava:rxjava-3-common:library'
931931
- type: gradle
932932
path: ./
933933
target: ':instrumentation:rxjava:rxjava-3.0:javaagent'
@@ -940,6 +940,9 @@ targets:
940940
- type: gradle
941941
path: ./
942942
target: ':instrumentation:rxjava:rxjava-3.1.1:library'
943+
- type: gradle
944+
path: ./
945+
target: ':instrumentation:rxjava:rxjava-common-3.0:library'
943946
- type: gradle
944947
path: ./
945948
target: ':instrumentation:servlet:servlet-2.2:javaagent'

.github/config/lychee.toml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,20 @@ max_concurrency = 4
1010
include_fragments = true
1111

1212
remap = [
13-
# workaround for https://github.com/lycheeverse/lychee/issues/1729
14-
"https://github.com/(.*?)/(.*?)/blob/(.*?)/(.*#.*)$ https://raw.githubusercontent.com/$1/$2/$3/$4",
1513
"https://docs.oracle.com/(.*)#.*$ https://docs.oracle.com/$1"
1614
]
1715

1816
# excluding links to pull requests and issues is done for performance
1917
# stackexchange link fails with 403 when accessed by lychee
2018
exclude = [
21-
# workaround for https://github.com/lycheeverse/lychee/issues/1729
22-
'^https://github.com/.*#issuecomment-.*$',
2319
'^https://github.com/open-telemetry/opentelemetry-java-instrumentation/(issues|pull)/\d+$',
2420
'^http://code.google.com/p/concurrentlinkedhashmap$',
2521
'^https://softwareengineering.stackexchange.com/questions/29727.*',
2622
'^https://central.sonatype.com/service/rest/repository/browse/maven-snapshots/io/opentelemetry/$',
2723
# new artifact, remove after 2.21.0 release
2824
'^https://central.sonatype.com/artifact/io.opentelemetry.instrumentation/opentelemetry-helidon-4.3$',
29-
# flaky link
25+
# flaky links
3026
'^http://www.slf4j.org.*',
31-
'^https://logback.qos.ch/.*'
27+
'^https://logback.qos.ch/.*',
28+
'^https://vaadin.com/$'
3229
]

.github/prompts/fix-pr-ci-failures.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Do not stop a given execution until you have worked through all phases below.
8282
- **Test locally before committing**:
8383
- For markdown lint failures: `mise run lint:markdown`
8484
- For compilation errors: `./gradlew <failed-task-path>`
85-
- For test failures: `./gradlew <failed-test-task>`
85+
- For test failures: Run the whole module's test task (e.g., `./gradlew :instrumentation:module-name:javaagent:test`) instead of just the individual failing test, as there are often other tests in the module that also need to be fixed
8686
- Verify the fix resolves the issue
8787
- Update the checkbox in CI-PLAN.md
8888
- Commit each logical fix as a separate commit

.github/renovate.json5

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,17 @@
352352
},
353353
],
354354
customManagers: [
355+
{
356+
// keep SHA-pinned raw.githubusercontent.com URLs in mise.toml up to date
357+
customType: 'regex',
358+
datasourceTemplate: 'github-tags',
359+
managerFilePatterns: [
360+
'/^mise\\.toml$/',
361+
],
362+
matchStrings: [
363+
'https://raw\\.githubusercontent\\.com/(?<depName>[^/]+/[^/]+)/(?<currentDigest>[a-f0-9]{40})/.*#\\s*(?<currentValue>v\\S+)',
364+
],
365+
},
355366
{
356367
customType: 'regex',
357368
datasourceTemplate: 'java-version',

.github/scripts/check-package-names.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ for dir in $(find instrumentation -name "*.java" | grep library/src/main/java |
2525
if [[ "$module_name" == "graphql-java-common" ]]; then
2626
continue
2727
fi
28-
if [[ "$module_name" == "rxjava-3-common" ]]; then
29-
continue
30-
fi
3128
if [[ "$module_name" == "servlet-javax-common" ]]; then
3229
continue
3330
fi

.github/workflows/build-common.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ jobs:
248248
- 21
249249
- 25 # renovate(java-version)
250250
- 25-deny-unsafe
251+
- 26-ea
251252
vm:
252253
- hotspot
253254
- openj9
@@ -263,6 +264,8 @@ jobs:
263264
- vm: ${{ inputs.skip-openj9-tests && 'openj9' || '' }}
264265
- test-java-version: 25-deny-unsafe
265266
vm: openj9
267+
- test-java-version: 26-ea
268+
vm: openj9
266269
fail-fast: false
267270
steps:
268271
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

.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@9e907b5e64f6b83e7804b09294d44122997950d6 # v4.32.3
66+
uses: github/codeql-action/init@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4.32.4
6767
with:
6868
languages: ${{ matrix.language }}
6969
# using "linked" helps to keep up with the linked Kotlin support
@@ -85,6 +85,6 @@ jobs:
8585
--no-build-cache --no-daemon
8686
8787
- name: Perform CodeQL analysis
88-
uses: github/codeql-action/analyze@9e907b5e64f6b83e7804b09294d44122997950d6 # v4.32.3
88+
uses: github/codeql-action/analyze@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4.32.4
8989
with:
9090
category: "/language:${{matrix.language}}"

.github/workflows/dependency-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ jobs:
1919
- name: 'Checkout Repository'
2020
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2121
- name: 'Dependency Review'
22-
uses: actions/dependency-review-action@3c4e3dcb1aa7874d2c16be7d79418e9b7efd6261 # v4.8.2
22+
uses: actions/dependency-review-action@05fe4576374b728f0c523d6a13d64c25081e0803 # v4.8.3

.github/workflows/issue-management-stale-action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
# Action #1: Handle issues/PRs awaiting author feedback
2222
# - After 7 days inactive: Adds "stale" label + warning comment
2323
# - After 7 more days inactive: Closes
24-
- uses: actions/stale@997185467fa4f803885201cee163a9f38240193d # v10.1.1
24+
- uses: actions/stale@b5d41d4e1d5dceea10e7104786b73624c18a190f # v10.2.0
2525
with:
2626
only-labels: "needs author feedback"
2727
days-before-stale: 7
@@ -40,7 +40,7 @@ jobs:
4040
# - Targets: Issues with "enhancement" label (but NOT "needs author feedback")
4141
# - After 365 days inactive: Adds "stale" label + closes immediately (no warning period)
4242
# - Skips: Issues with "needs author feedback" to avoid conflicts with Action #1
43-
- uses: actions/stale@997185467fa4f803885201cee163a9f38240193d # v10.1.1
43+
- uses: actions/stale@b5d41d4e1d5dceea10e7104786b73624c18a190f # v10.2.0
4444
with:
4545
only-labels: "enhancement"
4646
# Skip issues that need author feedback (handled by the first action with 7+7 day policy)
@@ -58,7 +58,7 @@ jobs:
5858
# Action #3: Handle stale PRs
5959
# - After 90 days inactive: Adds "stale" label + warning comment
6060
# - After 14 more days inactive: Closes
61-
- uses: actions/stale@997185467fa4f803885201cee163a9f38240193d # v10.1.1
61+
- uses: actions/stale@b5d41d4e1d5dceea10e7104786b73624c18a190f # v10.2.0
6262
with:
6363
days-before-issue-stale: -1
6464
days-before-issue-close: -1

.github/workflows/metadata-update.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ jobs:
8383
8484
- name: Commit and push changes
8585
if: steps.diffcheck.outputs.has_diff == 'true'
86+
env:
87+
GH_TOKEN: ${{ steps.otelbot-token.outputs.token }}
8688
run: |
8789
BRANCH_NAME="${{ steps.findbranch.outputs.branch }}"
8890
git commit -m "chore: update instrumentation list [automated]" || echo "No changes to commit."

0 commit comments

Comments
 (0)