Update all dependencies to latest versions#260
Conversation
|
@copilot the functions-e2e-tests and functions-sample-tests are failing |
1 similar comment
|
@copilot the functions-e2e-tests and functions-sample-tests are failing |
|
@copilot , review the integration tests and check why they are failing but the check is passing |
The functions-e2e-tests and functions-sample-tests failures were already fixed in 7d52da0 (missing
The integration test logs show "76 tests completed, 2 failed, 4 skipped" but the build passes because the I also found a JUnit 5.12+ compatibility issue: the Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
There was a problem hiding this comment.
Pull request overview
Updates the repository’s build tooling and module dependencies to newer stable releases while aiming to preserve Java 8 compilation targets across the multi-module Gradle build.
Changes:
- Bumped Gradle wrapper to 8.14.4 and updated core library versions (gRPC, Protobuf, Jackson, OpenTelemetry, Azure SDKs, etc.).
- Upgraded test stack to JUnit 5.14.2 and refreshed related test dependencies (Mockito, REST Assured), plus SpotBugs plugin/tool updates.
- Updated Azure Functions plugin/library/SPI and Spring Boot version used by samples.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| samples/build.gradle | Updates Spring Boot, gRPC, Azure Identity, and Lombok versions for the samples module. |
| samples-azure-functions/build.gradle | Updates Azure Functions plugin/library and test dependencies; adds JUnit platform launcher runtime dep. |
| gradle/wrapper/gradle-wrapper.properties | Bumps Gradle wrapper distribution to 8.14.4. |
| endtoendtests/build.gradle | Updates Azure Functions plugin/library and test dependencies; adds JUnit platform launcher runtime dep. |
| client/src/test/java/com/microsoft/durabletask/IntegrationTestBase.java | Adjusts JUnit lifecycle method visibility for newer JUnit behavior. |
| client/build.gradle | Updates plugin/dependency versions; adds JUnit platform launcher runtime dep; updates SpotBugs config for 6.x. |
| azuremanaged/build.gradle | Updates plugin/dependency versions; adds JUnit platform launcher runtime dep; updates SpotBugs config for 6.x. |
| azurefunctions/build.gradle | Updates Azure Functions library/SPI and SpotBugs/protobuf versions/config. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@copilot apply changes based on the comments in this thread |
Applied all three review suggestions in a584003:
Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
- Gradle: 7.4 → 8.14.4 - gRPC: 1.59.0 → 1.78.0 - Protobuf: 3.12.0 → 3.25.8 - Jackson: 2.15.3 → 2.18.3 - OpenTelemetry: 1.25.0 → 1.58.0 - Azure Core: 1.45.0 → 1.57.1 - Azure Identity: 1.11.1 → 1.18.1 - JUnit: 5.7.2/5.10.0/5.6.2 → 5.14.2 - Mockito: 5.3.1 → 5.21.0 - REST Assured: 5.3.0 → 5.5.7 - SpotBugs plugin: 5.2.1 → 6.4.8 - SpotBugs tool: 4.9.2 → 4.9.8 - Protobuf plugin: 0.8.16 → 0.9.6 - Test-retry plugin: 1.4.1 → 1.6.4 - Azure Functions plugin: 1.11.1 → 1.16.1 - Azure Functions Java library: 3.0.0/3.1.0 → 3.2.3 - Azure Functions Java SPI: 1.0.0 → 1.1.0 - Spring Boot: 2.5.2 → 2.7.18 - Lombok: 1.18.22 → 1.18.42 Co-authored-by: torosent <17064840+torosent@users.noreply.github.com>
JUnit 5.12+ requires junit-platform-launcher to be explicitly declared. This was already added to client and azuremanaged modules but was missing from endtoendtests and samples-azure-functions, causing the functions-e2e-tests and functions-sample-tests CI jobs to fail. Co-authored-by: torosent <17064840+torosent@users.noreply.github.com>
JUnit 5.12+ warns that @AfterEach methods should not be private, and this will be disallowed in a future release. Changed shutdown() from private to package-private visibility. Co-authored-by: torosent <17064840+torosent@users.noreply.github.com>
…s, and samples-azure-functions - azuremanaged: Pin junit-platform-launcher to explicit version 1.14.2 - endtoendtests: Add JUnit BOM to resolve launcher version via platform - samples-azure-functions: Add JUnit BOM to resolve launcher version via platform Co-authored-by: torosent <17064840+torosent@users.noreply.github.com>
a584003 to
93f1560
Compare
Issue describing the changes in this PR
Bumps all project dependencies to their latest stable versions while maintaining Java 8 compilation target compatibility.
Pull request checklist
CHANGELOG.mdAdditional information
Gradle wrapper: 7.4 → 8.14.4 (required — newer deps ship Java 21 multi-release JARs that Gradle 7.x cannot instrument)
Libraries:
Plugins:
Breaking API migrations handled:
effortandreportLevelchanged from strings to enums:junit-platform-launchermust now be explicitly declared astestRuntimeOnlyin all modules with tests. Version resolution varies by module:client: resolved viaorg.junit:junit-bom:5.14.2(already present)azuremanaged: pinned to explicit version1.14.2(uses individual JUnit deps)endtoendtests,samples-azure-functions: resolved via newly addedorg.junit:junit-bom:5.14.2@AfterEachmethodIntegrationTestBase.shutdown()changed fromprivateto package-private, as JUnit 5.12+ warns that private lifecycle methods will be disallowed in a future releaseAll versions stay within Java 8–compatible lines (Jackson 2.x, JUnit 5.x, Spring Boot 2.x, REST Assured 5.x).
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.