Skip to content

Commit c7bf832

Browse files
committed
merge main
2 parents f2b74aa + 11455c9 commit c7bf832

137 files changed

Lines changed: 1849 additions & 837 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.

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ body:
1414
- aws-xray-propagator
1515
- consistent-sampling
1616
- disk-buffering
17+
- dynamic-control
1718
- gcp-auth-extension
1819
- gcp-resources
1920
- ibm-mq-metrics

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ body:
1414
- aws-xray-propagator
1515
- consistent-sampling
1616
- disk-buffering
17+
- dynamic-control
1718
- gcp-auth-extension
1819
- gcp-resources
1920
- ibm-mq-metrics

.github/component_owners.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,6 @@ components:
9898
ibm-mq-metrics:
9999
- breedx-splk
100100
- atoulme
101+
dynamic-control:
102+
- jackshirazi
103+
- LikeTheSalad
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md
2+
# and https://github.com/DavidAnson/markdownlint-cli2
3+
4+
config:
5+
ul-style: false
6+
line-length: false
7+
no-duplicate-heading:
8+
siblings_only: true
9+
ol-prefix:
10+
style: ordered
11+
no-inline-html: false
12+
fenced-code-language: false
13+
no-trailing-punctuation:
14+
punctuation: ".,;:" # allowing exclamation points and question marks at end of sentences
15+
16+
ignores:
17+
- "**/build/**"
18+
- "**/node_modules/**"
19+
- "CHANGELOG.md"
20+
- "ibm-mq-metrics/docs/metrics.md"
21+
- ".github/pull_request_template.md"

.github/copilot-instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@ When implementing changes or new features:
6363
1. Follow all [Style Guide](../docs/style-guide.md) conventions and the Code Review Priorities above
6464
2. Run tests to ensure they still pass (use `./gradlew test` and `./gradlew integrationTest` as needed)
6565
3. **Always run `./gradlew spotlessApply`** after making code changes to ensure proper formatting
66-
4. Run markdown lint to ensure it still passes: `npx markdownlint-cli@0.45.0 -c .github/config/markdownlint.yml **/*.md`
66+
4. Run markdown lint to ensure it still passes: `mise run lint:markdown`

