Skip to content

Commit 4ad8436

Browse files
authored
Merge branch 'main' into initializer
2 parents f67c9b3 + bc6e193 commit 4ad8436

169 files changed

Lines changed: 991 additions & 759 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/agents/knowledge/gradle-conventions.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,5 +264,8 @@ When already present, verify:
264264
- `collectMetadata` is in `withType<Test>().configureEach` (or `tasks.test` if the module
265265
does not explicitly register additional `Test` tasks — `latestDepTest` does not count) —
266266
never on individual tasks.
267-
- `metadataConfig` is on each non-default task, not on the default `test` task.
267+
- `metadataConfig` is on each non-default task. It may also appear on the default `test`
268+
task when that task itself runs with non-default `jvmArgs` (e.g., an experimental flag
269+
enabled module-wide via `withType<Test>().configureEach { jvmArgs(...) }`); in that case
270+
the `metadataConfig` value should describe those non-default jvmArgs.
268271
- The `metadataConfig` value matches at least one of the jvmArgs configured in the task

.github/agents/knowledge/testing-general-patterns.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@
3737
wrapping when the lambda already needs its own error handling for behavioral reasons.
3838
- Do **not** choose `CompletableFuture.runAsync(...)` over the simpler
3939
`executor.submit(runnable).get()` just to avoid the checked exceptions thrown by `Future.get()`.
40+
- Do **not** wrap a call in `assertThatCode(() -> ...).doesNotThrowAnyException()`
41+
solely to narrow a test method's `throws` clause by swallowing checked exceptions
42+
into an `AssertionError`. If the call throws, the test already fails via its
43+
`throws` clause. Prefer calling the method directly and leaving `throws Exception`
44+
(or the narrowest checked type) on the `@Test` method.
4045

4146
## Test Resource Cleanup
4247

.github/config/latest-dep-versions.json

