Skip to content

Commit 504ce8e

Browse files
authored
Merge branch 'main' into remove-thread-name-from-metrics
2 parents adc293b + 56067c4 commit 504ce8e

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ See [CONTRIBUTING.md](CONTRIBUTING.md).
134134
- [Lauri Tulmin](https://github.com/laurit), Splunk
135135
- [Trask Stalnaker](https://github.com/trask), Microsoft
136136

137-
For more information about the maintainer role, see the [community repository](https://github.com/open-telemetry/community/blob/main/community-membership.md#maintainer).
137+
For more information about the maintainer role, see the [community repository](https://github.com/open-telemetry/community/blob/main/guides/contributor/membership.md#maintainer).
138138

139139
### Approvers
140140

@@ -148,7 +148,7 @@ For more information about the maintainer role, see the [community repository](h
148148
- [Steve Rao](https://github.com/steverao), Alibaba
149149
- [Sylvain Juge](https://github.com/SylvainJuge), Elastic
150150

151-
For more information about the approver role, see the [community repository](https://github.com/open-telemetry/community/blob/main/community-membership.md#approver).
151+
For more information about the approver role, see the [community repository](https://github.com/open-telemetry/community/blob/main/guides/contributor/membership.md#approver).
152152

153153
### Emeritus maintainers
154154

conventions/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ dependencies {
6767
implementation("net.bytebuddy:byte-buddy-gradle-plugin:1.17.6")
6868
implementation("gradle.plugin.io.morethan.jmhreport:gradle-jmh-report:0.9.6")
6969
implementation("me.champeau.jmh:jmh-gradle-plugin:0.7.3")
70-
implementation("net.ltgt.gradle:gradle-errorprone-plugin:4.2.0")
70+
implementation("net.ltgt.gradle:gradle-errorprone-plugin:4.3.0")
7171
implementation("net.ltgt.gradle:gradle-nullaway-plugin:2.2.0")
7272
implementation("me.champeau.gradle:japicmp-gradle-plugin:0.4.6")
7373

test-report/src/main/java/io/opentelemetry/instrumentation/testreport/FlakyTestReporter.java

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,8 @@ private void report(String accessKey, String buildScanUrl, String jobUrl) throws
277277
row.add(flakyTest.testName);
278278
row.add(buildScanUrl);
279279
row.add(jobUrl);
280-
row.add(flakyTest.message);
280+
// there is a limit of 50000 characters in a single cell
281+
row.add(abbreviate(flakyTest.message, 10000));
281282
data.add(row);
282283
}
283284

@@ -291,6 +292,14 @@ private void report(String accessKey, String buildScanUrl, String jobUrl) throws
291292
.execute();
292293
}
293294

295+
private static String abbreviate(String text, int maxLength) {
296+
if (text.length() > maxLength) {
297+
return text.substring(0, maxLength - 3) + "...";
298+
}
299+
300+
return text;
301+
}
302+
294303
public static void main(String... args) throws Exception {
295304
String path = System.getProperty("scanPath");
296305
if (path == null) {

0 commit comments

Comments
 (0)