.github/renovate.json5

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
extends: [
44
'config:best-practices',
55
'helpers:pinGitHubActionDigestsToSemver',
6+
'customManagers:githubActionsVersions',
67
],
78
ignorePaths: [], // overwrite default ignore which includes **/test/**
89
// used to update docker image versions used in Java test files
@@ -52,6 +53,7 @@
5253
// major.minor.patch, under the assumption that you would want to update to the stable version
5354
// of that release instead of the unstable version for a future release
5455
ignoreUnstable: false,
56+
allowedVersions: '!/\\-SNAPSHOT$/',
5557
},
5658
{
5759
// prevent 3.0.1u2 -> 3.0.1
@@ -62,6 +64,9 @@
6264
},
6365
{
6466
// disruptor 4+ requires Java 11+
67+
matchFileNames: [
68+
'inferred-spans/build.gradle.kts',
69+
],
6570
matchPackageNames: [
6671
'com.lmax:disruptor',
6772
],
@@ -83,6 +88,9 @@
8388
},
8489
{
8590
// caffeine 3+ requires Java 11+
91+
matchFileNames: [
92+
'aws-xray/build.gradle.kts',
93+
],
8694
matchPackageNames: [
8795
'com.github.ben-manes.caffeine:caffeine',
8896
],
@@ -113,6 +121,9 @@
113121
},
114122
{
115123
// agrona 1.23+ requires Java 17+
124+
matchFileNames: [
125+
'inferred-spans/build.gradle.kts',
126+
],
116127
matchPackageNames: [
117128
'org.agrona:agrona',
118129
],
@@ -135,6 +146,9 @@
135146
},
136147
{
137148
// pinned version for compatibility
149+
matchFileNames: [
150+
'micrometer-meter-provider/build.gradle.kts',
151+
],
138152
matchPackageNames: [
139153
'io.micrometer:micrometer-core',
140154
],
@@ -143,6 +157,9 @@
143157
},
144158
{
145159
// pinned version for compatibility
160+
matchFileNames: [
161+
'maven-extension/build.gradle.kts',
162+
],
146163
matchCurrentVersion: '3.5.0',
147164
enabled: false,
148165
matchPackageNames: [
@@ -189,6 +206,9 @@
189206
},
190207
{
191208
// pinned version for compatibility with java 8 JFR parsing
209+
matchFileNames: [
210+
'jfr-connection/build.gradle.kts',
211+
],
192212
matchUpdateTypes: [
193213
'major',
194214
],
@@ -240,7 +260,7 @@
240260
'.github/workflows/**',
241261
],
242262
matchStrings: [
243-
'(?<currentValue>\\d+) # renovate: datasource=java-version',
263+
'(?<currentValue>\\d+) # renovate\\(java-version\\)',
244264
],
245265
depNameTemplate: 'java',
246266
extractVersionTemplate: '^(?<version>\\d+)',
@@ -252,8 +272,9 @@
252272
'**/build.gradle.kts',
253273
],
254274
matchStrings: [
255-
'"https://github.com/(?<depName>[^/]+/[^/]+)/zipball/(?<currentValue>.+?)"',
275+
'"(?<currentValue>.+?)" // renovate\\(github-releases\\): (?<depName>[^\\s]+)',
256276
],
277+
versioningTemplate: 'semver',
257278
},
258279
{
259280
customType: 'regex',

.github/repository-settings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ private admin repo.
2323
- `GPG_PASSWORD` - stored in OpenTelemetry-Java 1Password
2424
- `GPG_PRIVATE_KEY` - stored in OpenTelemetry-Java 1Password
2525
- `NVD_API_KEY` - stored in OpenTelemetry-Java 1Password
26-
- Generated at https://nvd.nist.gov/developers/request-an-api-key
26+
- Generated at <https://nvd.nist.gov/developers/request-an-api-key>
2727
- Key is associated with [@trask](https://github.com/trask)'s gmail address
2828
- `SONATYPE_KEY` - owned by [@trask](https://github.com/trask)
2929
- `SONATYPE_USER` - owned by [@trask](https://github.com/trask)
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
const fs = require('fs');
2+
const { parse } = require('yaml');
3+
const { Octokit } = require('@octokit/rest');
4+
5+
async function main() {
6+
// Get inputs from environment
7+
const token = process.env.GITHUB_TOKEN;
8+
const labelName = process.env.LABEL_NAME;
9+
const issueNumber = parseInt(process.env.ISSUE_NUMBER);
10+
const owner = process.env.REPO_OWNER;
11+
const repo = process.env.REPO_NAME;
12+
13+
if (!labelName.startsWith('component:')) {
14+
console.error('Label does not match expected pattern');
15+
process.exit(1);
16+
}
17+
18+
const componentName = labelName.replace('component:', '');
19+
console.log(`Processing component: ${componentName}`);
20+
21+
// Read and parse component_owners.yml
22+
const yamlContent = fs.readFileSync('.github/component_owners.yml', 'utf8');
23+
const data = parse(yamlContent);
24+
25+
if (!data || !data.components) {
26+
console.error('Invalid component_owners.yml structure');
27+
process.exit(1);
28+
}
29+
30+
const components = data.components;
31+
32+
if (!(componentName in components)) {
33+
console.error(`Component '${componentName}' not found in component_owners.yml`);
34+
process.exit(1);
35+
}
36+
37+
const owners = components[componentName];
38+
39+
if (!owners || owners.length === 0) {
40+
console.error(`No owners found for component '${componentName}'`);
41+
process.exit(1);
42+
}
43+
44+
console.log(`Found owners: ${owners.join(', ')}`);
45+
46+
// Assign the issue to the owners
47+
const octokit = new Octokit({ auth: token });
48+
49+
await octokit.rest.issues.addAssignees({
50+
owner,
51+
repo,
52+
issue_number: issueNumber,
53+
assignees: owners
54+
});
55+
56+
console.log(`Successfully assigned issue #${issueNumber} to ${owners.join(', ')}`);
57+
}
58+
59+
main().catch(error => {
60+
console.error(error);
61+
process.exit(1);
62+
});

.github/scripts/draft-change-log-entries.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
#!/bin/bash -e
1+
#!/usr/bin/env bash
2+
3+
set -e
24

35
version=$("$(dirname "$0")/get-version.sh")
46

.github/scripts/generate-release-contributors.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
#!/bin/bash -e
22

3-
# shellcheck disable=SC2016
4-
# shellcheck disable=SC2086
5-
63
# this should be run on the release branch
74

85
# NOTE if you need to run this script locally, you will need to first:
@@ -72,7 +69,7 @@ query($q: String!, $endCursor: String) {
7269
}
7370
}
7471
' --jq '.data.search.edges.[].node.body' \
75-
| grep -oE "#[0-9]{3,}$|#[0-9]{3,}[^0-9<]|$GITHUB_REPOSITORY/issues/[0-9]{3,}" \
72+
| grep -oE "#[0-9]{3,}$|#[0-9]{3,}[^0-9<&#;]|$GITHUB_REPOSITORY/issues/[0-9]{3,}" \
7673
| grep -oE "[0-9]{3,}" \
7774
| xargs -I{} gh issue view {} --json 'author,url' --jq '[.author.login,.url]' \
7875
| grep -v '/pull/' \
@@ -83,8 +80,11 @@ query($q: String!, $endCursor: String) {
8380
echo $contributors1 $contributors2 \
8481
| sed 's/ /\n/g' \
8582
| sort -uf \
86-
| grep -v linux-foundation-easycla \
83+
| grep -v copilot-pull-request-reviewer \
84+
| grep -v copilot-swe-agent \
8785
| grep -v github-actions \
86+
| grep -v github-advanced-security \
87+
| grep -v linux-foundation-easycla \
8888
| grep -v renovate \
8989
| grep -v otelbot \
9090
| sed 's/^/@/'

0 commit comments

Comments
 (0)