Lines changed: 53 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"com.google.guava:guava#+": "33.6.0-jre",
4646
"com.google.gwt:gwt-servlet#+": "2.10.0",
4747
"com.google.http-client:google-http-client#+": "2.1.0",
48-
"com.graphql-java:graphql-java#+": "25.0",
48+
"com.graphql-java:graphql-java#+": "26.0",
4949
"com.graphql-java:graphql-java#19.+": "19.11",
5050
"com.h2database:h2#+": "2.4.240",
5151
"com.jfinal:jetty-server#+": "2019.3",
@@ -54,7 +54,7 @@
5454
"com.linecorp.armeria:armeria-grpc#+": "1.38.0",
5555
"com.linecorp.armeria:armeria-junit5#+": "1.38.0",
5656
"com.lmax:disruptor#+": "4.0.0",
57-
"com.mchange:c3p0#+": "0.12.0",
57+
"com.mchange:c3p0#+": "0.13.0",
5858
"com.netflix.hystrix:hystrix-core#+": "1.5.18",
5959
"com.ning:async-http-client#+": "1.9.40",
6060
"com.ning:async-http-client#1.8.+": "1.8.17",
@@ -119,18 +119,18 @@
119119
"commons-httpclient:commons-httpclient#+": "3.1",
120120
"commons-httpclient:commons-httpclient#3.+": "3.1",
121121
"dev.failsafe:failsafe#+": "3.3.2",
122-
"dev.zio:zio-http_2.12#+": "3.10.1",
123-
"dev.zio:zio-http_2.13#+": "3.10.1",
124-
"dev.zio:zio-http_3#+": "3.10.1",
122+
"dev.zio:zio-http_2.12#+": "3.11.0",
123+
"dev.zio:zio-http_2.13#+": "3.11.0",
124+
"dev.zio:zio-http_3#+": "3.11.0",
125125
"dev.zio:zio_2.12#+": "2.1.25",
126126
"dev.zio:zio_2.13#+": "2.1.25",
127127
"dev.zio:zio_3#+": "2.1.25",
128128
"fish.payara.extras:payara-embedded-web#+": "7.2026.4",
129129
"io.activej:activej-http#+": "5.5",
130130
"io.activej:activej-http#6.+": "6.0-rc2",
131131
"io.avaje:avaje-jex#+": "3.5",
132-
"io.awspring.cloud:spring-cloud-aws-sqs#+": "4.0.0",
133-
"io.awspring.cloud:spring-cloud-aws-starter-sqs#+": "4.0.0",
132+
"io.awspring.cloud:spring-cloud-aws-sqs#+": "4.0.1",
133+
"io.awspring.cloud:spring-cloud-aws-starter-sqs#+": "4.0.1",
134134
"io.dropwizard.metrics:metrics-core#+": "4.2.38",
135135
"io.dropwizard:dropwizard-client#+": "5.0.1",
136136
"io.dropwizard:dropwizard-views#+": "5.0.1",
@@ -257,7 +257,7 @@
257257
"org.apache.axis2:axis2-transport-local#1.+": "1.8.2",
258258
"org.apache.camel:camel-aws#2.+": "2.25.4",
259259
"org.apache.camel:camel-cassandraql#2.+": "2.25.4",
260-
"org.apache.camel:camel-core#+": "4.19.0",
260+
"org.apache.camel:camel-core#+": "4.20.0",
261261
"org.apache.camel:camel-core#2.+": "2.25.4",
262262
"org.apache.camel:camel-http-starter#2.+": "2.25.4",
263263
"org.apache.camel:camel-jaxb-starter#2.+": "2.25.4",
@@ -435,51 +435,51 @@
435435
"org.springframework.amqp:spring-rabbit#+": "4.0.3",
436436
"org.springframework.batch:spring-batch-core#+": "6.0.3",
437437
"org.springframework.batch:spring-batch-core#4.+": "4.3.10",
438-
"org.springframework.boot:spring-boot#+": "4.0.5",
438+
"org.springframework.boot:spring-boot#+": "4.0.6",
439439
"org.springframework.boot:spring-boot#2.+": "2.7.18",
440-
"org.springframework.boot:spring-boot-actuator-autoconfigure#+": "4.0.5",
440+
"org.springframework.boot:spring-boot-actuator-autoconfigure#+": "4.0.6",
441441
"org.springframework.boot:spring-boot-autoconfigure#+": "2.7.18",
442442
"org.springframework.boot:spring-boot-autoconfigure#2.+": "2.7.18",
443443
"org.springframework.boot:spring-boot-dependencies#2.+": "2.7.18",
444-
"org.springframework.boot:spring-boot-dependencies#3.+": "3.5.13",
445-
"org.springframework.boot:spring-boot-dependencies#4.+": "4.0.5",
446-
"org.springframework.boot:spring-boot-restclient#+": "4.0.5",
447-
"org.springframework.boot:spring-boot-starter#+": "4.0.5",
444+
"org.springframework.boot:spring-boot-dependencies#3.+": "3.5.14",
445+
"org.springframework.boot:spring-boot-dependencies#4.+": "4.0.6",
446+
"org.springframework.boot:spring-boot-restclient#+": "4.0.6",
447+
"org.springframework.boot:spring-boot-starter#+": "4.0.6",
448448
"org.springframework.boot:spring-boot-starter#2.+": "2.7.18",
449-
"org.springframework.boot:spring-boot-starter#3.+": "3.5.13",
450-
"org.springframework.boot:spring-boot-starter-actuator#+": "4.0.5",
451-
"org.springframework.boot:spring-boot-starter-actuator#3.+": "3.5.13",
452-
"org.springframework.boot:spring-boot-starter-amqp#+": "4.0.5",
453-
"org.springframework.boot:spring-boot-starter-aop#+": "3.5.13",
454-
"org.springframework.boot:spring-boot-starter-data-jdbc#+": "4.0.5",
455-
"org.springframework.boot:spring-boot-starter-data-mongodb#+": "4.0.5",
456-
"org.springframework.boot:spring-boot-starter-data-r2dbc#+": "4.0.5",
457-
"org.springframework.boot:spring-boot-starter-data-r2dbc#3.+": "3.5.13",
458-
"org.springframework.boot:spring-boot-starter-jdbc#+": "4.0.5",
459-
"org.springframework.boot:spring-boot-starter-jdbc#3.+": "3.5.13",
460-
"org.springframework.boot:spring-boot-starter-kafka#+": "4.0.5",
461-
"org.springframework.boot:spring-boot-starter-micrometer-metrics#+": "4.0.5",
462-
"org.springframework.boot:spring-boot-starter-pulsar#+": "4.0.5",
463-
"org.springframework.boot:spring-boot-starter-reactor-netty#+": "4.0.5",
464-
"org.springframework.boot:spring-boot-starter-reactor-netty#3.+": "3.5.13",
465-
"org.springframework.boot:spring-boot-starter-security#+": "4.0.5",
449+
"org.springframework.boot:spring-boot-starter#3.+": "3.5.14",
450+
"org.springframework.boot:spring-boot-starter-actuator#+": "4.0.6",
451+
"org.springframework.boot:spring-boot-starter-actuator#3.+": "3.5.14",
452+
"org.springframework.boot:spring-boot-starter-amqp#+": "4.0.6",
453+
"org.springframework.boot:spring-boot-starter-aop#+": "3.5.14",
454+
"org.springframework.boot:spring-boot-starter-data-jdbc#+": "4.0.6",
455+
"org.springframework.boot:spring-boot-starter-data-mongodb#+": "4.0.6",
456+
"org.springframework.boot:spring-boot-starter-data-r2dbc#+": "4.0.6",
457+
"org.springframework.boot:spring-boot-starter-data-r2dbc#3.+": "3.5.14",
458+
"org.springframework.boot:spring-boot-starter-jdbc#+": "4.0.6",
459+
"org.springframework.boot:spring-boot-starter-jdbc#3.+": "3.5.14",
460+
"org.springframework.boot:spring-boot-starter-kafka#+": "4.0.6",
461+
"org.springframework.boot:spring-boot-starter-micrometer-metrics#+": "4.0.6",
462+
"org.springframework.boot:spring-boot-starter-pulsar#+": "4.0.6",
463+
"org.springframework.boot:spring-boot-starter-reactor-netty#+": "4.0.6",
464+
"org.springframework.boot:spring-boot-starter-reactor-netty#3.+": "3.5.14",
465+
"org.springframework.boot:spring-boot-starter-security#+": "4.0.6",
466466
"org.springframework.boot:spring-boot-starter-security#2.+": "2.7.18",
467-
"org.springframework.boot:spring-boot-starter-test#+": "4.0.5",
467+
"org.springframework.boot:spring-boot-starter-test#+": "4.0.6",
468468
"org.springframework.boot:spring-boot-starter-test#2.+": "2.7.18",
469469
"org.springframework.boot:spring-boot-starter-test#2.1.+": "2.1.18.RELEASE",
470-
"org.springframework.boot:spring-boot-starter-test#3.+": "3.5.13",
470+
"org.springframework.boot:spring-boot-starter-test#3.+": "3.5.14",
471471
"org.springframework.boot:spring-boot-starter-test#3.3.+": "3.3.13",
472472
"org.springframework.boot:spring-boot-starter-tomcat#+": "2.7.18",
473473
"org.springframework.boot:spring-boot-starter-tomcat#2.+": "2.7.18",
474-
"org.springframework.boot:spring-boot-starter-web#+": "4.0.5",
474+
"org.springframework.boot:spring-boot-starter-web#+": "4.0.6",
475475
"org.springframework.boot:spring-boot-starter-web#2.+": "2.7.18",
476-
"org.springframework.boot:spring-boot-starter-web#3.+": "3.5.13",
476+
"org.springframework.boot:spring-boot-starter-web#3.+": "3.5.14",
477477
"org.springframework.boot:spring-boot-starter-web-services#+": "2.7.18",
478478
"org.springframework.boot:spring-boot-starter-web-services#2.+": "2.7.18",
479-
"org.springframework.boot:spring-boot-starter-webflux#+": "4.0.5",
480-
"org.springframework.boot:spring-boot-starter-webflux#3.+": "3.5.13",
481-
"org.springframework.boot:spring-boot-webclient#+": "4.0.5",
482-
"org.springframework.boot:spring-boot-webflux#+": "4.0.5",
479+
"org.springframework.boot:spring-boot-starter-webflux#+": "4.0.6",
480+
"org.springframework.boot:spring-boot-starter-webflux#3.+": "3.5.14",
481+
"org.springframework.boot:spring-boot-webclient#+": "4.0.6",
482+
"org.springframework.boot:spring-boot-webflux#+": "4.0.6",
483483
"org.springframework.cloud:spring-cloud-starter-gateway#+": "4.3.4",
484484
"org.springframework.cloud:spring-cloud-starter-gateway#2.1.+": "2.1.5.RELEASE",
485485
"org.springframework.cloud:spring-cloud-starter-gateway-server-webflux#+": "5.0.1",
@@ -527,20 +527,20 @@
527527
"redis.clients:jedis#2.+": "2.10.2",
528528
"redis.clients:jedis#3.+": "3.10.0",
529529
"software.amazon.awssdk.crt:aws-crt#+": "0.45.1",
530-
"software.amazon.awssdk:aws-core#+": "2.42.38",
531-
"software.amazon.awssdk:aws-json-protocol#+": "2.42.38",
532-
"software.amazon.awssdk:bedrockruntime#+": "2.42.38",
533-
"software.amazon.awssdk:dynamodb#+": "2.42.38",
534-
"software.amazon.awssdk:ec2#+": "2.42.38",
535-
"software.amazon.awssdk:kinesis#+": "2.42.38",
536-
"software.amazon.awssdk:lambda#+": "2.42.38",
537-
"software.amazon.awssdk:rds#+": "2.42.38",
538-
"software.amazon.awssdk:s3#+": "2.42.38",
539-
"software.amazon.awssdk:secretsmanager#+": "2.42.38",
540-
"software.amazon.awssdk:ses#+": "2.42.38",
541-
"software.amazon.awssdk:sfn#+": "2.42.38",
542-
"software.amazon.awssdk:sns#+": "2.42.38",
543-
"software.amazon.awssdk:sqs#+": "2.42.38",
530+
"software.amazon.awssdk:aws-core#+": "2.42.41",
531+
"software.amazon.awssdk:aws-json-protocol#+": "2.42.41",
532+
"software.amazon.awssdk:bedrockruntime#+": "2.42.41",
533+
"software.amazon.awssdk:dynamodb#+": "2.42.41",
534+
"software.amazon.awssdk:ec2#+": "2.42.41",
535+
"software.amazon.awssdk:kinesis#+": "2.42.41",
536+
"software.amazon.awssdk:lambda#+": "2.42.41",
537+
"software.amazon.awssdk:rds#+": "2.42.41",
538+
"software.amazon.awssdk:s3#+": "2.42.41",
539+
"software.amazon.awssdk:secretsmanager#+": "2.42.41",
540+
"software.amazon.awssdk:ses#+": "2.42.41",
541+
"software.amazon.awssdk:sfn#+": "2.42.41",
542+
"software.amazon.awssdk:sns#+": "2.42.41",
543+
"software.amazon.awssdk:sqs#+": "2.42.41",
544544
"tech.powerjob:powerjob-official-processors#+": "5.1.2",
545545
"tech.powerjob:powerjob-worker#+": "5.1.2"
546546
}

