Skip to content

Commit 154f015

Browse files
authored
Merge branch 'open-telemetry:main' into profiler-old-interval
2 parents 7fe0164 + c89ef28 commit 154f015

File tree

141 files changed

+2492
-2524
lines changed

Some content is hidden

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

141 files changed

+2492
-2524
lines changed

.github/config/lychee.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ max_concurrency = 4
66
# Check link anchors
77
include_fragments = true
88

9+
remap = [
10+
# workaround for https://github.com/lycheeverse/lychee/issues/1729
11+
"https://github.com/(.*?)/(.*?)/blob/(.*?)/(.*#.*)$ https://raw.githubusercontent.com/$1/$2/$3/$4"
12+
]
13+
914
exclude = [
1015
# excluding links to pull requests and issues is done for performance
1116
"^https://github.com/open-telemetry/opentelemetry-java-contrib/(issues|pull)/\\d+$",

.github/renovate.json5

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,17 @@
6868
],
6969
enabled: false,
7070
},
71+
{
72+
// junit 6+ requires Java 17+
73+
matchPackageNames: [
74+
'org.junit:**',
75+
'org.junit.jupiter:**',
76+
],
77+
matchUpdateTypes: [
78+
'major',
79+
],
80+
enabled: false,
81+
},
7182
{
7283
// junit-pioneer 2+ requires Java 11+
7384
matchPackageNames: [
@@ -152,6 +163,18 @@
152163
'com.fasterxml.jackson.core:**',
153164
],
154165
},
166+
{
167+
groupName: 'develocity packages',
168+
matchPackageNames: [
169+
'com.gradle.develocity:**',
170+
],
171+
},
172+
{
173+
groupName: 'bouncycastle packages',
174+
matchPackageNames: [
175+
'org.bouncycastle:**',
176+
],
177+
},
155178
{
156179
// pinned version for compatibility with java 8 JFR parsing
157180
matchUpdateTypes: [

.github/scripts/update-version.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ fi
1010

1111
sed -Ei "s/val stableVersion = \"[^\"]*\"/val stableVersion = \"$version\"/" version.gradle.kts
1212
sed -Ei "s/val alphaVersion = \"[^\"]*\"/val alphaVersion = \"$alpha_version\"/" version.gradle.kts
13+
14+
sed -Ei "1 s/(Comparing source compatibility of [a-z-]+)-[0-9]+\.[0-9]+\.[0-9]+(-SNAPSHOT)?.jar/\1-$version.jar/" docs/apidiffs/current_vs_latest/*.txt

.github/workflows/auto-spotless-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
java-version: 17
2626

2727
- name: Set up gradle
28-
uses: gradle/actions/setup-gradle@ed408507eac070d1f99cc633dbcf757c94c7933a # v4.4.3
28+
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
2929
with:
3030
cache-read-only: true
3131

.github/workflows/build-common.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
java-version: 17
3131

3232
- name: Set up Gradle
33-
uses: gradle/actions/setup-gradle@ed408507eac070d1f99cc633dbcf757c94c7933a # v4.4.3
33+
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
3434
with:
3535
cache-read-only: ${{ inputs.cache-read-only }}
3636

@@ -49,7 +49,7 @@ jobs:
4949
java-version: 17
5050

5151
- name: Set up Gradle
52-
uses: gradle/actions/setup-gradle@ed408507eac070d1f99cc633dbcf757c94c7933a # v4.4.3
52+
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
5353
with:
5454
cache-read-only: ${{ inputs.cache-read-only }}
5555

@@ -86,7 +86,7 @@ jobs:
8686
- 11
8787
- 17
8888
- 21
89-
- 24 # renovate: datasource=java-version
89+
- 25 # renovate: datasource=java-version
9090
steps:
9191
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
9292

@@ -105,7 +105,7 @@ jobs:
105105
java-version: 17
106106

107107
- name: Set up Gradle
108-
uses: gradle/actions/setup-gradle@ed408507eac070d1f99cc633dbcf757c94c7933a # v4.4.3
108+
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
109109
with:
110110
cache-read-only: ${{ inputs.cache-read-only }}
111111

@@ -134,7 +134,7 @@ jobs:
134134
java-version: 17
135135

136136
- name: Set up Gradle
137-
uses: gradle/actions/setup-gradle@ed408507eac070d1f99cc633dbcf757c94c7933a # v4.4.3
137+
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
138138
with:
139139
cache-read-only: ${{ inputs.cache-read-only }}
140140

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
java-version: 17
3434

3535
- name: Set up gradle
36-
uses: gradle/actions/setup-gradle@ed408507eac070d1f99cc633dbcf757c94c7933a # v4.4.3
36+
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
3737

3838
- name: Build and publish snapshots
3939
run: ./gradlew assemble publishToSonatype

.github/workflows/codeql.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ jobs:
4747

4848
- name: Set up gradle
4949
if: matrix.language == 'java'
50-
uses: gradle/actions/setup-gradle@ed408507eac070d1f99cc633dbcf757c94c7933a # v4.4.3
50+
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
5151

5252
- name: Initialize CodeQL
53-
uses: github/codeql-action/init@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3
53+
uses: github/codeql-action/init@f443b600d91635bebf5b0d9ebc620189c0d6fba5 # v4.30.8
5454
with:
5555
languages: ${{ matrix.language }}
5656
# using "linked" helps to keep up with the latest Kotlin support
@@ -65,6 +65,6 @@ jobs:
6565
run: ./gradlew assemble --no-build-cache --no-daemon
6666

6767
- name: Perform CodeQL analysis
68-
uses: github/codeql-action/analyze@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3
68+
uses: github/codeql-action/analyze@f443b600d91635bebf5b0d9ebc620189c0d6fba5 # v4.30.8
6969
with:
7070
category: "/language:${{matrix.language}}"

.github/workflows/copilot-setup-steps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
java-version: 17
2929

3030
- name: Set up gradle
31-
uses: gradle/actions/setup-gradle@ed408507eac070d1f99cc633dbcf757c94c7933a # v4.4.3
31+
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
3232

3333
- name: Build project and download dependencies
3434
run: ./gradlew build -x test

.github/workflows/gradle-wrapper-validation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1919

20-
- uses: gradle/actions/wrapper-validation@ed408507eac070d1f99cc633dbcf757c94c7933a # v4.4.3
20+
- uses: gradle/actions/wrapper-validation@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0

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

Lines changed: 43 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
schedule:
55
# hourly at minute 23
66
- cron: "23 * * * *"
7+
workflow_dispatch:
78

89
permissions:
910
contents: read
@@ -16,21 +17,52 @@ jobs:
1617
pull-requests: write # for actions/stale to close stale PRs
1718
runs-on: ubuntu-latest
1819
steps:
19-
- uses: actions/stale@3a9db7e6a41a89f618792c92c0e97cc736e1b13f # v10.0.0
20+
# Action #1: Handle issues/PRs awaiting author feedback
21+
# - After 7 days inactive: Adds "stale" label + warning comment
22+
# - After 7 more days inactive: Closes
23+
- uses: actions/stale@5f858e3efba33a5ca4407a664cc011ad407f2008 # v10.1.0
2024
with:
21-
repo-token: ${{ secrets.GITHUB_TOKEN }}
25+
only-labels: "needs author feedback"
2226
days-before-stale: 7
2327
days-before-close: 7
24-
only-labels: "needs author feedback"
2528
stale-issue-label: stale
2629
stale-issue-message: >
27-
This has been automatically marked as stale because it has been marked
28-
as needing author feedback and has not had any activity for 7 days.
29-
It will be closed automatically if there is no response from the author
30-
within 7 additional days from this comment.
30+
This issue has been labeled as stale due to lack of activity and needing author feedback.
31+
It will be automatically closed if there is no further activity over the next 7 days.
32+
stale-pr-label: stale
33+
stale-pr-message: >
34+
This PR has been labeled as stale due to lack of activity and needing author feedback.
35+
It will be automatically closed if there is no further activity over the next 7 days.
36+
37+
# Action #2: Close old enhancement requests
38+
# - Targets: Issues with "enhancement" label (but NOT "needs author feedback")
39+
# - After 365 days inactive: Adds "stale" label + closes immediately (no warning period)
40+
# - Skips: Issues with "needs author feedback" to avoid conflicts with Action #1
41+
- uses: actions/stale@5f858e3efba33a5ca4407a664cc011ad407f2008 # v10.1.0
42+
with:
43+
only-labels: "enhancement"
44+
# Skip issues that need author feedback (handled by the first action with 7+7 day policy)
45+
exempt-issue-labels: "needs author feedback"
46+
days-before-pr-stale: -1
47+
days-before-pr-close: -1
48+
days-before-issue-stale: 365
49+
days-before-issue-close: 0
50+
stale-issue-label: stale
51+
close-issue-message: >
52+
Since there has been no activity on this enhancement for the past year we are closing it to help maintain our backlog.
53+
Anyone who would like to work on it is still welcome to do so, and we can re-open it at that time.
54+
55+
# Action #3: Handle stale PRs
56+
# - After 180 days inactive: Adds "stale" label + warning comment
57+
# - After 14 more days inactive: Closes
58+
- uses: actions/stale@5f858e3efba33a5ca4407a664cc011ad407f2008 # v10.1.0
59+
with:
60+
days-before-issue-stale: -1
61+
days-before-issue-close: -1
62+
days-before-pr-stale: 90
63+
days-before-pr-close: 14
3164
stale-pr-label: stale
3265
stale-pr-message: >
33-
This has been automatically marked as stale because it has been marked
34-
as needing author feedback and has not had any activity for 7 days.
35-
It will be closed automatically if there is no response from the author
36-
within 7 additional days from this comment.
66+
This PR has been labeled as stale due to lack of activity.
67+
It will be automatically closed if there is no further activity over the next 14 days.
68+
exempt-draft-pr: false

0 commit comments

Comments
 (0)