.github/scripts/rerun-flaky-pr-jobs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
from pathlib import Path
1717

1818
LOOKBACK_HOURS = 2
19-
MAX_FAILED_JOBS_PER_WORKFLOW_RUN = 2
19+
MAX_FAILED_JOBS_PER_WORKFLOW_RUN = 5
2020
MAX_RERUN_ATTEMPTS = 2
2121

2222

@@ -36,7 +36,7 @@ def main() -> None:
3636
continue
3737

3838
rerun_attempts = run["run_attempt"] - 1
39-
if rerun_attempts > MAX_RERUN_ATTEMPTS:
39+
if rerun_attempts >= MAX_RERUN_ATTEMPTS:
4040
processed_runs.append(
4141
f"Skipped {format_run(run)}: already rerun {rerun_attempts} times."
4242
)

.github/workflows/code-review-sweep.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
outputs:
2626
modules: ${{ steps.build-matrix.outputs.modules }}
2727
has_work: ${{ steps.build-matrix.outputs.has_work }}
28+
model: ${{ steps.model.outputs.model }}
2829
steps:
2930
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3031
with:
@@ -33,6 +34,12 @@ jobs:
3334
- name: Fetch progress branch
3435
run: git fetch origin otelbot/code-review-progress || true
3536

37+
- name: Resolve Copilot model
38+
id: model
39+
run: |
40+
model=$(git show origin/otelbot/code-review-progress:model.txt | xargs)
41+
echo "model=$model" >> "$GITHUB_OUTPUT"
42+
3643
- name: Build review matrix
3744
id: build-matrix
3845
env:
@@ -58,7 +65,7 @@ jobs:
5865
contents: write # for git push
5966
env:
6067
MODULES_JSON: ${{ needs.dispatch.outputs.modules }}
61-
MODEL: "gpt-5.4"
68+
MODEL: ${{ needs.dispatch.outputs.model }}
6269
# Stop processing further modules once at least this many files have been
6370
# modified (vs origin/main) at the end of a module.
6471
FILE_THRESHOLD: 10

conventions/src/main/kotlin/otel.animalsniffer-conventions.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins {
77
}
88

99
dependencies {
10-
add("signature", "com.toasttab.android:gummy-bears-api-23:0.13.0:coreLib@signature")
10+
add("signature", "com.toasttab.android:gummy-bears-api-23:0.14.0:coreLib2@signature")
1111
}
1212

1313
animalsniffer {

0 commit comments

Comments
 (0)